SMESH_Group: interface of a standalone group object. More...
import "SMESH_Group.idl";
Public Member Functions | |
void | Clear () |
Clears the group's contents. More... | |
long | Add (in long_array elem_ids) |
Adds elements or nodes with specified identifiers to the group. More... | |
long | AddByPredicate (in Predicate thePredicate) |
Adds elements or nodes that match specified predicate to the group. More... | |
long | AddFrom (in SMESH_IDSource theSource) |
Add all elements or nodes from the specified source to the group. More... | |
long | Remove (in long_array elem_ids) |
Removes elements or nodes with specified identifiers from the group. More... | |
long | RemoveByPredicate (in Predicate thePredicate) |
Removes elements or nodes that match specified predicate from the group. More... | |
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: interface of a standalone group object.
long SMESH::SMESH_Group::Add | ( | in long_array | elem_ids | ) |
Adds elements or nodes with specified identifiers to the group.
long SMESH::SMESH_Group::AddByPredicate | ( | in Predicate | thePredicate | ) |
Adds elements or nodes that match specified predicate to the group.
long SMESH::SMESH_Group::AddFrom | ( | in SMESH_IDSource | theSource | ) |
Add all elements or nodes from the specified source to the group.
void SMESH::SMESH_Group::Clear | ( | ) |
Clears the group's contents.
|
inherited |
returns true if the group contains an element with ID == <elem_id>
|
inherited |
Returns group color.
|
inherited |
Returns group color number (obsolete - use GetColor instead) (corresponds to the "hue" parameter of the color - must be in range [0, 360])
|
inherited |
Returns ID of an element at position <elem_index> counted from 1.
|
inherited |
Returns a sequence of all element IDs.
|
inherited |
Returns a sequence of all element IDs in the group.
|
inherited |
Returns the mesh.
|
inherited |
Returns number of mesh elements of each EntityType.
|
inherited |
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.
|
inherited |
Get IDs of nodes of cells included to the group For a nodal group returns result of GetListOfID() function.
|
inherited |
Get the number of nodes of cells included to the group For a nodal group returns the same value as Size() function.
|
inherited |
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.
|
inherited |
Returns true if the group does not contain any elements.
|
inherited |
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.
|
inherited |
Return true if GetNumberOfNodes() won't take a long time for computation.
long SMESH::SMESH_Group::Remove | ( | in long_array | elem_ids | ) |
Removes elements or nodes with specified identifiers from the group.
long SMESH::SMESH_Group::RemoveByPredicate | ( | in Predicate | thePredicate | ) |
Removes elements or nodes that match specified predicate from the group.
|
inherited |
Sets group color.
|
inherited |
Sets group color number (corresponds to the "hue" parameter of the color - must be in range [0, 360])
|
inherited |
Sets group name.
Referenced by SMESH_GroupBase_i::SetName().
|
inherited |
Returns the number of elements in the group.