|
SHAPER
9.15.0
|
Interface for the composite boolean feature. More...

Data Structures | |
| struct | ResultBaseAlgo |
Public Types | |
| enum | OperationType { BOOL_CUT , BOOL_FUSE , BOOL_COMMON , BOOL_SMASH } |
Public Member Functions | |
| virtual void | executeCompositeBoolean () |
| Performs the algorithm and stores results it in the data structure. More... | |
| const OperationType & | operationType () const |
Static Public Member Functions | |
| static const std::string & | OBJECTS_ID () |
| Attribute name of main objects. More... | |
Protected Member Functions | |
| void | initBooleanAttributes () |
| Initializes boolean attributes. More... | |
| virtual bool | makeGeneration (ListOfShape &theBaseShapes, ListOfMakeShape &theMakeShapes)=0 |
| This function need to be defined for extrusion/revolution generation. More... | |
| bool | makeBoolean (const ListOfShape &theTools, ListOfShape &theObjects, ListOfMakeShape &theMakeShapes) |
| Makes boolean operation. More... | |
| virtual void | storeGenerationHistory (ResultBodyPtr theResultBody, const GeomShapePtr theBaseShape, const GeomMakeShapePtr theMakeShape)=0 |
| Stores generation history. More... | |
| void | storeModificationHistory (ResultBodyPtr theResultBody, const GeomShapePtr theObject, const ListOfShape &theTools, const std::shared_ptr< GeomAlgoAPI_MakeShape > theMakeShape) |
| Stores modification history. More... | |
| void | storeDeletedShapes (std::vector< ResultBaseAlgo > &theResultBaseAlgoList, const ListOfShape &theTools, const GeomShapePtr theResultShapesCompound) |
| Stores deleted shapes. More... | |
Protected Attributes | |
| ModelAPI_Feature * | myFeature |
| OperationType | myOperationType |
Interface for the composite boolean feature.
|
inlinestatic |
Attribute name of main objects.
|
virtual |
Performs the algorithm and stores results it in the data structure.
|
protected |
Initializes boolean attributes.
|
protectedpure virtual |
This function need to be defined for extrusion/revolution generation.
Implemented in FeaturesPlugin_RevolutionBoolean, and FeaturesPlugin_ExtrusionBoolean.
|
protected |
Makes boolean operation.
| [in] | theTools | list of tools. |
| [out] | theObjects | list of objects. |
| [out] | theMakeShapes | list of according algos. |
|
protectedpure virtual |
Stores generation history.
Implemented in FeaturesPlugin_RevolutionBoolean, and FeaturesPlugin_ExtrusionBoolean.
|
protected |
Stores modification history.
|
protected |
Stores deleted shapes.