Back to index

salome-smesh  6.5.0
Public Member Functions
SMESH::SMESH_GroupBase Interface Reference

SMESH_Group: base interface of group object. More...

import "SMESH_Group.idl";

Inheritance diagram for SMESH::SMESH_GroupBase:
Inheritance graph
[legend]
Collaboration diagram for SMESH::SMESH_GroupBase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void SetName (in string name)
 Sets group name.
string GetName ()
 Returns group name.
ElementType GetType ()
 Returns group type (type of elements in the group)
long Size ()
 Returns the number of elements in the group.
boolean IsEmpty ()
 Returns true if the group does not contain any elements.
boolean Contains (in long elem_id)
 returns true if the group contains an element with ID == <elem_id>
long GetID (in long elem_index)
 Returns ID of an element at position <elem_index>
long_array GetListOfID ()
 Returns a sequence of all element IDs in the group.
long GetNumberOfNodes ()
 Get the number of nodes of cells included to the group For a nodal group returns the same value as Size() function.
long_array GetNodeIDs ()
 Get IDs of nodes of cells included to the group For a nodal group returns result of GetListOfID() function.
boolean IsNodeInfoAvailable ()
 Return true if GetNumberOfNodes() won't take a long time for computation.
void SetColor (in SALOMEDS::Color theColor)
 Sets group color.
SALOMEDS::Color GetColor ()
 Returns group color.
void SetColorNumber (in long color)
 Sets group color number (corresponds to the "hue" parameter of the color - must be in range [0, 360])
long GetColorNumber ()
 Returns group color number (obsolete - use GetColor instead) (corresponds to the "hue" parameter of the color - must be in range [0, 360])
long_array GetIDs ()
 Returns a sequence of all element IDs.
long_array GetMeshInfo ()
 Returns statistic of mesh elements.
array_of_ElementType GetTypes ()
 Returns types of elements it contains.
SMESH_Mesh GetMesh ()
 Returns the mesh.
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.

Detailed Description

SMESH_Group: base interface of group object.

Definition at line 44 of file SMESH_Group.idl.


Member Function Documentation

boolean SMESH::SMESH_GroupBase::Contains ( in long  elem_id)

returns true if the group contains an element with ID == <elem_id>

SALOMEDS::Color SMESH::SMESH_GroupBase::GetColor ( )

Returns group color.

Returns group color number (obsolete - use GetColor instead) (corresponds to the "hue" parameter of the color - must be in range [0, 360])

long SMESH::SMESH_GroupBase::GetID ( in long  elem_index)

Returns ID of an element at position <elem_index>

Returns a sequence of all element IDs.

Returns a sequence of all element IDs in the group.

Returns the mesh.

Here is the caller graph for this function:

Returns statistic of mesh elements.

Returns:
array of number enityties by index of EntityType

Returns group name.

Here is the caller graph for this function:

Get IDs of nodes of cells included to the group For a nodal group returns result of GetListOfID() function.

Get the number of nodes of cells included to the group For a nodal group returns the same value as Size() function.

Returns group type (type of elements in the group)

Here is the caller graph for this function:

Returns types of elements it contains.

It's empty if the SMESH_IDSource contains no IDs

Returns true if the group does not contain any elements.

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

Return true if GetNumberOfNodes() won't take a long time for computation.

void SMESH::SMESH_GroupBase::SetColor ( in SALOMEDS::Color  theColor)

Sets group color.

void SMESH::SMESH_GroupBase::SetColorNumber ( in long  color)

Sets group color number (corresponds to the "hue" parameter of the color - must be in range [0, 360])

void SMESH::SMESH_GroupBase::SetName ( in string  name)

Sets group name.

Returns the number of elements in the group.


The documentation for this interface was generated from the following file: