Salome HOME
IPAL54585: Extrusion 3D algo fails with "OCC exception. Standard_NoSuchObject: NColle...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_PreVisualObj.h
index 83745e40fe0e4329e285c45fdbdc0ebf1e954bbf..33dc79e4114f0d5846d5962eaa342337e066798c 100644 (file)
@@ -29,6 +29,8 @@
 
 #include "SMESH_Object.h"
 
 
 #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
 /*!
  * \brief Incarnation of SMESH_VisualObj allowing usage of SMESH_Actor
  *        to show arbitrary mesh data. SMESHGUI_PreVisualObj encapsulates
  */
 class SMESHGUI_EXPORT SMESHGUI_PreVisualObj : public SMESH_VisualObj
 {
  */
 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();
 
  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; }
 
   virtual bool Update( int theIsClear );
   virtual bool NulData() { return false; }