X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_Object.h;h=053a39e4a808f65c234cc946e45fa929def83499;hb=424f8230c9003d00fb27499b2441c4b3a2a28292;hp=594bbd60e0dc65c8a0f2b06ef3ed7fc0660d3b08;hpb=d5ab854432d2b0ec5a504b7f5bbf67d12bec472a;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_Object.h b/src/HYDROData/HYDROData_Object.h index 594bbd60..053a39e4 100644 --- a/src/HYDROData/HYDROData_Object.h +++ b/src/HYDROData/HYDROData_Object.h @@ -33,6 +33,18 @@ protected: public: DEFINE_STANDARD_RTTI(HYDROData_Object); + /** + * Update the geometry object. + * Call this method whenever you made changes for object data. + */ + HYDRODATA_EXPORT virtual void Update(); + + /** + * Returns the list of all reference objects of this object. + */ + HYDRODATA_EXPORT virtual HYDROData_SequenceOfObjects GetAllReferenceObjects() const; + + /** * Sets the top(2d projection) shape of the object. */ @@ -119,11 +131,21 @@ protected: */ HYDRODATA_EXPORT TopoDS_Shape getTopShape() const; + /** + * Removes the top shape from data label of the object. + */ + HYDRODATA_EXPORT void removeTopShape(); + + /** * Retrieve the 3d shape of the object from data label. */ HYDRODATA_EXPORT TopoDS_Shape getShape3D() const; + /** + * Removes the 3d shape from data label of the object. + */ + HYDRODATA_EXPORT void removeShape3D(); }; #endif