Version: 8.3.0
SMESH::SMESH_IDSource Interface Reference

import "SMESH_Mesh.idl";

Inheritance diagram for SMESH::SMESH_IDSource:

Public Member Functions

long_array GetIDs ()
 Returns a sequence of all element IDs. More...
 
long_array GetMeshInfo ()
 Returns number of mesh elements of each EntityType. More...
 
long_array GetNbElementsByType ()
 Returns number of mesh elements of each ElementType. More...
 
array_of_ElementType GetTypes ()
 Returns types of elements it contains. More...
 
SMESH_Mesh GetMesh ()
 Returns the mesh. More...
 
boolean 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...
 
SALOMEDS::TMPFile GetVtkUgStream ()
 Returns mesh unstructed grid information. More...
 

Member Function Documentation

long_array SMESH::SMESH_IDSource::GetIDs ( )

Returns a sequence of all element IDs.

SMESH_Mesh SMESH::SMESH_IDSource::GetMesh ( )

Returns the mesh.

long_array SMESH::SMESH_IDSource::GetMeshInfo ( )

Returns number of mesh elements of each EntityType.

Returns
array of number of elements per EntityType
long_array SMESH::SMESH_IDSource::GetNbElementsByType ( )

Returns number of mesh elements of each ElementType.

Returns
array of number of elements per ElementType
array_of_ElementType SMESH::SMESH_IDSource::GetTypes ( )

Returns types of elements it contains.

It's empty if the SMESH_IDSource contains no IDs

SALOMEDS::TMPFile SMESH::SMESH_IDSource::GetVtkUgStream ( )

Returns mesh unstructed grid information.

boolean SMESH::SMESH_IDSource::IsMeshInfoCorrect ( )

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