X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_PreVisualObj.h;h=9cd8e4ef52897bf7d13762348be86d779670c906;hb=55f658966bd743c8a7a5c9405f4d09e60657b97c;hp=83745e40fe0e4329e285c45fdbdc0ebf1e954bbf;hpb=385d4cede5f752d0eec26c306f3b5e14511e2a3d;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_PreVisualObj.h b/src/SMESHGUI/SMESHGUI_PreVisualObj.h index 83745e40f..9cd8e4ef5 100644 --- a/src/SMESHGUI/SMESHGUI_PreVisualObj.h +++ b/src/SMESHGUI/SMESHGUI_PreVisualObj.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -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; }