-// Copyright (C) 2007-2016 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
#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
*/
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; }