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

ShHealOper_RemoveFace Class Reference

Class ShHealOper_RemoveFace.

#include <ShHealOper_RemoveFace.hxx>

Inheritance diagram for ShHealOper_RemoveFace:
Inheritance graph

Public Member Functions

Standard_EXPORT ShHealOper_RemoveFace ()
Standard_EXPORT ShHealOper_RemoveFace (const TopoDS_Shape &theShape)
virtual Standard_EXPORT void Init (const TopoDS_Shape &theShape)
Standard_EXPORT Standard_Boolean Perform ()
Standard_EXPORT Standard_Boolean Perform (const TopTools_SequenceOfShape &theRemovedFaces)
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 removeFaces (const TopoDS_Shape &theShape, TopoDS_Shape &theNewShape)
Standard_Boolean removeFaces (const TopoDS_Solid &theShape, TopoDS_Shape &theNewShape)
Standard_Boolean removeFaces (const TopoDS_Shell &theShell, TopoDS_Shape &theNewShape)
Standard_Boolean isReplace (const TopoDS_Shape &theOldShape, TopoDS_Shape &theNewShape)
void removePCurve (const TopoDS_Face &theFace)
Standard_Boolean isManifold (const TopoDS_Shell &aShell)

Private Attributes

TopTools_MapOfShape myMapFaces
TopTools_IndexedDataMapOfShapeListOfShape myMapEdgesFace

Constructor & Destructor Documentation

ShHealOper_RemoveFace::ShHealOper_RemoveFace ( )
ShHealOper_RemoveFace::ShHealOper_RemoveFace ( const TopoDS_Shape &  theShape)

References Init().


Member Function Documentation

void ShHealOper_RemoveFace::Init ( const TopoDS_Shape &  theShape) [virtual]

Reimplemented from ShHealOper_Tool.

References myMapEdgesFace.

Standard_Boolean ShHealOper_RemoveFace::Perform ( )
Standard_Boolean ShHealOper_RemoveFace::Perform ( const TopTools_SequenceOfShape &  theRemovedFaces)
Standard_Boolean ShHealOper_RemoveFace::removeFaces ( const TopoDS_Shape &  theShape,
TopoDS_Shape &  theNewShape 
) [private]

References myMapFaces, and removePCurve().

Standard_Boolean ShHealOper_RemoveFace::removeFaces ( const TopoDS_Solid &  theShape,
TopoDS_Shape &  theNewShape 
) [private]
Standard_Boolean ShHealOper_RemoveFace::removeFaces ( const TopoDS_Shell &  theShell,
TopoDS_Shape &  theNewShape 
) [private]
Standard_Boolean ShHealOper_RemoveFace::isReplace ( const TopoDS_Shape &  theOldShape,
TopoDS_Shape &  theNewShape 
) [private]

References getResultShell().

void ShHealOper_RemoveFace::removePCurve ( const TopoDS_Face &  theFace) [private]
Standard_Boolean ShHealOper_RemoveFace::isManifold ( const TopoDS_Shell &  aShell) [private]

References myMapEdgesFace.

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

TopTools_MapOfShape ShHealOper_RemoveFace.myMapFaces [private]
TopTools_IndexedDataMapOfShapeListOfShape ShHealOper_RemoveFace.myMapEdgesFace [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