X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_PreVisualObj.h;h=33dc79e4114f0d5846d5962eaa342337e066798c;hp=83745e40fe0e4329e285c45fdbdc0ebf1e954bbf;hb=0146a69d8258d1264247a2970627f89e514fc6f6;hpb=fb2fc0723635036634f572b9d1dad6af5d253c61 diff --git a/src/SMESHGUI/SMESHGUI_PreVisualObj.h b/src/SMESHGUI/SMESHGUI_PreVisualObj.h index 83745e40f..33dc79e41 100644 --- a/src/SMESHGUI/SMESHGUI_PreVisualObj.h +++ b/src/SMESHGUI/SMESHGUI_PreVisualObj.h @@ -29,6 +29,8 @@ #include "SMESH_Object.h" +class SMESHDS_Mesh; + /*! * \brief Incarnation of SMESH_VisualObj allowing usage of SMESH_Actor * to show arbitrary mesh data. SMESHGUI_PreVisualObj encapsulates @@ -37,13 +39,14 @@ */ class SMESHGUI_EXPORT SMESHGUI_PreVisualObj : public SMESH_VisualObj { - mutable SMDS_Mesh* myMesh; - bool myEntitiesFlag; - unsigned int myEntitiesState; + mutable SMESHDS_Mesh* myMesh; + bool myEntitiesFlag; + unsigned int myEntitiesState; public: SMESHGUI_PreVisualObj(); - virtual SMDS_Mesh* GetMesh() const { return myMesh; } + virtual SMDS_Mesh* GetMesh() const; + SMESHDS_Mesh* GetMeshDS() const { return myMesh; } virtual bool Update( int theIsClear ); virtual bool NulData() { return false; }