#include <SMESH_ObjectDef.h>
Public Types | |
typedef std::list< const SMDS_MeshElement * > | TEntityList |
typedef std::map< vtkIdType, vtkIdType > | TMapOfIds |
Public Member Functions | |
SMESH_MeshObj (SMESH::SMESH_Mesh_ptr) | |
virtual | ~SMESH_MeshObj () |
virtual bool | Update (int theIsClear=true) |
virtual bool | NulData () |
virtual int | GetNbEntities (const SMDSAbs_ElementType) const |
virtual int | GetEntities (const SMDSAbs_ElementType, TEntityList &) const |
virtual bool | IsNodePrs () const |
virtual int | GetElemDimension (const int theObjId) |
virtual void | UpdateFunctor (const SMESH::Controls::FunctorPtr &theFunctor) |
virtual SMESH::SMESH_Mesh_ptr | GetMeshServer () |
virtual SMDS_Mesh * | GetMesh () const |
virtual bool | IsValid () const |
virtual bool | GetEdgeNodes (const int theElemId, const int theEdgeNum, int &theNodeId1, int &theNodeId2) const |
virtual vtkUnstructuredGrid * | GetUnstructuredGrid () |
virtual vtkIdType | GetNodeObjId (int theVTKID) |
virtual vtkIdType | GetNodeVTKId (int theObjID) |
virtual vtkIdType | GetElemObjId (int theVTKID) |
virtual vtkIdType | GetElemVTKId (int theObjID) |
virtual void | ClearEntitiesFlags () |
virtual bool | GetEntitiesFlag () |
virtual unsigned int | GetEntitiesState () |
Protected Member Functions | |
void | createPoints (vtkPoints *) |
fills a vtkPoints structure for a submesh. More... | |
void | buildPrs (bool buildGrid=false) |
void | buildNodePrs () |
void | buildElemPrs () |
void | updateEntitiesFlags () |
Protected Attributes | |
SMESH_Client | myClient |
vtkUnstructuredGrid * | myEmptyGrid |
TMapOfIds | mySMDS2VTKNodes |
TMapOfIds | myVTK2SMDSNodes |
TMapOfIds | mySMDS2VTKElems |
TMapOfIds | myVTK2SMDSElems |
bool | myLocalGrid |
bool | myEntitiesFlag |
unsigned int | myEntitiesState |
vtkUnstructuredGrid * | myGrid |
std::map< SMDSAbs_ElementType, int > | myEntitiesCache |
|
inherited |
|
inherited |
SMESH_MeshObj::SMESH_MeshObj | ( | SMESH::SMESH_Mesh_ptr | theMesh | ) |
References MESSAGE, MYDEBUG, and myEmptyGrid.
|
virtual |
References MESSAGE, MYDEBUG, and myEmptyGrid.
|
protectedinherited |
References SMDS_Mesh::CheckMemory(), SMDS_MeshElement::GetEntityType(), SMDS_MeshElement::GetID(), SMDS_MeshElement::IsPoly(), MESSAGE, MYDEBUG, SMDS_MeshElement::NbNodes(), SMDS_MeshElement::nodesIterator(), SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Volume, SMDSEntity_Polyhedra, SMDSEntity_Quad_Polyhedra, SMDS_MeshCell::toVtkOrder(), and SMDS_MeshCell::toVtkType().
|
protectedinherited |
References SMDS_Mesh::CheckMemory().
|
protectedinherited |
References MESSAGE, MYDEBUG, MYDEBUGWITHFILES, and SMESH::WriteUnstructuredGrid().
Referenced by Update(), and SMESH_SubMeshObj::Update().
|
virtualinherited |
Implements SMESH_VisualObj.
References SMESH_Actor::eAllEntity.
|
protectedinherited |
fills a vtkPoints structure for a submesh.
fills a std::list of SMDS_MeshElements*, then extract the points. fills also conversion id maps between SMDS and VTK.
References SMDS_MeshElement::GetID(), SMDSAbs_Node, SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
|
virtualinherited |
Implements SMESH_VisualObj.
References SMDS_Mesh::FindElement(), SMDS_MeshElement::GetID(), SMDS_MeshElement::GetNode(), and SMDS_MeshElement::NbCornerNodes().
Implements SMESH_VisualObjDef.
References SMDS_Mesh::FindElement(), SMDS_MeshElement::GetType(), myClient, SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, and SMDSAbs_Volume.
Referenced by SMESH_SubMeshObj::GetElemDimension().
|
virtualinherited |
Implements SMESH_VisualObj.
|
virtualinherited |
Implements SMESH_VisualObj.
References SMDS_MeshElement::getVtkId().
|
virtual |
Implements SMESH_VisualObjDef.
References SMDS_Mesh::edgesIterator(), SMDS_Mesh::elementGeomIterator(), SMDS_Mesh::elementsIterator(), SMDS_Mesh::facesIterator(), myClient, SMDS_Mesh::nodesIterator(), SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Node, SMDSAbs_Volume, SMDSGeom_BALL, and SMDS_Mesh::volumesIterator().
|
virtualinherited |
Implements SMESH_VisualObj.
|
virtualinherited |
Implements SMESH_VisualObj.
|
virtual |
Implements SMESH_VisualObjDef.
Referenced by SMESH_GroupObj::GetEntities(), SMESH_subMeshObj::GetEntities(), UpdateFunctor(), and SMESH_SubMeshObj::UpdateFunctor().
|
virtual |
Implements SMESH_VisualObjDef.
|
virtual |
|
virtualinherited |
Implements SMESH_VisualObj.
References SMDS_MeshElement::GetID().
|
virtualinherited |
Implements SMESH_VisualObj.
References SMDS_MeshElement::getVtkId().
|
virtualinherited |
Implements SMESH_VisualObj.
Referenced by Update().
|
virtual |
Implements SMESH_VisualObjDef.
References myClient, SMDS_Mesh::Nb0DElements(), SMDS_Mesh::NbBalls(), SMDS_Mesh::NbEdges(), SMDS_Mesh::NbFaces(), and SMDS_Mesh::NbVolumes().
|
virtualinherited |
Implements SMESH_VisualObj.
References SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Node, and SMDSAbs_Volume.
|
virtual |
Reimplemented from SMESH_VisualObjDef.
References MESSAGE, MYDEBUG, myEmptyGrid, SMESH_VisualObjDef::myGrid, and SMDS_UnstructuredGrid::New().
Implements SMESH_VisualObjDef.
References SMESH_VisualObjDef::buildPrs(), SMESH_VisualObjDef::GetUnstructuredGrid(), MESSAGE, myClient, MYDEBUG, and SMESH_Client::Update().
Referenced by SMESH_SubMeshObj::Update().
|
protectedinherited |
References SMESH::GetEntitiesFromObject(), SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, and SMDSAbs_Volume.
|
virtual |
Implements SMESH_VisualObjDef.
References GetMesh().
|
protected |
Referenced by GetElemDimension(), GetEntities(), GetNbEntities(), IsNodePrs(), and Update().
|
protected |
Referenced by NulData(), SMESH_MeshObj(), and ~SMESH_MeshObj().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by NulData().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |