Version: 8.3.0
SMESH::SMESH_subMesh Interface Reference

import "SMESH_Mesh.idl";

Inheritance diagram for SMESH::SMESH_subMesh:

Public Member Functions

long GetNumberOfElements () raises (SALOME::SALOME_Exception)
 
long GetNumberOfNodes (in boolean all) raises (SALOME::SALOME_Exception)
 
long_array GetElementsId () raises (SALOME::SALOME_Exception)
 
long_array GetElementsByType (in ElementType theType) raises (SALOME::SALOME_Exception)
 
ElementType GetElementType (in long id, in boolean iselem) raises (SALOME::SALOME_Exception)
 Returns type of mesh element (same as SMESH_Mesh::GetElementType() ) More...
 
long_array GetNodesId () raises (SALOME::SALOME_Exception)
 
GEOM::GEOM_Object GetSubShape () raises (SALOME::SALOME_Exception)
 Get geom shape the submesh is dedicated to. More...
 
SMESH_Mesh GetFather () raises (SALOME::SALOME_Exception)
 Get SMESH_Mesh which stores nodes coordinates & elements definition. More...
 
long GetId ()
 Get the internal Id. More...
 
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_subMesh::GetElementsByType ( in ElementType  theType) raises (SALOME::SALOME_Exception)
long_array SMESH::SMESH_subMesh::GetElementsId ( ) raises (SALOME::SALOME_Exception)
ElementType SMESH::SMESH_subMesh::GetElementType ( in long  id,
in boolean  iselem 
) raises (SALOME::SALOME_Exception)

Returns type of mesh element (same as SMESH_Mesh::GetElementType() )

SMESH_Mesh SMESH::SMESH_subMesh::GetFather ( ) raises (SALOME::SALOME_Exception)

Get SMESH_Mesh which stores nodes coordinates & elements definition.

long SMESH::SMESH_subMesh::GetId ( )

Get the internal Id.

Referenced by SMESH::SMESH_MeshEditor::ConvertFromQuadratic().

long_array SMESH::SMESH_IDSource::GetIDs ( )
inherited

Returns a sequence of all element IDs.

SMESH_Mesh SMESH::SMESH_IDSource::GetMesh ( )
inherited

Returns the mesh.

long_array SMESH::SMESH_IDSource::GetMeshInfo ( )
inherited

Returns number of mesh elements of each EntityType.

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

Returns number of mesh elements of each ElementType.

Returns
array of number of elements per ElementType
long_array SMESH::SMESH_subMesh::GetNodesId ( ) raises (SALOME::SALOME_Exception)
long SMESH::SMESH_subMesh::GetNumberOfElements ( ) raises (SALOME::SALOME_Exception)
long SMESH::SMESH_subMesh::GetNumberOfNodes ( in boolean  all) raises (SALOME::SALOME_Exception)
GEOM::GEOM_Object SMESH::SMESH_subMesh::GetSubShape ( ) raises (SALOME::SALOME_Exception)

Get geom shape the submesh is dedicated to.

array_of_ElementType SMESH::SMESH_IDSource::GetTypes ( )
inherited

Returns types of elements it contains.

It's empty if the SMESH_IDSource contains no IDs

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

Returns mesh unstructed grid information.

boolean SMESH::SMESH_IDSource::IsMeshInfoCorrect ( )
inherited

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