Back to index

salome-geom  6.5.0
Public Member Functions | Protected Member Functions | Protected Attributes
ShHealOper_Tool Class Reference

#include <ShHealOper_Tool.hxx>

Inheritance diagram for ShHealOper_Tool:
Inheritance graph

List of all members.

Public Member Functions

Standard_EXPORT ShHealOper_Tool ()
 Empty constructor.
Standard_EXPORT ShHealOper_Tool (const TopoDS_Shape &theShape)
virtual Standard_EXPORT void Init (const TopoDS_Shape &theShape)
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

Detailed Description

Definition at line 43 of file ShHealOper_Tool.hxx.

Constructor & Destructor Documentation

Empty constructor.

Definition at line 34 of file ShHealOper_Tool.cxx.

  myContext = new ShapeBuild_ReShape;
  myDone = Standard_False;
  myErrorStatus =ShHealOper_NotError;
ShHealOper_Tool::ShHealOper_Tool ( const TopoDS_Shape &  theShape)

Definition at line 45 of file ShHealOper_Tool.cxx.

  myContext = new ShapeBuild_ReShape;

Here is the call graph for this function:

Member Function Documentation

Standard_Integer ShHealOper_Tool::GetErrorStatus ( ) [inline]

Definition at line 90 of file ShHealOper_Tool.hxx.

    return myErrorStatus;

Here is the caller graph for this function:

Standard_Boolean ShHealOper_Tool::GetModifiedShape ( const TopoDS_Shape &  theOldShape,
TopoDS_Shape &  theNewShape 
) const [inline]

Definition at line 64 of file ShHealOper_Tool.hxx.

    theNewShape = myContext->Apply(theOldShape);
    return (!theNewShape.IsSame(theOldShape));
const TopoDS_Shape& ShHealOper_Tool::GetResultShape ( ) const [inline]

Definition at line 57 of file ShHealOper_Tool.hxx.

    return myResultShape;


Here is the caller graph for this function:

ShHealOper_Tool::Handle ( ShapeBuild_ReShape  ) [inline]

Definition at line 84 of file ShHealOper_Tool.hxx.

    return myContext;

Here is the caller graph for this function:

ShHealOper_Tool::Handle ( ShapeBuild_ReShape  ) [protected]
void ShHealOper_Tool::Init ( const TopoDS_Shape &  theShape) [virtual]

Reimplemented in ShHealOper_FillHoles, ShHealOper_Sewing, ShHealOper_CloseContour, ShHealOper_RemoveInternalWires, ShHealOper_EdgeDivide, ShHealOper_RemoveFace, and ShHealOper_ChangeOrientation.

Definition at line 56 of file ShHealOper_Tool.cxx.

  myDone = Standard_False;
  myErrorStatus =ShHealOper_NotError;
  myInitShape = theShape;

Here is the caller graph for this function:

Standard_Boolean ShHealOper_Tool::IsDone ( ) const [inline]

Definition at line 72 of file ShHealOper_Tool.hxx.

    return myDone;
void ShHealOper_Tool::SetContext ( Handle(ShapeBuild_ReShape)&  theContext) [inline]

Definition at line 78 of file ShHealOper_Tool.hxx.

    myContext = theContext;

Member Data Documentation

Standard_Boolean ShHealOper_Tool::myDone [protected]

Definition at line 100 of file ShHealOper_Tool.hxx.

Definition at line 101 of file ShHealOper_Tool.hxx.

TopoDS_Shape ShHealOper_Tool::myInitShape [protected]

Definition at line 98 of file ShHealOper_Tool.hxx.

TopoDS_Shape ShHealOper_Tool::myResultShape [protected]

Definition at line 99 of file ShHealOper_Tool.hxx.

The documentation for this class was generated from the following files: