X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomData%2FGeomData_Dir.h;h=846dcd343f32d4089a64dd0a289d6941de701cf2;hb=7c26163aa1b2f3384ed0b3bd3fb12188478f6189;hp=debd400552702b68455955f17d775b3f6f97d8ae;hpb=7b9e257dacdb4564754c3bcd0c35817e73a3989c;p=modules%2Fshaper.git diff --git a/src/GeomData/GeomData_Dir.h b/src/GeomData/GeomData_Dir.h index debd40055..846dcd343 100644 --- a/src/GeomData/GeomData_Dir.h +++ b/src/GeomData/GeomData_Dir.h @@ -22,6 +22,7 @@ class GeomAPI_XYZ; */ class GeomData_Dir : public GeomDataAPI_Dir { + TDF_Label myLab; ///< the main label of the attribute Handle_TDataStd_RealArray myCoords; ///< X, Y and Z doubles as real array attribute [0; 2] public: /// Defines the double value @@ -43,6 +44,8 @@ class GeomData_Dir : public GeomDataAPI_Dir protected: /// Initializes attributes GEOMDATA_EXPORT GeomData_Dir(TDF_Label& theLabel); + /// Reinitializes the internal state of the attribute (may be needed on undo/redo, abort, etc) + virtual void reinit(); friend class Model_Data; };