#include <SMESH_ObjectDef.h>
Public Types | |
typedef std::list< const SMDS_MeshElement * > | TEntityList |
typedef std::map< vtkIdType, vtkIdType > | TMapOfIds |
Public Member Functions | |
SMESH_subMeshObj (SMESH::SMESH_subMesh_ptr, SMESH_MeshObj *) | |
virtual | ~SMESH_subMeshObj () |
virtual int | GetNbEntities (const SMDSAbs_ElementType) const |
virtual int | GetEntities (const SMDSAbs_ElementType, TEntityList &) const |
virtual bool | IsNodePrs () const |
virtual bool | Update (int theIsClear=true) |
virtual void | UpdateFunctor (const SMESH::Controls::FunctorPtr &theFunctor) |
virtual int | GetElemDimension (const int theObjId) |
virtual SMDS_Mesh * | GetMesh () const |
virtual SMESH::SMESH_Mesh_ptr | GetMeshServer () |
virtual bool | NulData () |
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::SMESH_subMesh_var | mySubMeshServer |
SMESH_MeshObj * | myMeshObj |
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_subMeshObj::SMESH_subMeshObj | ( | SMESH::SMESH_subMesh_ptr | theSubMesh, |
SMESH_MeshObj * | theMeshObj | ||
) |
References MESSAGE, MYDEBUG, and mySubMeshServer.
|
virtual |
References MESSAGE, MYDEBUG, and mySubMeshServer.
|
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 SMESH_MeshObj::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 SMESH_MeshObj::GetElemDimension(), and SMESH_SubMeshObj::myMeshObj.
|
virtualinherited |
Implements SMESH_VisualObj.
|
virtualinherited |
Implements SMESH_VisualObj.
References SMDS_MeshElement::getVtkId().
|
virtual |
Implements SMESH_VisualObjDef.
References SMESH_MeshObj::GetMesh(), getNodesFromElems(), getPointers(), IsNodePrs(), SMESH_SubMeshObj::myMeshObj, mySubMeshServer, and SMDSAbs_Node.
|
virtualinherited |
Implements SMESH_VisualObj.
|
virtualinherited |
Implements SMESH_VisualObj.
|
virtualinherited |
Implements SMESH_VisualObjDef.
|
virtualinherited |
Implements SMESH_VisualObjDef.
|
virtual |
Implements SMESH_VisualObjDef.
References mySubMeshServer, SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Node, and SMDSAbs_Volume.
|
virtualinherited |
Implements SMESH_VisualObj.
References SMDS_MeshElement::GetID().
|
virtualinherited |
Implements SMESH_VisualObj.
References SMDS_MeshElement::getVtkId().
|
virtualinherited |
Implements SMESH_VisualObj.
Referenced by SMESH_MeshObj::Update().
|
virtual |
|
virtualinherited |
Implements SMESH_VisualObj.
References SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Node, and SMDSAbs_Volume.
|
virtualinherited |
Implements SMESH_VisualObj.
Reimplemented in SMESH_MeshObj.
Implements SMESH_VisualObjDef.
References SMESH_VisualObjDef::buildPrs(), MESSAGE, MYDEBUG, SMESH_SubMeshObj::myMeshObj, and SMESH_MeshObj::Update().
|
protectedinherited |
References SMESH::GetEntitiesFromObject(), SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, and SMDSAbs_Volume.
|
virtualinherited |
Implements SMESH_VisualObjDef.
References SMESH_MeshObj::GetMesh(), and SMESH_SubMeshObj::myMeshObj.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by SMESH_MeshObj::NulData().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
Referenced by GetEntities(), GetNbEntities(), IsNodePrs(), SMESH_subMeshObj(), and ~SMESH_subMeshObj().
|
protectedinherited |
|
protectedinherited |