Version: 8.3.0
SMESH_subMesh_i Class Reference

#include <SMESH_subMesh_i.hxx>

Inheritance diagram for SMESH_subMesh_i:

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_arrayGetElementsId () throw (SALOME::SALOME_Exception)
 
SMESH::long_arrayGetElementsByType (SMESH::ElementType theElemType) throw (SALOME::SALOME_Exception)
 
SMESH::ElementType GetElementType (CORBA::Long id, bool iselem) throw (SALOME::SALOME_Exception)
 
SMESH::long_arrayGetNodesId () 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_arrayGetIDs ()
 Returns a sequence of all element IDs. More...
 
virtual SMESH::long_arrayGetMeshInfo ()
 Returns number of mesh elements of each EntityType Result array of number of elements per EntityType Inherited from SMESH_IDSource. More...
 
virtual SMESH::long_arrayGetNbElementsByType ()
 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 ()
 

Constructor & Destructor Documentation

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.

Member Function Documentation

void SMESH_subMesh_i::changeLocalId ( int  localId)
protected
SMESH_PreMeshInfo* & SMESH_subMesh_i::changePreMeshInfo ( )
protected
SMESH::long_array * SMESH_subMesh_i::GetElementsByType ( SMESH::ElementType  theElemType) throw (SALOME::SALOME_Exception)
SMESH::long_array * SMESH_subMesh_i::GetElementsId ( ) throw (SALOME::SALOME_Exception)
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)

References _mesh_i.

Referenced by GetMesh().

CORBA::Long SMESH_subMesh_i::GetId ( )

References _localId.

SMESH::long_array * SMESH_subMesh_i::GetIDs ( )
virtual

Returns a sequence of all element IDs.

References GetElementsId().

SMESH::SMESH_Mesh_ptr SMESH_subMesh_i::GetMesh ( )
virtual

Returns the mesh.

References GetFather().

SMESH::long_array * SMESH_subMesh_i::GetMeshInfo ( )
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().

SMESH::long_array * SMESH_subMesh_i::GetNbElementsByType ( )
virtual
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)
CORBA::Long SMESH_subMesh_i::GetNumberOfNodes ( CORBA::Boolean  all) throw (SALOME::SALOME_Exception)
GEOM::GEOM_Object_ptr SMESH_subMesh_i::GetSubShape ( ) throw (SALOME::SALOME_Exception)
SMESH::array_of_ElementType * SMESH_subMesh_i::GetTypes ( )
virtual

Returns types of elements it contains.

References _localId, SMESH_Mesh_i::_mapSubMesh, _mesh_i, _preMeshInfo, SMESH_PreMeshInfo::GetTypes(), and SMESH::NODE.

SALOMEDS::TMPFile * SMESH_subMesh_i::GetVtkUgStream ( )
virtual

Returns mesh unstructed grid information.

bool SMESH_subMesh_i::IsMeshInfoCorrect ( )
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().

Friends And Related Function Documentation

friend class SMESH_PreMeshInfo
friend

Field Documentation

SMESH_Gen_i* SMESH_subMesh_i::_gen_i
protected

Referenced by GetSubShape(), and SMESH_subMesh_i().