Version: 6.3.1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

ShHealOper_Sewing Class Reference

Class ShHealOper_Sewing.

#include <ShHealOper_Sewing.hxx>

Inheritance diagram for ShHealOper_Sewing:
Inheritance graph

Public Member Functions

Standard_EXPORT ShHealOper_Sewing ()
Standard_EXPORT ShHealOper_Sewing (const TopoDS_Shape &theShape, const Standard_Real theTolerance)
virtual Standard_EXPORT void Init (const TopoDS_Shape &theShape)
Standard_EXPORT Standard_Boolean Perform ()
Standard_EXPORT Standard_Boolean Perform (const TopTools_SequenceOfShape &theSeqShapes)
void SetFacesMode (const Standard_Boolean theFacesMode)
Standard_Boolean GetFacesMode ()
void SetFloatingEdgesMode (const Standard_Boolean theEdgesMode)
Standard_Boolean GetFloatingEdgesMode ()
void SetNonManifoldMode (const Standard_Boolean theNonManifoldMode)
Standard_Boolean GetNonManifoldMode ()
void SetTolerance (const Standard_Real theToler)
Standard_Real GetTolerance ()
void SetHistoryLevel (TopAbs_ShapeEnum theHistLevel)
TopAbs_ShapeEnum GetHistoryLevel ()
const TopoDS_Shape & GetResultShape () const
Standard_Boolean GetModifiedShape (const TopoDS_Shape &theOldShape, TopoDS_Shape &theNewShape) const
Standard_Boolean IsDone () const
void SetContext (Handle(ShapeBuild_ReShape)&theContext)
 Handle (ShapeBuild_ReShape) Context()
Standard_Integer GetErrorStatus ()

Protected Member Functions

 Handle (ShapeBuild_ReShape) myContext

Protected Attributes

TopoDS_Shape myInitShape
TopoDS_Shape myResultShape
Standard_Boolean myDone
ShHealOper_Error myErrorStatus

Private Member Functions

Standard_Boolean sewing (const TopTools_SequenceOfShape &theSeqShapes)
Standard_Boolean getShells (const TopoDS_Shape &theSewShape) const
Standard_Boolean getWires (const TopoDS_Shape &theSewShape) const
Standard_Boolean getModifications (const TopoDS_Shape &theShape, const Handle(BRepBuilderAPI_Sewing)&theSewing) const
Standard_Boolean isSewed (const TopoDS_Shape &theShape) const
void deleteFreeEdges (const TopoDS_Shape &theSewShape, TopTools_MapOfShape &theMapEdges, TopoDS_Compound &theNewComp) const

Private Attributes

Standard_Boolean myNonManifoldMode
Standard_Boolean myEdgesMode
Standard_Boolean myFacesMode
Standard_Real myTolerance
TopAbs_ShapeEnum myHistoryLevel

Constructor & Destructor Documentation

Standard_EXPORT ShHealOper_Sewing.ShHealOper_Sewing ( )
ShHealOper_Sewing::ShHealOper_Sewing ( const TopoDS_Shape &  theShape,
const Standard_Real  theTolerance 
)

References Init(), and myTolerance.


Member Function Documentation

void ShHealOper_Sewing::Init ( const TopoDS_Shape &  theShape) [virtual]
Standard_Boolean ShHealOper_Sewing::Perform ( )

References sewing().

Standard_Boolean ShHealOper_Sewing::Perform ( const TopTools_SequenceOfShape &  theSeqShapes)

References sewing().

void ShHealOper_Sewing.SetFacesMode ( const Standard_Boolean  theFacesMode)

References myFacesMode.

Standard_Boolean ShHealOper_Sewing.GetFacesMode ( )

References myFacesMode.

void ShHealOper_Sewing.SetFloatingEdgesMode ( const Standard_Boolean  theEdgesMode)

References myEdgesMode.

Standard_Boolean ShHealOper_Sewing.GetFloatingEdgesMode ( )

References myEdgesMode.

void ShHealOper_Sewing.SetNonManifoldMode ( const Standard_Boolean  theNonManifoldMode)

References myNonManifoldMode.

Standard_Boolean ShHealOper_Sewing.GetNonManifoldMode ( )

References myNonManifoldMode.

void ShHealOper_Sewing.SetTolerance ( const Standard_Real  theToler)

References myTolerance.

Standard_Real ShHealOper_Sewing.GetTolerance ( )

References myTolerance.

void ShHealOper_Sewing.SetHistoryLevel ( TopAbs_ShapeEnum  theHistLevel)

References myHistoryLevel.

TopAbs_ShapeEnum ShHealOper_Sewing.GetHistoryLevel ( )

References myHistoryLevel.

Standard_Boolean ShHealOper_Sewing::sewing ( const TopTools_SequenceOfShape &  theSeqShapes) [private]
Standard_Boolean ShHealOper_Sewing::getShells ( const TopoDS_Shape &  theSewShape) const [private]
Standard_Boolean ShHealOper_Sewing::getWires ( const TopoDS_Shape &  theSewShape) const [private]
Standard_Boolean ShHealOper_Sewing::getModifications ( const TopoDS_Shape &  theShape,
const Handle(BRepBuilderAPI_Sewing)&  theSewing 
) const [private]

References myHistoryLevel.

Standard_Boolean ShHealOper_Sewing::isSewed ( const TopoDS_Shape &  theShape) const [private]
void ShHealOper_Sewing::deleteFreeEdges ( const TopoDS_Shape &  theSewShape,
TopTools_MapOfShape &  theMapEdges,
TopoDS_Compound &  theNewComp 
) const [private]
const TopoDS_Shape& ShHealOper_Tool.GetResultShape ( ) const [inherited]
Standard_Boolean ShHealOper_Tool.GetModifiedShape ( const TopoDS_Shape &  theOldShape,
TopoDS_Shape &  theNewShape 
) const [inherited]
Standard_Boolean ShHealOper_Tool.IsDone ( ) const [inherited]
void ShHealOper_Tool.SetContext ( Handle(ShapeBuild_ReShape)&  theContext) [inherited]
ShHealOper_Tool.Handle ( ShapeBuild_ReShape  ) [inherited]
ShHealOper_Tool.Handle ( ShapeBuild_ReShape  ) [protected, inherited]
Standard_Integer ShHealOper_Tool.GetErrorStatus ( ) [inherited]

Field Documentation

Standard_Boolean ShHealOper_Sewing.myNonManifoldMode [private]
Standard_Boolean ShHealOper_Sewing.myEdgesMode [private]
Standard_Boolean ShHealOper_Sewing.myFacesMode [private]
Standard_Real ShHealOper_Sewing.myTolerance [private]
TopAbs_ShapeEnum ShHealOper_Sewing.myHistoryLevel [private]
TopoDS_Shape ShHealOper_Tool.myInitShape [protected, inherited]
TopoDS_Shape ShHealOper_Tool.myResultShape [protected, inherited]
Standard_Boolean ShHealOper_Tool.myDone [protected, inherited]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS