|
SHAPER
9.15.0
|
Extra API for the ResultBody that allows to work with naming. More...

Public Member Functions | |
| virtual void | store (const GeomShapePtr &theShape, const bool theIsStoreSameShapes=true) override |
| Stores the shape (called by the execution method). More... | |
| virtual void | storeGenerated (const GeomShapePtr &theFromShape, const GeomShapePtr &theToShape, const bool theIsCleanStored=true) override |
| Stores the generated shape (called by the execution method). More... | |
| virtual void | storeGenerated (const std::list< GeomShapePtr > &theFromShapes, const GeomShapePtr &theToShape, const std::shared_ptr< GeomAlgoAPI_MakeShape > theMakeShape) override |
| Stores the root generated shapes (called by the execution method). More... | |
| virtual void | storeModified (const GeomShapePtr &theOldShape, const GeomShapePtr &theNewShape, const bool theIsCleanStored=true) override |
| Stores the modified shape (called by the execution method). More... | |
| virtual void | storeModified (const std::list< GeomShapePtr > &theOldShapes, const GeomShapePtr &theNewShape, const std::shared_ptr< GeomAlgoAPI_MakeShape > theMakeShape) override |
| Stores the root modified shape (called by the execution method). More... | |
| virtual GeomShapePtr | shape () |
| Returns the shape-result produced by this feature. More... | |
| virtual bool | generated (const GeomShapePtr &theNewShape, const std::string &theName, const bool theCheckIsInResult=true) override |
| Records the subshape newShape which was generated during a topological construction. More... | |
| virtual void | generated (const GeomShapePtr &theOldShape, const GeomShapePtr &theNewShape, const std::string &theName="") override |
| Records the shape newShape which was generated from the shape oldShape during a topological construction. More... | |
| virtual void | modified (const GeomShapePtr &theOldShape, const GeomShapePtr &theNewShape, const std::string &theName="") override |
| Records the shape newShape which is a modification of the shape oldShape. More... | |
| virtual void | loadDeletedShapes (const GeomMakeShapePtr &theAlgo, const GeomShapePtr &theOldShape, const GeomAPI_Shape::ShapeType theShapeTypeToExplore, const GeomShapePtr &theShapesToExclude=GeomShapePtr()) override |
| load deleted shapes More... | |
| virtual void | loadModifiedShapes (const GeomMakeShapePtr &theAlgo, const GeomShapePtr &theOldShape, const GeomAPI_Shape::ShapeType theShapeTypeToExplore, const std::string &theName="") override |
| load and orient modified shapes More... | |
| virtual void | loadGeneratedShapes (const GeomMakeShapePtr &theAlgo, const GeomShapePtr &theOldShape, const GeomAPI_Shape::ShapeType theShapeTypeToExplore, const std::string &theName="", const bool theSaveOldIfNotInTree=false) override |
| load and orient generated shapes More... | |
| virtual void | loadFirstLevel (GeomShapePtr theShape, const std::string &theName) override |
| Loads shapes of the first level (to be used during shape import) More... | |
| virtual | ~Model_BodyBuilder () |
| Removes the stored builders. More... | |
| virtual void | cleanCash () override |
| Cleans cash related to the already stored elements. More... | |
Protected Member Functions | |
| Model_BodyBuilder (ModelAPI_Object *theOwner) | |
| Default constructor accessible only by Model_Objects. More... | |
| void | clean () |
| Removes the stored builders. More... | |
| TNaming_Builder * | builder (const int theTag) |
| Returns (creates if necessary) the builder created on the needed tag of sub-label. More... | |
| virtual MODELAPI_EXPORT std::shared_ptr< ModelAPI_Data > | data () const |
| Returns the data manager of this object: attributes. More... | |
| virtual MODELAPI_EXPORT std::shared_ptr< ModelAPI_Document > | document () const |
| Returns document this feature belongs to. More... | |
Protected Attributes | |
| ModelAPI_Object * | myOwner |
| the owner object this builder belongs to More... | |
Friends | |
| class | Model_ResultBody |
| class | Model_ResultCompSolid |
Extra API for the ResultBody that allows to work with naming.
|
virtual |
Removes the stored builders.
|
protected |
Default constructor accessible only by Model_Objects.
|
overridevirtual |
Stores the shape (called by the execution method).
Implements ModelAPI_BodyBuilder.
|
overridevirtual |
Stores the generated shape (called by the execution method).
Implements ModelAPI_BodyBuilder.
|
overridevirtual |
Stores the root generated shapes (called by the execution method).
Implements ModelAPI_BodyBuilder.
|
overridevirtual |
Stores the modified shape (called by the execution method).
| theOldShape | shape that produces result |
| theNewShape | resulting shape |
| theIsCleanStored | erases all previous data structure of this body if true |
Implements ModelAPI_BodyBuilder.
|
overridevirtual |
Stores the root modified shape (called by the execution method).
| theOldShapes | all shapes that produce result |
| theNewShape | resulting shape |
| theIsCleanStored | erases all previous data structure of this body if true |
Implements ModelAPI_BodyBuilder.
|
virtual |
Returns the shape-result produced by this feature.
Implements ModelAPI_BodyBuilder.
|
overridevirtual |
Records the subshape newShape which was generated during a topological construction.
As an example, consider the case of a face generated in construction of a box. Returns true if it is stored correctly (the final shape contains this new sub-shape)
Implements ModelAPI_BodyBuilder.
|
overridevirtual |
Records the shape newShape which was generated from the shape oldShape during a topological construction.
As an example, consider the case of a face generated from an edge in construction of a prism.
Implements ModelAPI_BodyBuilder.
|
overridevirtual |
Records the shape newShape which is a modification of the shape oldShape.
As an example, consider the case of a face split or merged in a Boolean operation.
Implements ModelAPI_BodyBuilder.
|
overridevirtual |
load deleted shapes
Implements ModelAPI_BodyBuilder.
|
overridevirtual |
load and orient modified shapes
Implements ModelAPI_BodyBuilder.
|
overridevirtual |
load and orient generated shapes
Implements ModelAPI_BodyBuilder.
|
overridevirtual |
Loads shapes of the first level (to be used during shape import)
Implements ModelAPI_BodyBuilder.
|
overridevirtual |
Cleans cash related to the already stored elements.
Implements ModelAPI_BodyBuilder.
|
protected |
Removes the stored builders.
|
protected |
Returns (creates if necessary) the builder created on the needed tag of sub-label.
|
protectedvirtualinherited |
Returns the data manager of this object: attributes.
|
protectedvirtualinherited |
Returns document this feature belongs to.
|
protectedinherited |
the owner object this builder belongs to