#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 () | |
CORBA::Long | GetNumberOfElements () throw (SALOME::SALOME_Exception) |
CORBA::Long | GetNumberOfNodes (CORBA::Boolean all) throw (SALOME::SALOME_Exception) |
SMESH::long_array * | GetElementsId () throw (SALOME::SALOME_Exception) |
SMESH::long_array * | GetElementsByType (SMESH::ElementType theElemType) throw (SALOME::SALOME_Exception) |
SMESH::ElementType | GetElementType (CORBA::Long id, bool iselem) throw (SALOME::SALOME_Exception) |
SMESH::long_array * | GetNodesId () throw (SALOME::SALOME_Exception) |
SMESH::SMESH_Mesh_ptr | GetFather () throw (SALOME::SALOME_Exception) |
GEOM::GEOM_Object_ptr | GetSubShape () throw (SALOME::SALOME_Exception) |
CORBA::Long | GetId () |
virtual SMESH::long_array * | GetIDs () |
Returns a sequence of all element IDs. More... | |
virtual SMESH::long_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::long_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 () |
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::long_array * SMESH_subMesh_i::GetElementsByType | ( | SMESH::ElementType | theElemType | ) | throw (SALOME::SALOME_Exception) |
References SMESH::ALL, SMDS_MeshElement::GetID(), getSubMeshes(), SMDS_MeshElement::GetType(), SMESH::NODE, and SMDS_MeshElement::nodesIterator().
Referenced by GetNodesId().
SMESH::long_array * SMESH_subMesh_i::GetElementsId | ( | ) | throw (SALOME::SALOME_Exception) |
References _localId, SMESH_Mesh_i::_mapSubMesh, _mesh_i, _preMeshInfo, SMESH_PreMeshInfo::FullLoadFromFile(), and getSubMeshes().
Referenced by GetIDs().
SMESH::ElementType SMESH_subMesh_i::GetElementType | ( | CORBA::Long | id, |
bool | iselem | ||
) | throw (SALOME::SALOME_Exception) |
SMESH::SMESH_Mesh_ptr SMESH_subMesh_i::GetFather | ( | ) | throw (SALOME::SALOME_Exception) |
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(), SMESH::NB_ELEMENT_TYPES, SMDS_MeshInfo::NbElements(), and SMESH::NODE.
SMESH::long_array * SMESH_subMesh_i::GetNodesId | ( | ) | throw (SALOME::SALOME_Exception) |
References GetElementsByType(), and SMESH::NODE.
CORBA::Long SMESH_subMesh_i::GetNumberOfElements | ( | ) | throw (SALOME::SALOME_Exception) |
References _localId, SMESH_Mesh_i::_mapSubMesh, _mesh_i, _preMeshInfo, getSubMeshes(), and SMDS_MeshInfo::NbElements().
CORBA::Long SMESH_subMesh_i::GetNumberOfNodes | ( | CORBA::Boolean | all | ) | throw (SALOME::SALOME_Exception) |
References SMESHDS_SubMesh::IsComplexSubmesh(), and SMESHDS_SubMesh::NbNodes().
Referenced by GetMeshInfo(), and GetNbElementsByType().
GEOM::GEOM_Object_ptr SMESH_subMesh_i::GetSubShape | ( | ) | throw (SALOME::SALOME_Exception) |
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, 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 |
|
protected |
Referenced by GetSubShape(), and SMESH_subMesh_i().
|
protected |
Referenced by GetElementsId(), GetId(), GetMeshInfo(), GetNbElementsByType(), GetNumberOfElements(), GetSubShape(), GetTypes(), and SMESH_subMesh_i().
|
protected |
Referenced by GetElementsId(), GetFather(), GetMeshInfo(), GetNbElementsByType(), GetNumberOfElements(), GetSubShape(), GetTypes(), and SMESH_subMesh_i().
|
protected |