|
Open CASCADE Technology
6.5.4
|
Fixing shape in general
#include <ShapeFix_Shape.hxx>

Public Member Functions | |
| ShapeFix_Shape () | |
| Empty Constructor | |
| ShapeFix_Shape (const TopoDS_Shape &shape) | |
| Initislises by shape. | |
| void | Init (const TopoDS_Shape &shape) |
| Initislises by shape. | |
| Standard_Boolean | Perform (const Handle< Message_ProgressIndicator > &theProgress=0) |
| Iterates on sub- shape and performs fixes | |
| TopoDS_Shape | Shape () const |
| Returns resulting shape | |
| Handle_ShapeFix_Solid | FixSolidTool () const |
| Returns tool for fixing solids. | |
| Handle_ShapeFix_Shell | FixShellTool () const |
| Returns tool for fixing shells. | |
| Handle_ShapeFix_Face | FixFaceTool () const |
| Returns tool for fixing faces. | |
| Handle_ShapeFix_Wire | FixWireTool () const |
| Returns tool for fixing wires. | |
| Handle_ShapeFix_Edge | FixEdgeTool () const |
| Returns tool for fixing edges. | |
| Standard_Boolean | Status (const ShapeExtend_Status status) const |
| Returns the status of the last Fix. This can be a combination of the following flags: ShapeExtend_DONE1: some free edges were fixed ShapeExtend_DONE2: some free wires were fixed ShapeExtend_DONE3: some free faces were fixed ShapeExtend_DONE4: some free shells were fixed ShapeExtend_DONE5: some free solids were fixed ShapeExtend_DONE6: shapes in compound(s) were fixed | |
| virtual void | SetMsgRegistrator (const Handle< ShapeExtend_BasicMsgRegistrator > &msgreg) |
| Sets message registrator | |
| virtual void | SetPrecision (const Standard_Real preci) |
| Sets basic precision value (also to FixSolidTool) | |
| virtual void | SetMinTolerance (const Standard_Real mintol) |
| Sets minimal allowed tolerance (also to FixSolidTool) | |
| virtual void | SetMaxTolerance (const Standard_Real maxtol) |
| Sets maximal allowed tolerance (also to FixSolidTool) | |
| Standard_Integer & | FixSolidMode () |
| Returns (modifiable) the mode for applying fixes of ShapeFix_Solid, by default True. | |
| Standard_Integer & | FixFreeShellMode () |
| Returns (modifiable) the mode for applying fixes of ShapeFix_Shell, by default True. | |
| Standard_Integer & | FixFreeFaceMode () |
| Returns (modifiable) the mode for applying fixes of ShapeFix_Face, by default True. | |
| Standard_Integer & | FixFreeWireMode () |
| Returns (modifiable) the mode for applying fixes of ShapeFix_Wire, by default True. | |
| Standard_Integer & | FixSameParameterMode () |
| Returns (modifiable) the mode for applying ShapeFix::SameParameter after all fixes, by default True. | |
| Standard_Integer & | FixVertexPositionMode () |
| Returns (modifiable) the mode for applying ShapeFix::FixVertexPosition before all fixes, by default False. | |
Protected Member Functions | |
| void | SameParameter (const TopoDS_Shape &shape, const Standard_Boolean enforce, const Handle< Message_ProgressIndicator > &theProgress=0) |
| Fixes same parameterization problem on the passed shape by updating tolerances of the corresponding topological entitites. | |
Protected Attributes | |
| TopoDS_Shape | myResult |
| Handle_ShapeFix_Solid | myFixSolid |
| TopTools_MapOfShape | myMapFixingShape |
| Standard_Integer | myFixSolidMode |
| Standard_Integer | myFixShellMode |
| Standard_Integer | myFixFaceMode |
| Standard_Integer | myFixWireMode |
| Standard_Integer | myFixSameParameterMode |
| Standard_Integer | myFixVertexPositionMode |
| Standard_Integer | myStatus |
| ShapeFix_Shape::ShapeFix_Shape | ( | const TopoDS_Shape & | shape | ) |
| Handle_ShapeFix_Edge ShapeFix_Shape::FixEdgeTool | ( | ) | const |
| Handle_ShapeFix_Face ShapeFix_Shape::FixFaceTool | ( | ) | const |
| Handle_ShapeFix_Shell ShapeFix_Shape::FixShellTool | ( | ) | const |
| Handle_ShapeFix_Solid ShapeFix_Shape::FixSolidTool | ( | ) | const |
| Handle_ShapeFix_Wire ShapeFix_Shape::FixWireTool | ( | ) | const |
| void ShapeFix_Shape::Init | ( | const TopoDS_Shape & | shape | ) |
| Standard_Boolean ShapeFix_Shape::Perform | ( | const Handle< Message_ProgressIndicator > & | theProgress = 0 | ) |
| void ShapeFix_Shape::SameParameter | ( | const TopoDS_Shape & | shape, |
| const Standard_Boolean | enforce, | ||
| const Handle< Message_ProgressIndicator > & | theProgress = 0 |
||
| ) | [protected] |
| virtual void ShapeFix_Shape::SetMaxTolerance | ( | const Standard_Real | maxtol | ) | [virtual] |
Reimplemented from ShapeFix_Root.
| virtual void ShapeFix_Shape::SetMinTolerance | ( | const Standard_Real | mintol | ) | [virtual] |
Reimplemented from ShapeFix_Root.
| virtual void ShapeFix_Shape::SetMsgRegistrator | ( | const Handle< ShapeExtend_BasicMsgRegistrator > & | msgreg | ) | [virtual] |
Reimplemented from ShapeFix_Root.
| virtual void ShapeFix_Shape::SetPrecision | ( | const Standard_Real | preci | ) | [virtual] |
Reimplemented from ShapeFix_Root.
| TopoDS_Shape ShapeFix_Shape::Shape | ( | ) | const |
| Standard_Boolean ShapeFix_Shape::Status | ( | const ShapeExtend_Status | status | ) | const |
Standard_Integer ShapeFix_Shape::myFixFaceMode [protected] |
Standard_Integer ShapeFix_Shape::myFixShellMode [protected] |
Handle_ShapeFix_Solid ShapeFix_Shape::myFixSolid [protected] |
Standard_Integer ShapeFix_Shape::myFixSolidMode [protected] |
Standard_Integer ShapeFix_Shape::myFixWireMode [protected] |
TopTools_MapOfShape ShapeFix_Shape::myMapFixingShape [protected] |
TopoDS_Shape ShapeFix_Shape::myResult [protected] |
Standard_Integer ShapeFix_Shape::myStatus [protected] |
1.8.0