Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regression with bos #24400 [CEA] Option in SALOME for not storing in med files the...
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_PreVisualObj.h
diff --git
a/src/SMESHGUI/SMESHGUI_PreVisualObj.h
b/src/SMESHGUI/SMESHGUI_PreVisualObj.h
index 83745e40fe0e4329e285c45fdbdc0ebf1e954bbf..5d58d6321f3f15f0543bd027844999a1695278b0 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_PreVisualObj.h
+++ b/
src/SMESHGUI/SMESHGUI_PreVisualObj.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
19
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
21
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
//
// 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"
#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
@@
-37,29
+39,30
@@
*/
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 SM
ESH
DS_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 void UpdateFunctor( const SMESH::Controls::FunctorPtr& theFunctor );
virtual bool Update( int theIsClear );
virtual bool NulData() { return false; }
virtual void UpdateFunctor( const SMESH::Controls::FunctorPtr& theFunctor );
- virtual int GetElemDimension( const
int
theObjId );
- virtual
int
GetNbEntities( const SMDSAbs_ElementType theType) const;
+ virtual int GetElemDimension( const
smIdType
theObjId );
+ virtual
smIdType
GetNbEntities( const SMDSAbs_ElementType theType) const;
virtual bool IsValid() const;
virtual bool IsValid() const;
- virtual bool GetEdgeNodes( const
int
theElemId,
- const int theEdgeNum,
-
int
& theNodeId1,
-
int
& theNodeId2 ) const;
+ virtual bool GetEdgeNodes( const
smIdType
theElemId,
+ const int
theEdgeNum,
+
smIdType
& theNodeId1,
+
smIdType
& theNodeId2 ) const;
- virtual vtkIdType GetNodeObjId(
int
theVTKID );
- virtual vtkIdType GetNodeVTKId(
int
theObjID );
- virtual vtkIdType GetElemObjId(
int
theVTKID );
- virtual vtkIdType GetElemVTKId(
int
theObjID );
+ virtual vtkIdType GetNodeObjId(
vtkIdType
theVTKID );
+ virtual vtkIdType GetNodeVTKId(
vtkIdType
theObjID );
+ virtual vtkIdType GetElemObjId(
vtkIdType
theVTKID );
+ virtual vtkIdType GetElemVTKId(
vtkIdType
theObjID );
virtual void ClearEntitiesFlags();
virtual bool GetEntitiesFlag();
virtual unsigned int GetEntitiesState();
virtual void ClearEntitiesFlags();
virtual bool GetEntitiesFlag();
virtual unsigned int GetEntitiesState();