28 #ifndef SMESH_OBJECTDEF_H
29 #define SMESH_OBJECTDEF_H
37 #include <SALOMEconfig.h>
38 #include CORBA_SERVER_HEADER(SMESH_Mesh)
39 #include CORBA_SERVER_HEADER(SMESH_Group)
45 class SALOME_ExtractUnstructuredGrid;
63 virtual bool Update(
int theIsClear =
true ) = 0;
79 smIdType& theNodeId2 )
const;
94 void createPoints( vtkPoints* );
95 void buildPrs(
bool buildGrid =
false);
98 void updateEntitiesFlags();
127 virtual bool Update(
int theIsClear =
true );
132 virtual bool IsNodePrs()
const;
138 virtual SMESH::SMESH_Mesh_ptr
GetMeshServer() {
return myClient.GetMeshServer(); }
160 virtual bool Update(
int theIsClear =
true );
165 virtual SMESH::SMESH_Mesh_ptr
GetMeshServer() {
return myMeshObj->GetMeshServer(); }
186 virtual bool IsNodePrs()
const;
211 virtual bool IsNodePrs()
const;
SMDSAbs_ElementType
Type (node, edge, face or volume) of elements.
Definition: SMDSAbs_ElementType.hxx:34
#define SMESHOBJECT_EXPORT
Definition: SMESH_Object.h:38
Base class for elements.
Definition: SMDS_MeshElement.hxx:56
Definition: SMDS_MeshNode.hxx:36
Definition: SMDS_Mesh.hxx:53
Definition: SMESH_Client.hxx:53
Definition: SMESH_ObjectDef.h:179
SMESH::SMESH_GroupBase_var myGroupServer
Definition: SMESH_ObjectDef.h:192
Definition: SMESH_ObjectDef.h:121
virtual SMESH::SMESH_Mesh_ptr GetMeshServer()
Definition: SMESH_ObjectDef.h:138
vtkUnstructuredGrid * myEmptyGrid
Definition: SMESH_ObjectDef.h:144
virtual SMDS_Mesh * GetMesh() const
Definition: SMESH_ObjectDef.h:139
SMESH_Client myClient
Definition: SMESH_ObjectDef.h:143
Definition: SMESH_ObjectDef.h:154
virtual SMDS_Mesh * GetMesh() const
Definition: SMESH_ObjectDef.h:164
virtual SMESH::SMESH_Mesh_ptr GetMeshServer()
Definition: SMESH_ObjectDef.h:165
SMESH_MeshObj * myMeshObj
Definition: SMESH_ObjectDef.h:169
Definition: SMESH_ObjectDef.h:55
virtual SMESH::SMESH_Mesh_ptr GetMeshServer()=0
TMapOfIds myVTK2SMDSNodes
Definition: SMESH_ObjectDef.h:102
unsigned int myEntitiesState
Definition: SMESH_ObjectDef.h:108
TMapOfIds mySMDS2VTKNodes
Definition: SMESH_ObjectDef.h:101
std::map< SMDSAbs_ElementType, smIdType > myEntitiesCache
Definition: SMESH_ObjectDef.h:111
virtual void UpdateFunctor(const SMESH::Controls::FunctorPtr &theFunctor)=0
virtual smIdType GetEntities(const SMDSAbs_ElementType, TEntityList &) const =0
std::list< const SMDS_MeshElement * > TEntityList
Definition: SMESH_ObjectDef.h:57
TMapOfIds mySMDS2VTKElems
Definition: SMESH_ObjectDef.h:103
virtual SMDS_Mesh * GetMesh() const =0
virtual bool NulData()
Definition: SMESH_ObjectDef.h:64
std::map< vtkIdType, vtkIdType > TMapOfIds
Definition: SMESH_ObjectDef.h:58
bool myLocalGrid
Definition: SMESH_ObjectDef.h:105
vtkUnstructuredGrid * myGrid
Definition: SMESH_ObjectDef.h:110
virtual bool IsNodePrs() const =0
bool myEntitiesFlag
Definition: SMESH_ObjectDef.h:107
virtual smIdType GetNbEntities(const SMDSAbs_ElementType theType) const =0
TMapOfIds myVTK2SMDSElems
Definition: SMESH_ObjectDef.h:104
virtual int GetElemDimension(const smIdType theObjId)=0
virtual bool Update(int theIsClear=true)=0
Definition: SMESH_Object.h:59
virtual unsigned int GetEntitiesState()=0
virtual void ClearEntitiesFlags()=0
virtual void UpdateFunctor(const SMESH::Controls::FunctorPtr &theFunctor)=0
virtual bool Update(int theIsClear=true)=0
virtual vtkIdType GetElemObjId(vtkIdType theVTKID)=0
virtual vtkIdType GetNodeVTKId(vtkIdType theObjID)=0
virtual smIdType GetNbEntities(const SMDSAbs_ElementType theType) const =0
virtual bool IsValid() const =0
virtual int GetElemDimension(const smIdType theObjId)=0
virtual vtkUnstructuredGrid * GetUnstructuredGrid()=0
virtual vtkIdType GetNodeObjId(vtkIdType theVTKID)=0
virtual vtkIdType GetElemVTKId(vtkIdType theObjID)=0
virtual bool GetEntitiesFlag()=0
virtual bool GetEdgeNodes(const smIdType theElemId, const int theEdgeNum, smIdType &theNodeId1, smIdType &theNodeId2) const =0
Definition: SMESH_ObjectDef.h:202
SMESH::SMESH_subMesh_var mySubMeshServer
Definition: SMESH_ObjectDef.h:215
boost::shared_ptr< Functor > FunctorPtr
Definition: SMESH_Controls.hxx:60