import "SMESH_Mesh.idl";

Public Member Functions | |
| boolean | HasShapeToMesh () raises (SALOME::SALOME_Exception) |
| Return true if there is a geometry to be meshed. | |
| GEOM::GEOM_Object | GetShapeToMesh () raises (SALOME::SALOME_Exception) |
| Get geom shape to mesh. | |
| void | Clear () raises (SALOME::SALOME_Exception) |
| Remove all nodes and elements. | |
| void | ClearSubMesh (in long ShapeID) raises (SALOME::SALOME_Exception) |
| Remove all nodes and elements of submesh. | |
| SMESH_subMesh | GetSubMesh (in GEOM::GEOM_Object aSubObject, in string name) raises (SALOME::SALOME_Exception) |
| Get the subMesh object associated to a subShape. | |
| void | RemoveSubMesh (in SMESH_subMesh aSubMesh) raises (SALOME::SALOME_Exception) |
| Remove a submesh. | |
| SMESH_Group | CreateGroup (in ElementType elem_type, in string name) raises (SALOME::SALOME_Exception) |
| Create a group. | |
| SMESH_GroupOnGeom | CreateGroupFromGEOM (in ElementType elem_type, in string name, in GEOM::GEOM_Object theGeomObject) raises (SALOME::SALOME_Exception) |
| Create a group from geometry group. | |
| void | RemoveGroup (in SMESH_GroupBase aGroup) raises (SALOME::SALOME_Exception) |
| Remove a group. | |
| void | RemoveGroupWithContents (in SMESH_GroupBase aGroup) raises (SALOME::SALOME_Exception) |
| Remove group with its contents. | |
| ListOfGroups | GetGroups () raises (SALOME::SALOME_Exception) |
| Get the list of groups existing in the mesh. | |
| long | NbGroups () raises (SALOME::SALOME_Exception) |
| Get number of groups existing in the mesh. | |
| SMESH_Group | UnionGroups (in SMESH_GroupBase aGroup1, in SMESH_GroupBase aGroup2, in string name) raises (SALOME::SALOME_Exception) |
| Union of two groups New group is created. | |
| SMESH_Group | UnionListOfGroups (in ListOfGroups aListOfGroups, in string name) raises (SALOME::SALOME_Exception) |
| Union of list of groups New group is created. | |
| SMESH_Group | IntersectGroups (in SMESH_GroupBase aGroup1, in SMESH_GroupBase aGroup2, in string name) raises (SALOME::SALOME_Exception) |
| Intersection of two groups New group is created. | |
| SMESH_Group | IntersectListOfGroups (in ListOfGroups aListOfGroups, in string name) raises (SALOME::SALOME_Exception) |
| Intersection of list of groups New group is created. | |
| SMESH_Group | CutGroups (in SMESH_GroupBase aMainGroup, in SMESH_GroupBase aToolGroup, in string name) raises (SALOME::SALOME_Exception) |
| Cut of two groups New group is created. | |
| SMESH_Group | CutListOfGroups (in ListOfGroups aMainGroups, in ListOfGroups aToolGroups, in string name) raises (SALOME::SALOME_Exception) |
| Cut of lists of groups New group is created. | |
| SMESH_Group | CreateDimGroup (in ListOfGroups aListOfGroups, in ElementType anElemType, in string name) raises (SALOME::SALOME_Exception) |
| Create groups of entities from existing groups of superior dimensions New group is created. | |
| SMESH_Group | ConvertToStandalone (in SMESH_GroupOnGeom theGeomGroup) raises (SALOME::SALOME_Exception) |
| Convert group on geometry into standalone group. | |
| Hypothesis_Status | AddHypothesis (in GEOM::GEOM_Object aSubObject, in SMESH_Hypothesis anHyp) raises (SALOME::SALOME_Exception) |
| Add hypothesis to the mesh, under a particular subShape (or the main shape itself) The Add method is only used to prepare the build of the mesh and store the algorithms and associated parameters. | |
| Hypothesis_Status | RemoveHypothesis (in GEOM::GEOM_Object aSubObject, in SMESH_Hypothesis anHyp) raises (SALOME::SALOME_Exception) |
| Remove an hypothesis previouly added with AddHypothesis. | |
| ListOfHypothesis | GetHypothesisList (in GEOM::GEOM_Object aSubObject) raises (SALOME::SALOME_Exception) |
| Get the list of hypothesis added on a subShape. | |
| log_array | GetLog (in boolean clearAfterGet) raises (SALOME::SALOME_Exception) |
| Get the log of nodes and elements added or removed since previous clear of the log. | |
| void | ClearLog () raises (SALOME::SALOME_Exception) |
| Clear the log of nodes and elements added or removed since previous clear. | |
| void | SetAutoColor (in boolean theAutoColor) raises (SALOME::SALOME_Exception) |
| Toggle auto color mode on the object. | |
| boolean | GetAutoColor () raises (SALOME::SALOME_Exception) |
| Get flag of object's auto color mode. | |
| long | GetId () |
| Get the internal Id. | |
| long | GetStudyId () |
| Get the study Id. | |
| SMESH_MeshEditor | GetMeshEditor () raises (SALOME::SALOME_Exception) |
| Obtain instance of SMESH_MeshEditor. | |
| SMESH_MeshEditor | GetMeshEditPreviewer () raises (SALOME::SALOME_Exception) |
| Return SMESH_MeshEditor that would not modify the mesh but fill MeshPreviewStruct. | |
| boolean | HasModificationsToDiscard () raises (SALOME::SALOME_Exception) |
| Return true if the mesh has been edited since a total re-compute and those modifications may prevent successful partial re-compute. | |
| boolean | HasDuplicatedGroupNamesMED () |
| Check group names for duplications. | |
| void | ExportToMEDX (in string file, in boolean auto_groups, in MED_VERSION theVersion, in boolean overwrite) raises (SALOME::SALOME_Exception) |
Export Mesh to different MED Formats
| |
| void | ExportToMED (in string file, in boolean auto_groups, in MED_VERSION theVersion) raises (SALOME::SALOME_Exception) |
| Export Mesh to different MED Formats Works, just the same as ExportToMEDX, with overwrite parameter equal to true. | |
| void | ExportMED (in string file, in boolean auto_groups) raises (SALOME::SALOME_Exception) |
| Export Mesh to MED_V2_1 MED format Works, just the same as ExportToMEDX with MED_VERSION parameter equal to MED_V2_1 and overwrite parameter equal to true The method is kept in order to support old functionality. | |
| string | GetVersionString (in MED_VERSION version, in short nbDigits) |
| Return string representation of a MED file version comprising nbDigits. | |
| void | ExportDAT (in string file) raises (SALOME::SALOME_Exception) |
| Export Mesh to DAT, UNV and STL Formats (UNV supported version is I-DEAS 10) | |
| void | ExportUNV (in string file) raises (SALOME::SALOME_Exception) |
| void | ExportSTL (in string file, in boolean isascii) raises (SALOME::SALOME_Exception) |
| SALOME_MED::MESH | GetMEDMesh () raises (SALOME::SALOME_Exception) |
| Get MED Mesh. | |
| long | NbNodes () raises (SALOME::SALOME_Exception) |
| Get informations about mesh contents. | |
| long | NbElements () raises (SALOME::SALOME_Exception) |
| long | Nb0DElements () raises (SALOME::SALOME_Exception) |
| long | NbEdges () raises (SALOME::SALOME_Exception) |
| long | NbEdgesOfOrder (in ElementOrder order) raises (SALOME::SALOME_Exception) |
| long | NbFaces () raises (SALOME::SALOME_Exception) |
| long | NbFacesOfOrder (in ElementOrder order) raises (SALOME::SALOME_Exception) |
| long | NbTriangles () raises (SALOME::SALOME_Exception) |
| long | NbTrianglesOfOrder (in ElementOrder order) raises (SALOME::SALOME_Exception) |
| long | NbQuadrangles () raises (SALOME::SALOME_Exception) |
| long | NbQuadranglesOfOrder (in ElementOrder order) raises (SALOME::SALOME_Exception) |
| long | NbPolygons () raises (SALOME::SALOME_Exception) |
| long | NbVolumes () raises (SALOME::SALOME_Exception) |
| long | NbVolumesOfOrder (in ElementOrder order) raises (SALOME::SALOME_Exception) |
| long | NbTetras () raises (SALOME::SALOME_Exception) |
| long | NbTetrasOfOrder (in ElementOrder order) raises (SALOME::SALOME_Exception) |
| long | NbHexas () raises (SALOME::SALOME_Exception) |
| long | NbHexasOfOrder (in ElementOrder order) raises (SALOME::SALOME_Exception) |
| long | NbPyramids () raises (SALOME::SALOME_Exception) |
| long | NbPyramidsOfOrder (in ElementOrder order) raises (SALOME::SALOME_Exception) |
| long | NbPrisms () raises (SALOME::SALOME_Exception) |
| long | NbPrismsOfOrder (in ElementOrder order) raises (SALOME::SALOME_Exception) |
| long | NbPolyhedrons () raises (SALOME::SALOME_Exception) |
| long | NbSubMesh () raises (SALOME::SALOME_Exception) |
| long_array | GetElementsId () raises (SALOME::SALOME_Exception) |
| long_array | GetElementsByType (in ElementType theType) raises (SALOME::SALOME_Exception) |
| long_array | GetNodesId () raises (SALOME::SALOME_Exception) |
| ElementType | GetElementType (in long id, in boolean iselem) raises (SALOME::SALOME_Exception) |
| Returns type of mesh element. | |
| EntityType | GetElementGeomType (in long id) raises (SALOME::SALOME_Exception) |
| long_array | GetSubMeshElementsId (in long ShapeID) raises (SALOME::SALOME_Exception) |
| long_array | GetSubMeshNodesId (in long ShapeID, in boolean all) raises (SALOME::SALOME_Exception) |
| ElementType | GetSubMeshElementType (in long ShapeID) raises (SALOME::SALOME_Exception) |
| submesh_array_array | GetMeshOrder () |
| Methods to set meshing order of submeshes. | |
| boolean | SetMeshOrder (in submesh_array_array theSubMeshArray) |
| Set submesh object order. | |
| string | Dump () |
| Get mesh description. | |
| long long | GetMeshPtr () |
| Get mesh pointer. | |
| double_array | GetNodeXYZ (in long id) |
| Get XYZ coordinates of node as list of double If there is not node for given ID - returns empty list. | |
| long_array | GetNodeInverseElements (in long id) |
| For given node returns list of IDs of inverse elements If there is not node for given ID - returns empty list. | |
| NodePosition | GetNodePosition (in long NodeID) |
| Return position of a node on shape. | |
| long | GetShapeID (in long id) |
| If given element is node returns IDs of shape from position If there is not node for given ID - returns -1. | |
| long | GetShapeIDForElem (in long id) |
| For given element returns ID of result shape after ::FindShape() from SMESH_MeshEditor If there is not element for given ID - returns -1. | |
| long | GetElemNbNodes (in long id) |
| Returns number of nodes for given element If there is not element for given ID - returns -1. | |
| long_array | GetElemNodes (in long id) |
| Returns IDs of nodes of given element. | |
| long | GetElemNode (in long id, in long index) |
| Returns ID of node by given index for given element If there is not element for given ID - returns -1 If there is not node for given index - returns -2. | |
| boolean | IsMediumNode (in long ide, in long idn) |
| Returns true if given node is medium node in given quadratic element. | |
| boolean | IsMediumNodeOfAnyElem (in long idn, in ElementType elem_type) |
| Returns true if given node is medium node in one of quadratic elements. | |
| long | ElemNbEdges (in long id) |
| Returns number of edges for given element. | |
| long | ElemNbFaces (in long id) |
| Returns number of faces for given element. | |
| long_array | GetElemFaceNodes (in long elemId, in short faceIndex) |
| Returns nodes of given face (counted from zero) for given volumic element. | |
| long | FindElementByNodes (in long_array nodes) |
| Returns an element based on all given nodes. | |
| boolean | IsPoly (in long id) |
| Returns true if given element is polygon. | |
| boolean | IsQuadratic (in long id) |
| Returns true if given element is quadratic. | |
| double_array | BaryCenter (in long id) |
| Returns XYZ coordinates of bary center for given element as list of double If there is not element for given ID - returns empty list. | |
| SALOME_MED::MedFileInfo | GetMEDFileInfo () |
| Gets information about imported MED file. | |
| void | SetParameters (in string theParameters) |
| Sets list of notebook variables used for Mesh operations separated by ":" symbol. | |
| string | GetParameters () |
| Returns list of notebook variables used for Mesh operations separated by ":" symbol. | |
| string_array | GetLastParameters () |
| Returns list of notebook variables used for last Mesh operation. | |
| long_array | GetIDs () |
| Returns a sequence of all element IDs. | |
| long_array | GetMeshInfo () |
| Returns statistic of mesh elements Result array of number enityties. | |
| array_of_ElementType | GetTypes () |
| Returns types of elements it contains. | |
| SMESH_Mesh | GetMesh () |
| Returns the mesh. | |
Definition at line 286 of file SMESH_Mesh.idl.
| Hypothesis_Status SMESH.SMESH_Mesh.AddHypothesis | ( | in GEOM::GEOM_Object | aSubObject, |
| in SMESH_Hypothesis | anHyp | ||
| ) | raises (SALOME::SALOME_Exception) |
Add hypothesis to the mesh, under a particular subShape (or the main shape itself) The Add method is only used to prepare the build of the mesh and store the algorithms and associated parameters.
Actual job of mesh the shape is done by MESH_Gen.
| double_array SMESH.SMESH_Mesh.BaryCenter | ( | in long | id | ) |
Returns XYZ coordinates of bary center for given element as list of double If there is not element for given ID - returns empty list.
| void SMESH_Pattern::Clear | ( | ) | raises (SALOME::SALOME_Exception) |
Remove all nodes and elements.
Definition at line 279 of file SMESH_Mesh.cxx.
References SMESH_subMesh.CHECK_COMPUTE_STATE, and SMESH_subMesh.CLEAN.
{
// clear mesh data
_myMeshDS->ClearMesh();
// update compute state of submeshes
if ( SMESH_subMesh *sm = GetSubMeshContaining( GetShapeToMesh() ) )
{
sm->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
sm->ComputeSubMeshStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
sm->ComputeStateEngine( SMESH_subMesh::CLEAN ); // for event listeners (issue 0020918)
sm->ComputeSubMeshStateEngine( SMESH_subMesh::CLEAN );
}
_isModified = false;
}
| void SMESH_Mesh::ClearLog | ( | ) | raises (SALOME::SALOME_Exception) |
Clear the log of nodes and elements added or removed since previous clear.
Must be used immediately after GetLog if clearAfterGet is false.
Definition at line 765 of file SMESH_Mesh.cxx.
| void SMESH.SMESH_Mesh.ClearSubMesh | ( | in long | ShapeID | ) | raises (SALOME::SALOME_Exception) |
Remove all nodes and elements of submesh.
| SMESH_Group SMESH.SMESH_Mesh.ConvertToStandalone | ( | in SMESH_GroupOnGeom | theGeomGroup | ) | raises (SALOME::SALOME_Exception) |
Convert group on geometry into standalone group.
| SMESH_Group SMESH.SMESH_Mesh.CreateDimGroup | ( | in ListOfGroups | aListOfGroups, |
| in ElementType | anElemType, | ||
| in string | name | ||
| ) | raises (SALOME::SALOME_Exception) |
Create groups of entities from existing groups of superior dimensions New group is created.
System 1) extracts all nodes from each group, 2) combines all elements of specified dimension laying on these nodes.
| SMESH_Group SMESH.SMESH_Mesh.CreateGroup | ( | in ElementType | elem_type, |
| in string | name | ||
| ) | raises (SALOME::SALOME_Exception) |
Create a group.
| SMESH_GroupOnGeom SMESH.SMESH_Mesh.CreateGroupFromGEOM | ( | in ElementType | elem_type, |
| in string | name, | ||
| in GEOM::GEOM_Object | theGeomObject | ||
| ) | raises (SALOME::SALOME_Exception) |
Create a group from geometry group.
| SMESH_Group SMESH.SMESH_Mesh.CutGroups | ( | in SMESH_GroupBase | aMainGroup, |
| in SMESH_GroupBase | aToolGroup, | ||
| in string | name | ||
| ) | raises (SALOME::SALOME_Exception) |
Cut of two groups New group is created.
All mesh elements that are present in main group but do not present in tool group are added to the new one
| SMESH_Group SMESH.SMESH_Mesh.CutListOfGroups | ( | in ListOfGroups | aMainGroups, |
| in ListOfGroups | aToolGroups, | ||
| in string | name | ||
| ) | raises (SALOME::SALOME_Exception) |
Cut of lists of groups New group is created.
All mesh elements that are present in main groups but do not present in tool groups are added to the new one
| string SMESH.SMESH_Mesh.Dump | ( | ) |
Get mesh description.
| long SMESH.SMESH_Mesh.ElemNbEdges | ( | in long | id | ) |
Returns number of edges for given element.
| long SMESH.SMESH_Mesh.ElemNbFaces | ( | in long | id | ) |
Returns number of faces for given element.
| void SMESH.SMESH_Mesh.ExportDAT | ( | in string | file | ) | raises (SALOME::SALOME_Exception) |
| void SMESH.SMESH_Mesh.ExportMED | ( | in string | file, |
| in boolean | auto_groups | ||
| ) | raises (SALOME::SALOME_Exception) |
Export Mesh to MED_V2_1 MED format Works, just the same as ExportToMEDX with MED_VERSION parameter equal to MED_V2_1 and overwrite parameter equal to true The method is kept in order to support old functionality.
| void SMESH.SMESH_Mesh.ExportSTL | ( | in string | file, |
| in boolean | isascii | ||
| ) | raises (SALOME::SALOME_Exception) |
| void SMESH.SMESH_Mesh.ExportToMED | ( | in string | file, |
| in boolean | auto_groups, | ||
| in MED_VERSION | theVersion | ||
| ) | raises (SALOME::SALOME_Exception) |
Export Mesh to different MED Formats Works, just the same as ExportToMEDX, with overwrite parameter equal to true.
The method is kept in order to support old functionality
| void SMESH.SMESH_Mesh.ExportToMEDX | ( | in string | file, |
| in boolean | auto_groups, | ||
| in MED_VERSION | theVersion, | ||
| in boolean | overwrite | ||
| ) | raises (SALOME::SALOME_Exception) |
Export Mesh to different MED Formats
; the typical use is auto_groups=false.
| void SMESH.SMESH_Mesh.ExportUNV | ( | in string | file | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.FindElementByNodes | ( | in long_array | nodes | ) |
Returns an element based on all given nodes.
| bool SMESH_Mesh::GetAutoColor | ( | ) | raises (SALOME::SALOME_Exception) |
Get flag of object's auto color mode.
Definition at line 1015 of file SMESH_Mesh.cxx.
{
Unexpect aCatch(SalomeException);
return _isAutoColor;
}
| EntityType SMESH.SMESH_Mesh.GetElementGeomType | ( | in long | id | ) | raises (SALOME::SALOME_Exception) |
| long_array SMESH.SMESH_Mesh.GetElementsByType | ( | in ElementType | theType | ) | raises (SALOME::SALOME_Exception) |
| long_array SMESH.SMESH_Mesh.GetElementsId | ( | ) | raises (SALOME::SALOME_Exception) |
| ElementType SMESH.SMESH_Mesh.GetElementType | ( | in long | id, |
| in boolean | iselem | ||
| ) | raises (SALOME::SALOME_Exception) |
Returns type of mesh element.
| long_array SMESH.SMESH_Mesh.GetElemFaceNodes | ( | in long | elemId, |
| in short | faceIndex | ||
| ) |
Returns nodes of given face (counted from zero) for given volumic element.
| long SMESH.SMESH_Mesh.GetElemNbNodes | ( | in long | id | ) |
Returns number of nodes for given element If there is not element for given ID - returns -1.
| long SMESH.SMESH_Mesh.GetElemNode | ( | in long | id, |
| in long | index | ||
| ) |
Returns ID of node by given index for given element If there is not element for given ID - returns -1 If there is not node for given index - returns -2.
| long_array SMESH.SMESH_Mesh.GetElemNodes | ( | in long | id | ) |
Returns IDs of nodes of given element.
| const std::vector< SMESH_Group * > & StdMeshers_ImportSource1D::GetGroups | ( | ) | raises (SALOME::SALOME_Exception) |
Get the list of groups existing in the mesh.
Returns groups to import elements from.
Definition at line 199 of file StdMeshers_ImportSource.cxx.
{
// filter off deleted groups
vector<SMESH_Group*> okGroups = getValidGroups( _groups,
_gen->GetStudyContext(_studyId) );
if ( okGroups.size() != _groups.size() )
((StdMeshers_ImportSource1D*)this)->_groups = okGroups;
return _groups;
}
| ListOfHypothesis SMESH.SMESH_Mesh.GetHypothesisList | ( | in GEOM::GEOM_Object | aSubObject | ) | raises (SALOME::SALOME_Exception) |
Get the list of hypothesis added on a subShape.
| long SMESH.SMESH_Mesh.GetId | ( | ) |
Get the internal Id.
| long_array SMESH.SMESH_IDSource.GetIDs | ( | ) | [inherited] |
Returns a sequence of all element IDs.
| string_array SMESH.SMESH_Mesh.GetLastParameters | ( | ) |
Returns list of notebook variables used for last Mesh operation.
| log_array SMESH.SMESH_Mesh.GetLog | ( | in boolean | clearAfterGet | ) | raises (SALOME::SALOME_Exception) |
Get the log of nodes and elements added or removed since previous clear of the log.
| SALOME_MED::MedFileInfo SMESH.SMESH_Mesh.GetMEDFileInfo | ( | ) |
Gets information about imported MED file.
| SALOME_MED::MESH SMESH.SMESH_Mesh.GetMEDMesh | ( | ) | raises (SALOME::SALOME_Exception) |
Get MED Mesh.
| SMESH_Mesh SMESH.SMESH_IDSource.GetMesh | ( | ) | [inherited] |
Returns the mesh.
| SMESH_MeshEditor SMESH.SMESH_Mesh.GetMeshEditor | ( | ) | raises (SALOME::SALOME_Exception) |
Obtain instance of SMESH_MeshEditor.
| SMESH_MeshEditor SMESH.SMESH_Mesh.GetMeshEditPreviewer | ( | ) | raises (SALOME::SALOME_Exception) |
Return SMESH_MeshEditor that would not modify the mesh but fill MeshPreviewStruct.
| long_array SMESH.SMESH_IDSource.GetMeshInfo | ( | ) | [inherited] |
Returns statistic of mesh elements Result array of number enityties.
| submesh_array_array SMESH.SMESH_Mesh.GetMeshOrder | ( | ) |
Methods to set meshing order of submeshes.
Return submesh objects list in meshing order
| long long SMESH.SMESH_Mesh.GetMeshPtr | ( | ) |
Get mesh pointer.
| long_array SMESH.SMESH_Mesh.GetNodeInverseElements | ( | in long | id | ) |
For given node returns list of IDs of inverse elements If there is not node for given ID - returns empty list.
| NodePosition SMESH.SMESH_Mesh.GetNodePosition | ( | in long | NodeID | ) |
Return position of a node on shape.
| long_array SMESH.SMESH_Mesh.GetNodesId | ( | ) | raises (SALOME::SALOME_Exception) |
| double_array SMESH.SMESH_Mesh.GetNodeXYZ | ( | in long | id | ) |
Get XYZ coordinates of node as list of double If there is not node for given ID - returns empty list.
| string SMESH.SMESH_Mesh.GetParameters | ( | ) |
Returns list of notebook variables used for Mesh operations separated by ":" symbol.
| long SMESH.SMESH_Mesh.GetShapeID | ( | in long | id | ) |
If given element is node returns IDs of shape from position If there is not node for given ID - returns -1.
| long SMESH.SMESH_Mesh.GetShapeIDForElem | ( | in long | id | ) |
For given element returns ID of result shape after ::FindShape() from SMESH_MeshEditor If there is not element for given ID - returns -1.
| GEOM::GEOM_Object SMESH.SMESH_Mesh.GetShapeToMesh | ( | ) | raises (SALOME::SALOME_Exception) |
Get geom shape to mesh.
A result sould not be nil. Use HasShapeToMesh() to know if a returned shape
| int SMESH_Hypothesis::GetStudyId | ( | ) |
| SMESH_subMesh SMESH.SMESH_Mesh.GetSubMesh | ( | in GEOM::GEOM_Object | aSubObject, |
| in string | name | ||
| ) | raises (SALOME::SALOME_Exception) |
Get the subMesh object associated to a subShape.
The subMesh object gives access to nodes and elements IDs. SubMesh will be used instead of SubShape in a next idl version to adress a specific subMesh...
| long_array SMESH.SMESH_Mesh.GetSubMeshElementsId | ( | in long | ShapeID | ) | raises (SALOME::SALOME_Exception) |
| ElementType SMESH.SMESH_Mesh.GetSubMeshElementType | ( | in long | ShapeID | ) | raises (SALOME::SALOME_Exception) |
| long_array SMESH.SMESH_Mesh.GetSubMeshNodesId | ( | in long | ShapeID, |
| in boolean | all | ||
| ) | raises (SALOME::SALOME_Exception) |
| array_of_ElementType SMESH.SMESH_IDSource.GetTypes | ( | ) | [inherited] |
Returns types of elements it contains.
It's empty if the SMESH_IDSource contains no IDs
| string SMESH.SMESH_Mesh.GetVersionString | ( | in MED_VERSION | version, |
| in short | nbDigits | ||
| ) |
Return string representation of a MED file version comprising nbDigits.
| bool SMESH_Mesh::HasDuplicatedGroupNamesMED | ( | ) |
Check group names for duplications.
Export* methods.
Consider maximum group name length stored in MED file.
To store mesh contents on disk in different formats.
Definition at line 1078 of file SMESH_Mesh.cxx.
References SMESH_controls.aGroup, SMESH.SMESH_GroupBase.GetName(), SMESH.SMESH_GroupBase.GetType(), and MAX_MED_GROUP_NAME_LENGTH.
{
//set<string> aGroupNames; // Corrected for Mantis issue 0020028
map< SMDSAbs_ElementType, set<string> > aGroupNames;
for ( map<int, SMESH_Group*>::iterator it = _mapGroup.begin(); it != _mapGroup.end(); it++ )
{
SMESH_Group* aGroup = it->second;
SMDSAbs_ElementType aType = aGroup->GetGroupDS()->GetType();
string aGroupName = aGroup->GetName();
aGroupName.resize(MAX_MED_GROUP_NAME_LENGTH);
if (!aGroupNames[aType].insert(aGroupName).second)
return true;
}
return false;
}
| boolean SMESH.SMESH_Mesh.HasModificationsToDiscard | ( | ) | raises (SALOME::SALOME_Exception) |
Return true if the mesh has been edited since a total re-compute and those modifications may prevent successful partial re-compute.
| boolean SMESH.SMESH_Mesh.HasShapeToMesh | ( | ) | raises (SALOME::SALOME_Exception) |
Return true if there is a geometry to be meshed.
| SMESH_Group SMESH.SMESH_Mesh.IntersectGroups | ( | in SMESH_GroupBase | aGroup1, |
| in SMESH_GroupBase | aGroup2, | ||
| in string | name | ||
| ) | raises (SALOME::SALOME_Exception) |
Intersection of two groups New group is created.
All mesh elements that are present in both initial groups are added to the new one.
| SMESH_Group SMESH.SMESH_Mesh.IntersectListOfGroups | ( | in ListOfGroups | aListOfGroups, |
| in string | name | ||
| ) | raises (SALOME::SALOME_Exception) |
Intersection of list of groups New group is created.
All mesh elements that are present in all initial groups simultaneously are added to the new one.
| boolean SMESH.SMESH_Mesh.IsMediumNode | ( | in long | ide, |
| in long | idn | ||
| ) |
Returns true if given node is medium node in given quadratic element.
| boolean SMESH.SMESH_Mesh.IsMediumNodeOfAnyElem | ( | in long | idn, |
| in ElementType | elem_type | ||
| ) |
Returns true if given node is medium node in one of quadratic elements.
| boolean SMESH.SMESH_Mesh.IsPoly | ( | in long | id | ) |
Returns true if given element is polygon.
| boolean SMESH.SMESH_Mesh.IsQuadratic | ( | in long | id | ) |
Returns true if given element is quadratic.
| long SMESH.SMESH_Mesh.Nb0DElements | ( | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbEdges | ( | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbEdgesOfOrder | ( | in ElementOrder | order | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbElements | ( | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbFaces | ( | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbFacesOfOrder | ( | in ElementOrder | order | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbGroups | ( | ) | raises (SALOME::SALOME_Exception) |
Get number of groups existing in the mesh.
| long SMESH.SMESH_Mesh.NbHexas | ( | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbHexasOfOrder | ( | in ElementOrder | order | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbNodes | ( | ) | raises (SALOME::SALOME_Exception) |
Get informations about mesh contents.
| long SMESH.SMESH_Mesh.NbPolygons | ( | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbPolyhedrons | ( | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbPrisms | ( | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbPrismsOfOrder | ( | in ElementOrder | order | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbPyramids | ( | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbPyramidsOfOrder | ( | in ElementOrder | order | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbQuadrangles | ( | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbQuadranglesOfOrder | ( | in ElementOrder | order | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbSubMesh | ( | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbTetras | ( | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbTetrasOfOrder | ( | in ElementOrder | order | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbTriangles | ( | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbTrianglesOfOrder | ( | in ElementOrder | order | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbVolumes | ( | ) | raises (SALOME::SALOME_Exception) |
| long SMESH.SMESH_Mesh.NbVolumesOfOrder | ( | in ElementOrder | order | ) | raises (SALOME::SALOME_Exception) |
| void SMESH.SMESH_Mesh.RemoveGroup | ( | in SMESH_GroupBase | aGroup | ) | raises (SALOME::SALOME_Exception) |
Remove a group.
| void SMESH.SMESH_Mesh.RemoveGroupWithContents | ( | in SMESH_GroupBase | aGroup | ) | raises (SALOME::SALOME_Exception) |
Remove group with its contents.
| Hypothesis_Status SMESH.SMESH_Mesh.RemoveHypothesis | ( | in GEOM::GEOM_Object | aSubObject, |
| in SMESH_Hypothesis | anHyp | ||
| ) | raises (SALOME::SALOME_Exception) |
Remove an hypothesis previouly added with AddHypothesis.
| void SMESH.SMESH_Mesh.RemoveSubMesh | ( | in SMESH_subMesh | aSubMesh | ) | raises (SALOME::SALOME_Exception) |
Remove a submesh.
| void SMESH.SMESH_Mesh.SetAutoColor | ( | in boolean | theAutoColor | ) | raises (SALOME::SALOME_Exception) |
Toggle auto color mode on the object.
| boolean SMESH.SMESH_Mesh.SetMeshOrder | ( | in submesh_array_array | theSubMeshArray | ) |
Set submesh object order.
| void SMESH.SMESH_Mesh.SetParameters | ( | in string | theParameters | ) |
Sets list of notebook variables used for Mesh operations separated by ":" symbol.
| theParameters | is a string containing the notebook variables |
| SMESH_Group SMESH.SMESH_Mesh.UnionGroups | ( | in SMESH_GroupBase | aGroup1, |
| in SMESH_GroupBase | aGroup2, | ||
| in string | name | ||
| ) | raises (SALOME::SALOME_Exception) |
Union of two groups New group is created.
All mesh elements that are present in initial groups are added to the new one
| SMESH_Group SMESH.SMESH_Mesh.UnionListOfGroups | ( | in ListOfGroups | aListOfGroups, |
| in string | name | ||
| ) | raises (SALOME::SALOME_Exception) |
Union of list of groups New group is created.
All mesh elements that are present in initial groups are added to the new one