#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_MeshObj *theMeshObj) | |
virtual | ~SMESH_SubMeshObj () |
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 int | GetNbEntities (const SMDSAbs_ElementType theType) const =0 |
virtual int | GetEntities (const SMDSAbs_ElementType, TEntityList &) const =0 |
virtual bool | IsNodePrs () const =0 |
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_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_MeshObj * | theMeshObj | ) |
|
virtual |
|
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 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 myMeshObj.
|
virtualinherited |
Implements SMESH_VisualObj.
|
virtualinherited |
Implements SMESH_VisualObj.
References SMDS_MeshElement::getVtkId().
|
pure virtualinherited |
Implemented in SMESH_subMeshObj, SMESH_GroupObj, and SMESH_MeshObj.
|
virtualinherited |
Implements SMESH_VisualObj.
|
virtualinherited |
Implements SMESH_VisualObj.
|
virtual |
Implements SMESH_VisualObjDef.
|
virtual |
Implements SMESH_VisualObjDef.
|
pure virtualinherited |
Implements SMESH_VisualObj.
Implemented in SMESH_subMeshObj, SMESH_GroupObj, and SMESH_MeshObj.
|
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().
|
pure virtualinherited |
Implemented in SMESH_subMeshObj, SMESH_GroupObj, and SMESH_MeshObj.
|
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, myMeshObj, and SMESH_MeshObj::Update().
|
protectedinherited |
References SMESH::GetEntitiesFromObject(), SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, and SMDSAbs_Volume.
|
virtual |
Implements SMESH_VisualObjDef.
References SMESH_MeshObj::GetMesh(), and myMeshObj.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by SMESH_MeshObj::NulData().
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |