Open CASCADE Technology
7.5.0
|
Applies one of the sequence read from resource file. More...
#include <ShapeProcessAPI_ApplySequence.hxx>
Public Member Functions | |
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. More... | |
Handle< ShapeProcess_ShapeContext > & | Context () |
Returns object for managing resource file and sequence of operators. More... | |
TopoDS_Shape | PrepareShape (const TopoDS_Shape &shape, const Standard_Boolean fillmap=Standard_False, const TopAbs_ShapeEnum until=TopAbs_SHAPE, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
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. More... | |
void | ClearMap () |
Clears myMap with accumulated history. More... | |
const TopTools_DataMapOfShapeShape & | Map () const |
Returns myMap with accumulated history. More... | |
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. More... | |
Applies one of the sequence read from resource file.
ShapeProcessAPI_ApplySequence::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.
void ShapeProcessAPI_ApplySequence::ClearMap | ( | ) |
Clears myMap with accumulated history.
Handle< ShapeProcess_ShapeContext >& ShapeProcessAPI_ApplySequence::Context | ( | ) |
Returns object for managing resource file and sequence of operators.
const TopTools_DataMapOfShapeShape& ShapeProcessAPI_ApplySequence::Map | ( | ) | const |
Returns myMap with accumulated history.
TopoDS_Shape ShapeProcessAPI_ApplySequence::PrepareShape | ( | const TopoDS_Shape & | shape, |
const Standard_Boolean | fillmap = Standard_False , |
||
const TopAbs_ShapeEnum | until = TopAbs_SHAPE , |
||
const Message_ProgressRange & | theProgress = Message_ProgressRange() |
||
) |
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.
void ShapeProcessAPI_ApplySequence::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.