SMESH_Group: base interface of group object. More...
import "SMESH_Group.idl";
Public Member Functions | |
void | SetName (in string name) |
Sets group name. More... | |
string | GetName () |
Returns group name. More... | |
ElementType | GetType () |
Returns group type (type of elements in the group) More... | |
long | Size () |
Returns the number of elements in the group. More... | |
boolean | IsEmpty () |
Returns true if the group does not contain any elements. More... | |
boolean | Contains (in long elem_id) |
returns true if the group contains an element with ID == <elem_id> More... | |
long | GetID (in long elem_index) |
Returns ID of an element at position <elem_index> counted from 1. More... | |
long_array | GetListOfID () |
Returns a sequence of all element IDs in the group. More... | |
long | GetNumberOfNodes () |
Get the number of nodes of cells included to the group For a nodal group returns the same value as Size() function. More... | |
long_array | GetNodeIDs () |
Get IDs of nodes of cells included to the group For a nodal group returns result of GetListOfID() function. More... | |
boolean | IsNodeInfoAvailable () |
Return true if GetNumberOfNodes() won't take a long time for computation. More... | |
void | SetColor (in SALOMEDS::Color theColor) |
Sets group color. More... | |
SALOMEDS::Color | GetColor () |
Returns group color. More... | |
void | SetColorNumber (in long color) |
Sets group color number (corresponds to the "hue" parameter of the color - must be in range [0, 360]) More... | |
long | GetColorNumber () |
Returns group color number (obsolete - use GetColor instead) (corresponds to the "hue" parameter of the color - must be in range [0, 360]) More... | |
boolean | IsInDependency (in SMESH_GroupBase other) |
Returns true if this group depends on the other via FT_BelongToMeshGroup predicate or vice versa. 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... | |
SMESH_Group: base interface of group object.
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.
long SMESH::SMESH_GroupBase::GetColorNumber | ( | ) |
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> counted from 1.
|
inherited |
Returns a sequence of all element IDs.
long_array SMESH::SMESH_GroupBase::GetListOfID | ( | ) |
Returns a sequence of all element IDs in the group.
|
inherited |
Returns the mesh.
|
inherited |
Returns number of mesh elements of each EntityType.
string SMESH::SMESH_GroupBase::GetName | ( | ) |
Returns group name.
Referenced by SMESH_GroupBase_i::GetName(), SMESH::SMESH_Mesh::HasDuplicatedGroupNamesMED(), and SMESH_GroupBase_i::SetName().
|
inherited |
Returns number of mesh elements of each ElementType.
long_array SMESH::SMESH_GroupBase::GetNodeIDs | ( | ) |
Get IDs of nodes of cells included to the group For a nodal group returns result of GetListOfID() function.
long SMESH::SMESH_GroupBase::GetNumberOfNodes | ( | ) |
Get the number of nodes of cells included to the group For a nodal group returns the same value as Size() function.
ElementType SMESH::SMESH_GroupBase::GetType | ( | ) |
Returns group type (type of elements in the group)
Referenced by SMESH::SMESH_Mesh::HasDuplicatedGroupNamesMED().
|
inherited |
Returns types of elements it contains.
It's empty if the SMESH_IDSource contains no IDs
|
inherited |
Returns mesh unstructed grid information.
boolean SMESH::SMESH_GroupBase::IsEmpty | ( | ) |
Returns true if the group does not contain any elements.
boolean SMESH::SMESH_GroupBase::IsInDependency | ( | in SMESH_GroupBase | other | ) |
Returns true
if this
group depends on the other via FT_BelongToMeshGroup predicate or vice versa.
|
inherited |
Returns false if GetMeshInfo() returns incorrect information that may happen if mesh data is not yet fully loaded from the file of study.
boolean SMESH::SMESH_GroupBase::IsNodeInfoAvailable | ( | ) |
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.
Referenced by SMESH_GroupBase_i::SetName().
long SMESH::SMESH_GroupBase::Size | ( | ) |
Returns the number of elements in the group.