![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Applies one of the sequence read from resource file. More...
#include <ShapeProcessAPI_ApplySequence.hxx>
Public Member Functions | |
| ShapeProcessAPI_ApplySequence (const char *const rscName, const char *const seqName="") | |
| Creates an object and loads resource file and sequence of operators given by their names. | |
| occ::handle< ShapeProcess_ShapeContext > & | Context () |
| Returns object for managing resource file and sequence of operators. | |
| TopoDS_Shape | PrepareShape (const TopoDS_Shape &shape, const bool fillmap=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 | ClearMap () |
| Clears myMap with accumulated history. | |
| const NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > & | Map () const |
| Returns myMap with accumulated history. | |
| 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. | |
Applies one of the sequence read from resource file.
| ShapeProcessAPI_ApplySequence::ShapeProcessAPI_ApplySequence | ( | const char *const | rscName, |
| const char *const | 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.
| occ::handle< ShapeProcess_ShapeContext > & ShapeProcessAPI_ApplySequence::Context | ( | ) |
Returns object for managing resource file and sequence of operators.
| const NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > & ShapeProcessAPI_ApplySequence::Map | ( | ) | const |
Returns myMap with accumulated history.
| TopoDS_Shape ShapeProcessAPI_ApplySequence::PrepareShape | ( | const TopoDS_Shape & | shape, |
| const bool | fillmap = 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.