|
Open CASCADE Technology
6.5.4
|
Applies one of the sequence read from resource file.
#include <ShapeProcessAPI_ApplySequence.hxx>
Public Member Functions | |
| DEFINE_STANDARD_ALLOC | 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. | |
| Handle_ShapeProcess_ShapeContext & | Context () |
| Returns object for managing resource file and sequence of operators. | |
| 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. | |
| void | ClearMap () |
| Clears myMap with accumulated history. | |
| const TopTools_DataMapOfShapeShape & | 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. | |
| DEFINE_STANDARD_ALLOC ShapeProcessAPI_ApplySequence::ShapeProcessAPI_ApplySequence | ( | const Standard_CString | rscName, |
| const Standard_CString | seqName = "" |
||
| ) |
| Handle_ShapeProcess_ShapeContext& ShapeProcessAPI_ApplySequence::Context | ( | ) |
| TopoDS_Shape ShapeProcessAPI_ApplySequence::PrepareShape | ( | const TopoDS_Shape & | shape, |
| const Standard_Boolean | fillmap = Standard_False, |
||
| const TopAbs_ShapeEnum | until = TopAbs_SHAPE |
||
| ) |
1.8.0