Version: 9.12.0
SMESH_Invalid_subMesh_i Class Reference

#include <SMESH_subMesh_i.hxx>

Inheritance diagram for SMESH_Invalid_subMesh_i:

Public Member Functions

 SMESH_Invalid_subMesh_i (PortableServer::POA_ptr thePOA, SMESH_Gen_i *gen_i, SMESH_Mesh_i *mesh_i, int localId, GEOM::GEOM_Object_ptr shape)
 
virtual GEOM::GEOM_Object_ptr GetSubShape ()
 
SMESH::smIdType GetNumberOfElements ()
 
SMESH::smIdType GetNumberOfNodes (CORBA::Boolean all)
 
SMESH::smIdType_arrayGetElementsId ()
 
SMESH::smIdType_arrayGetElementsByType (SMESH::ElementType theElemType)
 
SMESH::ElementType GetElementType (SMESH::smIdType id, bool iselem)
 
SMESH::smIdType_arrayGetNodesId ()
 
SMESH::SMESH_Mesh_ptr GetFather ()
 
CORBA::Long GetId ()
 
virtual SMESH::smIdType_arrayGetIDs ()
 Returns a sequence of all element IDs. More...
 
virtual SMESH::smIdType_arrayGetMeshInfo ()
 Returns number of mesh elements of each EntityType Result array of number of elements per EntityType Inherited from SMESH_IDSource. More...
 
virtual SMESH::smIdType_arrayGetNbElementsByType ()
 Returns number of mesh elements of each ElementType. More...
 
virtual SMESH::array_of_ElementTypeGetTypes ()
 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

GEOM::GEOM_Object_var _geom
 
SMESH_Gen_i_gen_i
 
int _localId
 
SMESH_Mesh_i_mesh_i
 
SMESH_PreMeshInfo_preMeshInfo
 

Constructor & Destructor Documentation

◆ SMESH_Invalid_subMesh_i()

SMESH_Invalid_subMesh_i::SMESH_Invalid_subMesh_i ( PortableServer::POA_ptr  thePOA,
SMESH_Gen_i gen_i,
SMESH_Mesh_i mesh_i,
int  localId,
GEOM::GEOM_Object_ptr  shape 
)

References _geom.

Member Function Documentation

◆ changeLocalId()

void SMESH_subMesh_i::changeLocalId ( int  localId)
protectedinherited

◆ changePreMeshInfo()

SMESH_PreMeshInfo* & SMESH_subMesh_i::changePreMeshInfo ( )
protectedinherited

◆ GetElementsByType()

◆ GetElementsId()

◆ GetElementType()

SMESH::ElementType SMESH_subMesh_i::GetElementType ( SMESH::smIdType  id,
bool  iselem 
)
inherited

◆ GetFather()

SMESH::SMESH_Mesh_ptr SMESH_subMesh_i::GetFather ( )
inherited

◆ GetId()

CORBA::Long SMESH_subMesh_i::GetId ( )
inherited

◆ GetIDs()

SMESH::smIdType_array * SMESH_subMesh_i::GetIDs ( )
virtualinherited

Returns a sequence of all element IDs.

References SMESH_subMesh_i::GetElementsId().

◆ GetMesh()

SMESH::SMESH_Mesh_ptr SMESH_subMesh_i::GetMesh ( )
virtualinherited

Returns the mesh.

References SMESH_subMesh_i::GetFather().

◆ GetMeshInfo()

SMESH::smIdType_array * SMESH_subMesh_i::GetMeshInfo ( )
virtualinherited

Returns number of mesh elements of each EntityType Result array of number of elements per EntityType Inherited from SMESH_IDSource.

References SMESH_subMesh_i::_localId, SMESH_Mesh_i::_mapSubMesh, SMESH_subMesh_i::_mesh_i, SMESH_subMesh_i::_preMeshInfo, SMESH_Mesh_i::CollectMeshInfo(), SMESH::Entity_Last, SMESH::Entity_Node, SMESH_PreMeshInfo::GetMeshInfo(), SMESH_subMesh_i::GetNumberOfNodes(), and getSubMeshes().

◆ GetNbElementsByType()

◆ GetNodesId()

SMESH::smIdType_array * SMESH_subMesh_i::GetNodesId ( )
inherited

◆ GetNumberOfElements()

◆ GetNumberOfNodes()

◆ GetSubShape()

GEOM::GEOM_Object_ptr SMESH_Invalid_subMesh_i::GetSubShape ( )
virtual

References _geom.

◆ GetTypes()

◆ GetVtkUgStream()

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

Returns mesh unstructed grid information.

◆ IsMeshInfoCorrect()

bool SMESH_subMesh_i::IsMeshInfoCorrect ( )
virtualinherited

Returns false if GetMeshInfo() returns incorrect information that may happen if mesh data is not yet fully loaded from the file of study.

References SMESH_subMesh_i::_preMeshInfo, and SMESH_PreMeshInfo::IsMeshInfoCorrect().

Field Documentation

◆ _gen_i

SMESH_Gen_i* SMESH_subMesh_i::_gen_i
protectedinherited

◆ _geom

GEOM::GEOM_Object_var SMESH_Invalid_subMesh_i::_geom
protected

◆ _localId

◆ _mesh_i

◆ _preMeshInfo