#include <SMESH_subMesh_i.hxx>

Public Member Functions | |
| SMESH_subMesh_i () | |
| SMESH_subMesh_i (PortableServer::POA_ptr thePOA, SMESH_Gen_i *gen_i, SMESH_Mesh_i *mesh_i, int localId) | |
| ~SMESH_subMesh_i () | |
| SMESH::smIdType | GetNumberOfElements () |
| SMESH::smIdType | GetNumberOfNodes (CORBA::Boolean all) |
| SMESH::smIdType_array * | GetElementsId () |
| SMESH::smIdType_array * | GetElementsByType (SMESH::ElementType theElemType) |
| SMESH::ElementType | GetElementType (SMESH::smIdType id, bool iselem) |
| SMESH::smIdType_array * | GetNodesId () |
| SMESH::SMESH_Mesh_ptr | GetFather () |
| GEOM::GEOM_Object_ptr | GetSubShape () |
| CORBA::Long | GetId () |
| virtual SMESH::smIdType_array * | GetIDs () |
| Returns a sequence of all element IDs. More... | |
| virtual SMESH::smIdType_array * | GetMeshInfo () |
| Returns number of mesh elements of each EntityType Result array of number of elements per EntityType Inherited from SMESH_IDSource. More... | |
| virtual SMESH::smIdType_array * | GetNbElementsByType () |
| Returns number of mesh elements of each ElementType. More... | |
| virtual SMESH::array_of_ElementType * | GetTypes () |
| Returns types of elements it contains. More... | |
| virtual SMESH::SMESH_Mesh_ptr | GetMesh () |
| Returns the mesh. More... | |
| virtual bool | IsMeshInfoCorrect () |
| Returns false if GetMeshInfo() returns incorrect information that may happen if mesh data is not yet fully loaded from the file of study. More... | |
| virtual SALOMEDS::TMPFile * | GetVtkUgStream () |
| Returns mesh unstructed grid information. More... | |
Protected Member Functions | |
| void | changeLocalId (int localId) |
| SMESH_PreMeshInfo *& | changePreMeshInfo () |
Protected Attributes | |
| SMESH_Gen_i * | _gen_i |
| int | _localId |
| SMESH_Mesh_i * | _mesh_i |
| SMESH_PreMeshInfo * | _preMeshInfo |
Friends | |
| class | SMESH_PreMeshInfo |
| void | SMESH_Mesh_i::CheckGeomGroupModif () |
| void | SMESH_Mesh_i::CheckGeomModif (bool) |
| SMESH_subMesh_i::SMESH_subMesh_i | ( | ) |
References MESSAGE.
| SMESH_subMesh_i::SMESH_subMesh_i | ( | PortableServer::POA_ptr | thePOA, |
| SMESH_Gen_i * | gen_i, | ||
| SMESH_Mesh_i * | mesh_i, | ||
| int | localId | ||
| ) |
References _gen_i, _localId, _mesh_i, and _preMeshInfo.
| SMESH_subMesh_i::~SMESH_subMesh_i | ( | ) |
References _preMeshInfo.
|
protected |
|
protected |
| SMESH::smIdType_array * SMESH_subMesh_i::GetElementsByType | ( | SMESH::ElementType | theElemType | ) |
| SMESH::smIdType_array * SMESH_subMesh_i::GetElementsId | ( | ) |
References _localId, SMESH_Mesh_i::_mapSubMesh, _mesh_i, _preMeshInfo, SMESH_PreMeshInfo::FullLoadFromFile(), and getSubMeshes().
Referenced by GetIDs().
| SMESH::ElementType SMESH_subMesh_i::GetElementType | ( | SMESH::smIdType | id, |
| bool | iselem | ||
| ) |
References _preMeshInfo, SMESH_PreMeshInfo::FullLoadFromFile(), and GetFather().
| SMESH::SMESH_Mesh_ptr SMESH_subMesh_i::GetFather | ( | ) |
References _mesh_i.
Referenced by GetElementType(), and GetMesh().
| CORBA::Long SMESH_subMesh_i::GetId | ( | ) |
References _localId.
|
virtual |
Returns a sequence of all element IDs.
References GetElementsId().
|
virtual |
Returns the mesh.
References GetFather().
|
virtual |
Returns number of mesh elements of each EntityType Result array of number of elements per EntityType Inherited from SMESH_IDSource.
References _localId, SMESH_Mesh_i::_mapSubMesh, _mesh_i, _preMeshInfo, SMESH_Mesh_i::CollectMeshInfo(), SMESH::Entity_Last, SMESH::Entity_Node, SMESH_PreMeshInfo::GetMeshInfo(), GetNumberOfNodes(), and getSubMeshes().
|
virtual |
Returns number of mesh elements of each ElementType.
References _localId, SMESH_Mesh_i::_mapSubMesh, _mesh_i, _preMeshInfo, GetNumberOfNodes(), getSubMeshes(), SMESH::NB_ELEMENT_TYPES, SMDS_MeshInfo::NbElements(), and SMESH::NODE.
| SMESH::smIdType_array * SMESH_subMesh_i::GetNodesId | ( | ) |
References GetElementsByType(), and SMESH::NODE.
| SMESH::smIdType SMESH_subMesh_i::GetNumberOfElements | ( | ) |
References _localId, SMESH_Mesh_i::_mapSubMesh, _mesh_i, _preMeshInfo, getSubMeshes(), and SMDS_MeshInfo::NbElements().
| SMESH::smIdType SMESH_subMesh_i::GetNumberOfNodes | ( | CORBA::Boolean | all | ) |
References _localId, SMESH_Mesh_i::_mapSubMesh, _mesh_i, _preMeshInfo, SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_subMesh::getDependsOnIterator(), SMESH_subMesh::GetSubMeshDS(), SMESHDS_SubMesh::IsComplexSubmesh(), SMDS_MeshInfo::NbNodes(), and SMESHDS_SubMesh::NbNodes().
Referenced by GetMeshInfo(), and GetNbElementsByType().
| GEOM::GEOM_Object_ptr SMESH_subMesh_i::GetSubShape | ( | ) |
References _gen_i, _localId, SMESH_Mesh_i::_mapSubMesh, _mesh_i, and SMESH_Gen_i::ShapeToGeomObject().
|
virtual |
Returns types of elements it contains.
References _localId, SMESH_Mesh_i::_mapSubMesh, _mesh_i, _preMeshInfo, getSubMeshes(), SMESH_PreMeshInfo::GetTypes(), and SMESH::NODE.
|
virtual |
Returns mesh unstructed grid information.
|
virtual |
Returns false if GetMeshInfo() returns incorrect information that may happen if mesh data is not yet fully loaded from the file of study.
References _preMeshInfo, and SMESH_PreMeshInfo::IsMeshInfoCorrect().
|
friend |
|
friend |
|
friend |
|
protected |
Referenced by GetSubShape(), and SMESH_subMesh_i().
|
protected |
|
protected |
|
protected |