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

ModelingAlgorithms
TKShHealing
ShapeProcessAPI


ShapeProcessAPI_ApplySequence Class Reference

Applies one of the sequence read from resource file.
.

#include <ShapeProcessAPI_ApplySequence.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT ShapeProcessAPI_ApplySequence (const Standard_CString rscName, const Standard_CString seqName="")
 Creates an object and loads resource file and sequence of
operators given by their names.
.
Standard_EXPORT Handle_ShapeProcess_ShapeContext & Context ()
 Returns object for managing resource file and sequence of
operators.
.
Standard_EXPORT TopoDS_Shape PrepareShape (const TopoDS_Shape &shape, const Standard_Boolean fillmap=Standard_False, const TopAbs_ShapeEnum until=TopAbs_SHAPE)
 Performs sequence of operators stored in myRsc.
If <fillmap> is True adds history "shape-shape" into myMap
for shape and its subshapes until level <until> (included).
If <until> is TopAbs_SHAPE, all the subshapes are considered.
.
Standard_EXPORT void ClearMap ()
 Clears myMap with accumulated history.
.
Standard_EXPORT const TopTools_DataMapOfShapeShape & Map () const
 Returns myMap with accumulated history.
.
Standard_EXPORT void PrintPreparationResult () const
 Prints result of preparation onto the messenger of the context.
Note that results can be accumulated from previous preparations
it method ClearMap was not called before PrepareShape.
.

Private Attributes

Handle_ShapeProcess_ShapeContext myContext
TopTools_DataMapOfShapeShape myMap
TCollection_AsciiString mySeq


Constructor & Destructor Documentation

Standard_EXPORT ShapeProcessAPI_ApplySequence::ShapeProcessAPI_ApplySequence const Standard_CString  rscName,
const Standard_CString  seqName = ""
 


Member Function Documentation

Standard_EXPORT void ShapeProcessAPI_ApplySequence::ClearMap  ) 
 

Standard_EXPORT Handle_ShapeProcess_ShapeContext& ShapeProcessAPI_ApplySequence::Context  ) 
 

Standard_EXPORT const TopTools_DataMapOfShapeShape& ShapeProcessAPI_ApplySequence::Map  )  const
 

void ShapeProcessAPI_ApplySequence::operator delete void *  anAddress  )  [inline]
 

void* ShapeProcessAPI_ApplySequence::operator new size_t  size  )  [inline]
 

void* ShapeProcessAPI_ApplySequence::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT TopoDS_Shape ShapeProcessAPI_ApplySequence::PrepareShape const TopoDS_Shape &  shape,
const Standard_Boolean  fillmap = Standard_False,
const TopAbs_ShapeEnum  until = TopAbs_SHAPE
 

Standard_EXPORT void ShapeProcessAPI_ApplySequence::PrintPreparationResult  )  const
 


Field Documentation

Handle_ShapeProcess_ShapeContext ShapeProcessAPI_ApplySequence::myContext [private]
 

TopTools_DataMapOfShapeShape ShapeProcessAPI_ApplySequence::myMap [private]
 

TCollection_AsciiString ShapeProcessAPI_ApplySequence::mySeq [private]
 


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