OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKShHealing
ShapeFix


ShapeFix_Shape Class Reference

Fixing shape in general
.

#include <ShapeFix_Shape.hxx>

Inheritance diagram for ShapeFix_Shape:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT ShapeFix_Shape ()
 Empty Constructor
.
Standard_EXPORT ShapeFix_Shape (const TopoDS_Shape &shape)
 Initislises by shape.
.
Standard_EXPORT void Init (const TopoDS_Shape &shape)
 Initislises by shape.
.
Standard_EXPORT Standard_Boolean Perform ()
 Iterates on sub- shape and performs fixes
.
Standard_EXPORT 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_EXPORT 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 Standard_EXPORT void SetMsgRegistrator (const Handle(ShapeExtend_BasicMsgRegistrator)&msgreg)
 Sets message registrator
.
virtual Standard_EXPORT void SetPrecision (const Standard_Real preci)
 Sets basic precision value (also to FixSolidTool)
.
virtual Standard_EXPORT void SetMinTolerance (const Standard_Real mintol)
 Sets minimal allowed tolerance (also to FixSolidTool)
.
virtual Standard_EXPORT 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.
.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Protected Member Functions

Standard_EXPORT void SameParameter (const TopoDS_Shape &shape, const Standard_Boolean force)

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

Constructor & Destructor Documentation

Standard_EXPORT ShapeFix_Shape::ShapeFix_Shape  ) 
 

Standard_EXPORT ShapeFix_Shape::ShapeFix_Shape const TopoDS_Shape &  shape  ) 
 


Member Function Documentation

Handle_ShapeFix_Edge ShapeFix_Shape::FixEdgeTool  )  const
 

Handle_ShapeFix_Face ShapeFix_Shape::FixFaceTool  )  const
 

Standard_Integer & ShapeFix_Shape::FixFreeFaceMode  )  [inline]
 

Standard_Integer & ShapeFix_Shape::FixFreeShellMode  )  [inline]
 

Standard_Integer & ShapeFix_Shape::FixFreeWireMode  )  [inline]
 

Standard_Integer & ShapeFix_Shape::FixSameParameterMode  )  [inline]
 

Handle_ShapeFix_Shell ShapeFix_Shape::FixShellTool  )  const
 

Standard_Integer & ShapeFix_Shape::FixSolidMode  )  [inline]
 

Handle_ShapeFix_Solid ShapeFix_Shape::FixSolidTool  )  const
 

Standard_Integer & ShapeFix_Shape::FixVertexPositionMode  )  [inline]
 

Handle_ShapeFix_Wire ShapeFix_Shape::FixWireTool  )  const
 

Standard_EXPORT const ShapeFix_Shape::Handle Standard_Type   )  const
 

Reimplemented from ShapeFix_Root.

Standard_EXPORT void ShapeFix_Shape::Init const TopoDS_Shape &  shape  ) 
 

Standard_EXPORT Standard_Boolean ShapeFix_Shape::Perform  ) 
 

Standard_EXPORT void ShapeFix_Shape::SameParameter const TopoDS_Shape &  shape,
const Standard_Boolean  force
[protected]
 

virtual Standard_EXPORT void ShapeFix_Shape::SetMaxTolerance const Standard_Real  maxtol  )  [virtual]
 

Reimplemented from ShapeFix_Root.

virtual Standard_EXPORT void ShapeFix_Shape::SetMinTolerance const Standard_Real  mintol  )  [virtual]
 

Reimplemented from ShapeFix_Root.

virtual Standard_EXPORT void ShapeFix_Shape::SetMsgRegistrator const Handle(ShapeExtend_BasicMsgRegistrator)&  msgreg  )  [virtual]
 

Reimplemented from ShapeFix_Root.

virtual Standard_EXPORT void ShapeFix_Shape::SetPrecision const Standard_Real  preci  )  [virtual]
 

Reimplemented from ShapeFix_Root.

Standard_EXPORT TopoDS_Shape ShapeFix_Shape::Shape  )  const
 

Standard_EXPORT Standard_Boolean ShapeFix_Shape::Status const ShapeExtend_Status  status  )  const
 


Field Documentation

Standard_Integer ShapeFix_Shape::myFixFaceMode [protected]
 

Standard_Integer ShapeFix_Shape::myFixSameParameterMode [protected]
 

Standard_Integer ShapeFix_Shape::myFixShellMode [protected]
 

Handle_ShapeFix_Solid ShapeFix_Shape::myFixSolid [protected]
 

Standard_Integer ShapeFix_Shape::myFixSolidMode [protected]
 

Standard_Integer ShapeFix_Shape::myFixVertexPositionMode [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]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:42:39 2008 for OpenCASCADE by  doxygen 1.4.1