#include <SMESH_Mesh_i.hxx>

Data Structures | |
| struct | TGeomGroupData |
Public Member Functions | |
| SMESH_Mesh_i (PortableServer::POA_ptr thePOA, SMESH_Gen_i *myGen_i) | |
| Constructor. More... | |
| virtual | ~SMESH_Mesh_i () |
| Destructor. More... | |
| void | SetShape (GEOM::GEOM_Object_ptr theShapeObject) |
| SetShape. More... | |
| CORBA::Boolean | HasShapeToMesh () |
| Return true if mesh has a shape to build a shape on. More... | |
| GEOM::GEOM_Object_ptr | GetShapeToMesh () |
| Return the shape to mesh. More... | |
| virtual void | ReplaceShape (GEOM::GEOM_Object_ptr theNewGeom) |
| Replace a shape in the mesh upon Break Link. More... | |
| CORBA::Boolean | IsLoaded () |
| Return false if the mesh is not yet fully loaded from the study file. More... | |
| void | Load () |
| Load full mesh data from the study file. More... | |
| void | Clear () |
| Remove all nodes and elements. More... | |
| void | ClearSubMesh (CORBA::Long ShapeID) |
| Remove all nodes and elements for indicated shape. More... | |
| SMESH::Hypothesis_Status | AddHypothesis (GEOM::GEOM_Object_ptr aSubShape, SMESH::SMESH_Hypothesis_ptr anHyp, CORBA::String_out anErrorText) |
| AddHypothesis. More... | |
| SMESH::Hypothesis_Status | RemoveHypothesis (GEOM::GEOM_Object_ptr aSubShape, SMESH::SMESH_Hypothesis_ptr anHyp) |
| Un-assign a hypothesis from a sub-mesh dedicate to the given sub-shape. More... | |
| SMESH::ListOfHypothesis * | GetHypothesisList (GEOM::GEOM_Object_ptr aSubShape) |
| Return hypotheses assigned to a given sub-shape. More... | |
| SMESH::submesh_array * | GetSubMeshes () |
| Return sub-meshes. More... | |
| SMESH::SMESH_subMesh_ptr | GetSubMesh (GEOM::GEOM_Object_ptr aSubShape, const char *theName) |
| Create and return a sub-mesh on the given sub-shape. More... | |
| void | RemoveSubMesh (SMESH::SMESH_subMesh_ptr theSubMesh) |
| Remove a sub-mesh. More... | |
| SMESH::SMESH_Group_ptr | CreateGroup (SMESH::ElementType theElemType, const char *theName) |
| Create a standalone group. More... | |
| SMESH::SMESH_GroupOnGeom_ptr | CreateGroupFromGEOM (SMESH::ElementType theElemType, const char *theName, GEOM::GEOM_Object_ptr theGeomObj) |
| Create a group based on the given geometry. More... | |
| SMESH::SMESH_GroupOnFilter_ptr | CreateGroupFromFilter (SMESH::ElementType theElemType, const char *theName, SMESH::Filter_ptr theFilter) |
| Creates a group whose contents is defined by filter. More... | |
| void | RemoveGroup (SMESH::SMESH_GroupBase_ptr theGroup) |
| Remove a group. More... | |
| void | RemoveGroupWithContents (SMESH::SMESH_GroupBase_ptr theGroup) |
| Remove group with its contents. More... | |
| SMESH::ListOfGroups * | GetGroups () |
| Get the list of groups existing in the mesh. More... | |
| CORBA::Long | NbGroups () |
| Get number of groups existing in the mesh. More... | |
| SMESH::SMESH_Group_ptr | UnionGroups (SMESH::SMESH_GroupBase_ptr theGroup1, SMESH::SMESH_GroupBase_ptr theGroup2, const char *theName) |
| New group including all mesh elements present in initial groups is created. More... | |
| SMESH::SMESH_Group_ptr | UnionListOfGroups (const SMESH::ListOfGroups &theGroups, const char *theName) |
| New group including all mesh elements present in initial groups is created. More... | |
| SMESH::SMESH_Group_ptr | IntersectGroups (SMESH::SMESH_GroupBase_ptr theGroup1, SMESH::SMESH_GroupBase_ptr theGroup2, const char *theName) |
| New group is created. More... | |
| SMESH::SMESH_Group_ptr | IntersectListOfGroups (const SMESH::ListOfGroups &theGroups, const char *theName) |
| Intersect list of groups. More... | |
| SMESH::SMESH_Group_ptr | CutGroups (SMESH::SMESH_GroupBase_ptr theGroup1, SMESH::SMESH_GroupBase_ptr theGroup2, const char *theName) |
| New group is created. More... | |
| SMESH::SMESH_Group_ptr | CutListOfGroups (const SMESH::ListOfGroups &theMainGroups, const SMESH::ListOfGroups &theToolGroups, const char *theName) |
| Cut lists of groups. More... | |
| SMESH::SMESH_Group_ptr | CreateDimGroup (const SMESH::ListOfIDSources &theGroups, SMESH::ElementType theElemType, const char *theName, SMESH::NB_COMMON_NODES_ENUM theNbCommonNodes, CORBA::Boolean theUnderlyingOnly) |
| Create a group of entities basing on nodes of other groups. More... | |
| SMESH::ListOfGroups * | FaceGroupsSeparatedByEdges (CORBA::Double theSharpAngle, CORBA::Boolean theCreateEdges, CORBA::Boolean theUseExistingEdges) |
| Distribute all faces of the mesh between groups using sharp edges and optionally existing 1D elements as group boundaries. More... | |
| SMESH::SMESH_Group_ptr | ConvertToStandalone (SMESH::SMESH_GroupBase_ptr theGroupOn) |
| Create standalone group from a group on geometry or filter. More... | |
| SMESH::log_array * | GetLog (CORBA::Boolean clearAfterGet) |
| Return a log that can be used to move another mesh to the same state as this one. More... | |
| SMESH::SMESH_MeshEditor_ptr | GetMeshEditor () |
| Return mesh editor. More... | |
| SMESH::SMESH_MeshEditor_ptr | GetMeshEditPreviewer () |
| Return mesh edition previewer. More... | |
| CORBA::Boolean | HasModificationsToDiscard () |
| Return true if the mesh has been edited since a last total re-compute and those modifications may prevent successful partial re-compute. More... | |
| void | ClearLog () |
| Remove the log of commands. More... | |
| CORBA::Long | GetId () |
| Return a mesh ID. More... | |
| void | SetImpl (::SMESH_Mesh *impl) |
| Set mesh implementation. More... | |
| ::SMESH_Mesh & | GetImpl () |
| Return a mesh implementation. More... | |
| SMESH_Gen_i * | GetGen () |
| int | ImportUNVFile (const char *theFileName) |
| ImportUNVFile. More... | |
| int | ImportSTLFile (const char *theFileName) |
| ImportSTLFile. More... | |
| SMESH::ComputeError * | ImportGMFFile (const char *theFileName, bool theMakeRequiredGroups) |
| Import data from a GMF file and return an error description. More... | |
| SMESH::DriverMED_ReadStatus | ImportMEDFile (const char *theFileName, const char *theMeshName) |
| consult DriverMED_R_SMESHDS_Mesh::ReadStatus for returned value More... | |
| SMESH::DriverMED_ReadStatus | ImportCGNSFile (const char *theFileName, const int theMeshIndex, std::string &theMeshName) |
| Import mesh data from the CGNS file. More... | |
| void | SetAutoColor (CORBA::Boolean theAutoColor) |
| Auto color. More... | |
| CORBA::Boolean | GetAutoColor () |
| Return true if auto-color mode is on. More... | |
| CORBA::Boolean | HasDuplicatedGroupNamesMED () |
| Check group names for duplications. More... | |
| char * | GetVersionString (CORBA::Long minor, CORBA::Short nbDigits) |
| Return string representation of a MED file version comprising nbDigits. More... | |
| SMESH::long_array * | GetMEDVersionsCompatibleForAppend () |
| Return the list of med versions compatibles for write/append, encoded in 10*major+minor (for instance, code for med 3.2.1 is 32) More... | |
| void | ExportMED (const char *file, CORBA::Boolean auto_groups, CORBA::Long version, CORBA::Boolean overwrite, CORBA::Boolean autoDimension=true) |
| Export to MED file. More... | |
| CORBA::LongLong | ExportMEDCoupling (CORBA::Boolean auto_groups, CORBA::Boolean autoDimension=true) |
| void | ExportDAT (const char *file, const CORBA::Boolean renumber) |
| Export a mesh to a DAT file. More... | |
| void | ExportUNV (const char *file, const CORBA::Boolean renumber) |
| Export a mesh to an UNV file. More... | |
| void | ExportSTL (const char *file, bool isascii) |
| Export a mesh to an STL file. More... | |
| void | ExportStructuredCGNS (SMESH::SMESH_IDSource_ptr meshPart, const char *file, CORBA::Boolean overwrite) |
| Export a part of mesh to an StructuredCGNS file. More... | |
| void | ExportCGNS (SMESH::SMESH_IDSource_ptr meshPart, const char *file, CORBA::Boolean overwrite, CORBA::Boolean groupElemsByType) |
| Export a part of mesh to an CGNS file. More... | |
| void | ExportGMF (SMESH::SMESH_IDSource_ptr meshPart, const char *file, CORBA::Boolean withRequiredGroups) |
| Export a part of mesh to a GMF file. More... | |
| template<class SPECLS > | |
| void | ExportPartToMEDCommon (SPECLS &speCls, SMESH::SMESH_IDSource_ptr meshPart, CORBA::Boolean auto_groups, CORBA::Boolean autoDim, const GEOM::ListOfFields &fields, const char *geomAssocFields, CORBA::Double ZTolerance, CORBA::Boolean saveNumbers) |
| Export a part of mesh to a med file. More... | |
| void | ExportPartToMED (SMESH::SMESH_IDSource_ptr meshPart, const char *file, CORBA::Boolean auto_groups, CORBA::Long version, CORBA::Boolean overwrite, CORBA::Boolean autoDim, const GEOM::ListOfFields &fields, const char *geomAssocFields, CORBA::Double ZTolerance, CORBA::Boolean saveNumbers) |
| Export a part of mesh to a med file. More... | |
| void | ExportPartToMESHIO (SMESH::SMESH_IDSource_ptr meshPart, const char *file, const char *selectedFilter, const char *converter=nullptr) |
| Export a part of mesh to a file with meshio library. More... | |
| CORBA::LongLong | ExportPartToMEDCoupling (SMESH::SMESH_IDSource_ptr meshPart, CORBA::Boolean auto_groups, CORBA::Boolean autoDim, const GEOM::ListOfFields &fields, const char *geomAssocFields, CORBA::Double ZTolerance, CORBA::Boolean saveNumbers) |
| Export a part of mesh to a MEDCoupling DS. More... | |
| void | ExportPartToDAT (SMESH::SMESH_IDSource_ptr meshPart, const char *file, CORBA::Boolean renumber) |
| Export a part of mesh to a DAT file. More... | |
| void | ExportPartToUNV (SMESH::SMESH_IDSource_ptr meshPart, const char *file, CORBA::Boolean renumber) |
| Export a part of mesh to an UNV file. More... | |
| void | ExportPartToSTL (SMESH::SMESH_IDSource_ptr meshPart, const char *file, CORBA::Boolean isascii) |
| Export a part of mesh to an STL file. More... | |
| CORBA::Double | GetComputeProgress () |
| Return computation progress [0.,1]. More... | |
| SMESH::smIdType | NbNodes () |
| Return nb of nodes. More... | |
| SMESH::smIdType | NbElements () |
| Return nb of elements. More... | |
| SMESH::smIdType | Nb0DElements () |
| Return nb of 0D elements. More... | |
| SMESH::smIdType | NbBalls () |
| Return nb of BALL elements. More... | |
| SMESH::smIdType | NbEdges () |
| Return nb of 1D elements. More... | |
| SMESH::smIdType | NbEdgesOfOrder (SMESH::ElementOrder order) |
| Return nb of edges. More... | |
| SMESH::smIdType | NbFaces () |
| Return nb of faces. More... | |
| SMESH::smIdType | NbFacesOfOrder (SMESH::ElementOrder order) |
| SMESH::smIdType | NbTriangles () |
| Return nb of tringles. More... | |
| SMESH::smIdType | NbTrianglesOfOrder (SMESH::ElementOrder order) |
| SMESH::smIdType | NbBiQuadTriangles () |
| Return nb of bi-quadratic triangles. More... | |
| SMESH::smIdType | NbQuadrangles () |
| SMESH::smIdType | NbQuadranglesOfOrder (SMESH::ElementOrder order) |
| SMESH::smIdType | NbBiQuadQuadrangles () |
| SMESH::smIdType | NbPolygons () |
| SMESH::smIdType | NbPolygonsOfOrder (SMESH::ElementOrder order=SMESH::ORDER_ANY) |
| SMESH::smIdType | NbVolumes () |
| SMESH::smIdType | NbVolumesOfOrder (SMESH::ElementOrder order) |
| SMESH::smIdType | NbTetras () |
| SMESH::smIdType | NbTetrasOfOrder (SMESH::ElementOrder order) |
| SMESH::smIdType | NbHexas () |
| SMESH::smIdType | NbHexasOfOrder (SMESH::ElementOrder order) |
| SMESH::smIdType | NbTriQuadraticHexas () |
| SMESH::smIdType | NbPyramids () |
| SMESH::smIdType | NbPyramidsOfOrder (SMESH::ElementOrder order) |
| SMESH::smIdType | NbPrisms () |
| SMESH::smIdType | NbPrismsOfOrder (SMESH::ElementOrder order) |
| SMESH::smIdType | NbHexagonalPrisms () |
| SMESH::smIdType | NbPolyhedrons () |
| SMESH::smIdType | NbSubMesh () |
| Return nb of published sub-meshes. More... | |
| SMESH::smIdType_array * | GetElementsId () |
| Return ids of all elements. More... | |
| SMESH::smIdType_array * | GetElementsByType (SMESH::ElementType theElemType) |
| Return ids of all elements of given type. More... | |
| SMESH::smIdType_array * | GetNodesId () |
| Return ids of all nodes. More... | |
| SMESH::ElementType | GetElementType (SMESH::smIdType id, bool iselem) |
| Return type of the given element. More... | |
| SMESH::EntityType | GetElementGeomType (SMESH::smIdType id) |
| Return geometric type of the given element. More... | |
| SMESH::GeometryType | GetElementShape (SMESH::smIdType id) |
| Return type of the given element. More... | |
| SMESH::smIdType_array * | GetSubMeshElementsId (CORBA::Long ShapeID) |
| Returns ID of elements for given submesh. More... | |
| SMESH::smIdType_array * | GetSubMeshNodesId (CORBA::Long ShapeID, CORBA::Boolean all) |
| Returns ID of nodes for given submesh If param all==true - returns all nodes, else - returns only nodes on shapes. More... | |
| SMESH::ElementType | GetSubMeshElementType (CORBA::Long ShapeID) |
| Returns type of elements for given submesh. More... | |
| char * | Dump () |
| Dumps mesh into a string. More... | |
| SMESH::ListOfGroups * | MakeGroupsOfBadInputElements (int theSubShapeID, const char *theGroupName) |
| Create a group of elements preventing computation of a sub-shape. More... | |
| SMESH_Hypothesis::Hypothesis_Status | addHypothesis (GEOM::GEOM_Object_ptr aSubShape, SMESH::SMESH_Hypothesis_ptr anHyp, std::string *anErrorText=0) |
| Create a sub-mesh and add a hypothesis to it. More... | |
| SMESH_Hypothesis::Hypothesis_Status | removeHypothesis (GEOM::GEOM_Object_ptr aSubShape, SMESH::SMESH_Hypothesis_ptr anHyp) |
| Un-assign a hypothesis from a sub-mesh dedicate to the given sub-shape. More... | |
| SMESH::SMESH_subMesh_ptr | createSubMesh (GEOM::GEOM_Object_ptr theSubShapeObject) |
| Create a sub-mesh on a given sub-shape. More... | |
| bool | removeSubMesh (SMESH::SMESH_subMesh_ptr theSubMesh, GEOM::GEOM_Object_ptr theSubShapeObject) |
| Remove a sub-mesh based on the given sub-shape. More... | |
| SMESH::SMESH_GroupBase_ptr | createGroup (SMESH::ElementType theElemType, const char *theName, const int theID=-1, const TopoDS_Shape &theShape=TopoDS_Shape(), const SMESH_PredicatePtr &thePred=SMESH_PredicatePtr()) |
| Create a group. More... | |
| void | removeGroup (const int theId) |
| SMESH_Mesh_i::removeGroup. More... | |
| SMESH::SMESH_subMesh_ptr | getSubMesh (int shapeID) |
| Return an existing sub-mesh based on a sub-shape with the given ID. More... | |
| const std::map< int, SMESH::SMESH_GroupBase_ptr > & | getGroups () |
| void | onHypothesisModified (int theHypID, bool updateIcons) |
| callback from _impl to 1) forget not loaded mesh data (issue 0021208) 2) mark hypothesis as valid More... | |
| void | CheckGeomModif (bool isBreakLink=false) |
| Update data if geometry changes. More... | |
| void | CheckGeomGroupModif () |
| Update hypotheses assigned to geom groups if the latter change. More... | |
| CORBA::LongLong | GetMeshPtr () |
| Return pointer to _impl as an integer value. More... | |
| void | CreateGroupServants () |
| Assure that all groups are published. More... | |
| CORBA::Boolean | IsComputedOK () |
| Return true if all sub-meshes are computed OK - to update an icon. More... | |
| SMESH::ListOfGroups * | GetGroups (const std::list< int > &groupIDs) const |
| Return groups contained in _mapGroups by their IDs. More... | |
| SMESH::double_array * | GetNodeXYZ (SMESH::smIdType id) |
| Get XYZ coordinates of node as list of double If there is not node for given ID - returns empty list. More... | |
| SMESH::smIdType_array * | GetNodeInverseElements (SMESH::smIdType id, SMESH::ElementType elemType) |
| For given node returns list of IDs of inverse elements If there is not node for given ID - returns empty list. More... | |
| SMESH::NodePosition * | GetNodePosition (SMESH::smIdType NodeID) |
| Return position of a node on shape. More... | |
| SMESH::ElementPosition | GetElementPosition (SMESH::smIdType ElemID) |
| Return position of an element on shape. More... | |
| CORBA::Long | GetShapeID (SMESH::smIdType id) |
| If given element is node returns IDs of shape from position If there is not node for given ID - returns -1. More... | |
| CORBA::Long | GetShapeIDForElem (SMESH::smIdType id) |
| For given element returns ID of result shape after ::FindShape() from SMESH_MeshEditor If there is not element for given ID - returns -1. More... | |
| CORBA::Short | GetElemNbNodes (SMESH::smIdType id) |
| Returns number of nodes for given element If there is not element for given ID - returns -1. More... | |
| SMESH::smIdType_array * | GetElemNodes (SMESH::smIdType id) |
| Returns IDs of nodes of given element. More... | |
| SMESH::smIdType | GetElemNode (SMESH::smIdType id, CORBA::Short 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. More... | |
| CORBA::Boolean | IsMediumNode (SMESH::smIdType ide, SMESH::smIdType idn) |
| Returns true if given node is medium node in given quadratic element. More... | |
| CORBA::Boolean | IsMediumNodeOfAnyElem (SMESH::smIdType idn, SMESH::ElementType elemType) |
| Returns true if given node is medium node in one of quadratic elements. More... | |
| CORBA::Long | ElemNbEdges (SMESH::smIdType id) |
| Returns number of edges for given element. More... | |
| CORBA::Long | ElemNbFaces (SMESH::smIdType id) |
| Returns number of faces for given element. More... | |
| SMESH::smIdType_array * | GetElemFaceNodes (SMESH::smIdType elemId, CORBA::Short faceIndex) |
| Returns nodes of given face (counted from zero) for given element. More... | |
| SMESH::double_array * | GetFaceNormal (CORBA::Long faceId, CORBA::Boolean normalized) |
| Returns three components of normal of given mesh face (or an empty array in KO case) More... | |
| SMESH::smIdType | FindElementByNodes (const SMESH::smIdType_array &nodes) |
| Returns an element based on all given nodes. More... | |
| SMESH::smIdType_array * | GetElementsByNodes (const SMESH::smIdType_array &nodes, SMESH::ElementType elemType) |
| Return elements including all given nodes. More... | |
| CORBA::Boolean | IsPoly (SMESH::smIdType id) |
| Returns true if given element is polygon. More... | |
| CORBA::Boolean | IsQuadratic (SMESH::smIdType id) |
| Returns true if given element is quadratic. More... | |
| CORBA::Double | GetBallDiameter (SMESH::smIdType id) |
| Returns diameter of ball discrete element or zero in case of an invalid id. More... | |
| SMESH::double_array * | BaryCenter (SMESH::smIdType id) |
| Returns bary center for given element. More... | |
| virtual SMESH::MedFileInfo * | GetMEDFileInfo () |
| Returns information about imported MED file. More... | |
| std::string | FileInfoToString () |
| Persistence of file info. More... | |
| void | FileInfoFromString (const std::string &info) |
| int & | MainShapeTick () |
| Persistence of geometry tick. More... | |
| void | SetParameters (const char *theParameters) |
| Sets list of notebook variables used for Mesh operations separated by ":" symbol. More... | |
| char * | GetParameters () |
| Returns list of notebook variables used for Mesh operations separated by ":" symbol. More... | |
| SMESH::string_array * | GetLastParameters () |
| Returns list of notebook variables used for last Mesh operation. More... | |
| CORBA::Boolean | IsUnorderedSubMesh (CORBA::Long submeshID) |
Return true if a meshing order not yet set for a concurrent sub-mesh. More... | |
| virtual SMESH::submesh_array_array * | GetMeshOrder () |
| Return submesh objects list in meshing order. More... | |
| virtual ::CORBA::Boolean | SetMeshOrder (const SMESH::submesh_array_array &theSubMeshArray) |
| Set submesh object order. More... | |
| virtual SMESH::smIdType_array * | GetIDs () |
| Method of SMESH_IDSource interface. More... | |
| virtual SMESH::smIdType_array * | GetMeshInfo () |
| Returns number of mesh elements of each EntityType Result array of number of elements per EntityType Inherited from SMESH_IDSource. More... | |
| virtual SMESH::smIdType_array * | GetNbElementsByType () |
| Returns number of mesh elements of each ElementType. More... | |
| virtual SMESH::array_of_ElementType * | GetTypes () |
| Returns types of elements it contains. More... | |
| virtual SMESH::SMESH_Mesh_ptr | GetMesh () |
| Returns self. More... | |
| bool | 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... | |
| virtual SALOMEDS::TMPFile * | GetVtkUgStream () |
| Returns mesh unstructed grid information. More... | |
| std::string | generateMeshName () |
| Return a MeshName. More... | |
| std::string | prepareMeshNameAndGroups (const char *file, CORBA::Boolean overwrite) |
| Prepare a file for export and pass names of mesh groups from study to mesh DS. More... | |
| void | exportMEDFields (DriverMED_W_Field &writer, SMESHDS_Mesh *meshDS, const GEOM::ListOfFields &fields, const char *geomAssocFields) |
| Write GEOM fields to MED file. More... | |
Static Public Member Functions | |
| static SMESH::Hypothesis_Status | ConvertHypothesisStatus (SMESH_Hypothesis::Hypothesis_Status theStatus) |
| static void | PrepareForWriting (const char *file, bool overwrite=true) |
| Care of a file before exporting mesh into it. More... | |
| static void | CollectMeshInfo (const SMDS_ElemIteratorPtr theItr, SMESH::smIdType_array &theInfo) |
| Collect statistic of mesh elements given by iterator. More... | |
| static SMDS_ElemIteratorPtr | GetElements (SMESH::SMESH_IDSource_ptr obj, SMESH::ElementType type) |
| Return iterator on elements of given type in given object. More... | |
Data Fields | |
| std::map< int, SMESH_subMesh_i * > | _mapSubMesh_i |
| std::map< int, ::SMESH_subMesh * > | _mapSubMesh |
Protected Attributes | |
| ::SMESH_Mesh * | _impl |
Private Member Functions | |
| SMESH_Mesh_i () | |
| SMESH_Mesh_i (const SMESH_Mesh_i &) | |
| void | checkGroupNames () |
| Check and correct names of mesh groups. More... | |
| void | convertMeshOrder (const TListOfListOfInt &theIdsOrder, SMESH::submesh_array_array &theSubMeshOrder, const bool theIsDump) |
| Convert submesh ids into submesh interfaces. More... | |
| TListOfListOfInt | findConcurrentSubMeshes () |
| Finds concurrent sub-meshes. More... | |
| SMESH_PreMeshInfo *& | changePreMeshInfo () |
| void | addGeomGroupData (GEOM::GEOM_Object_ptr theGeomObj, CORBA::Object_ptr theSmeshObj) |
| Remember GEOM group data. More... | |
| void | removeGeomGroupData (CORBA::Object_ptr theSmeshObj) |
| Remove GEOM group data relating to removed smesh object. More... | |
| TopoDS_Shape | newGroupShape (TGeomGroupData &groupData, int how) |
| Return new group contents if it has been changed and update group data. More... | |
Private Attributes | |
| SMESH_Gen_i * | _gen_i |
| int | _id |
| int | _nbInvalidHypos |
| std::map< int, SMESH::SMESH_subMesh_ptr > | _mapSubMeshIor |
| std::map< int, SMESH::SMESH_GroupBase_ptr > | _mapGroups |
| std::map< int, SMESH::SMESH_Hypothesis_ptr > | _mapHypo |
| SMESH_MeshEditor_i * | _editor |
| SMESH_MeshEditor_i * | _previewEditor |
| SMESH::MedFileInfo_var | _medFileInfo |
| SMESH_PreMeshInfo * | _preMeshInfo |
| std::list< TGeomGroupData > | _geomGroupData |
| int | _mainShapeTick |
Static Private Attributes | |
| static int | _idGenerator = 0 |
Friends | |
| class | SMESH_PreMeshInfo |
|
private |
|
private |
| SMESH_Mesh_i::SMESH_Mesh_i | ( | PortableServer::POA_ptr | thePOA, |
| SMESH_Gen_i * | myGen_i | ||
| ) |
Constructor.
References _editor, _gen_i, _id, _idGenerator, _impl, _mainShapeTick, _nbInvalidHypos, _preMeshInfo, and _previewEditor.
|
virtual |
|
private |
Remember GEOM group data.
References _gen_i, _geomGroupData, SMESH_Mesh_i::TGeomGroupData::_groupEntry, SMESH_Mesh_i::TGeomGroupData::_indices, SMESH_Mesh_i::TGeomGroupData::_smeshObject, SMESH_Gen_i::GetGeomEngine(), and SMESH_Gen_i::ObjectToSObject().
Referenced by createGroup(), createSubMesh(), and SetShape().
| SMESH::Hypothesis_Status SMESH_Mesh_i::AddHypothesis | ( | GEOM::GEOM_Object_ptr | aSubShape, |
| SMESH::SMESH_Hypothesis_ptr | anHyp, | ||
| CORBA::String_out | anErrorText | ||
| ) |
AddHypothesis.
Call internal addHypothesis() and then add a reference to <anHyp> under the SObject actually having a reference to <aSubShape>. NB: For this method to work, it is necessary to add a reference to sub-shape first.
References _gen_i, _preMeshInfo, addHypothesis(), SMESH_Gen_i::AddHypothesisToShape(), ConvertHypothesisStatus(), SMESH_PreMeshInfo::ForgetOrLoad(), SMESH_Hypothesis::IsStatusFatal(), MESSAGE, NbElements(), NbNodes(), and SMESH_Gen_i::UpdateIcons().
| SMESH_Hypothesis::Hypothesis_Status SMESH_Mesh_i::addHypothesis | ( | GEOM::GEOM_Object_ptr | aSubShape, |
| SMESH::SMESH_Hypothesis_ptr | anHyp, | ||
| std::string * | anErrorText = 0 |
||
| ) |
Create a sub-mesh and add a hypothesis to it.
References _gen_i, _impl, _mapHypo, _mapSubMesh_i, SMESH_Mesh::AddHypothesis(), createSubMesh(), SMESH_Gen_i::GeomObjectToShape(), SMESH_Mesh::GetMeshDS(), SMESH_Mesh::GetShapeToMesh(), HasShapeToMesh(), SMESH_Hypothesis::HYP_OK, SMESH_Mesh::IsMainShape(), SMESH_Hypothesis::IsStatusFatal(), MESSAGE, and SMESHDS_Mesh::ShapeToIndex().
Referenced by AddHypothesis(), and SMESH_Gen_i::Load().
| SMESH::double_array * SMESH_Mesh_i::BaryCenter | ( | SMESH::smIdType | id | ) |
Returns bary center for given element.
Return bary center for given element.
References _impl, _preMeshInfo, SMDS_Mesh::FindElement(), SMESH_PreMeshInfo::FullLoadFromFile(), SMDS_VolumeTool::GetBaryCenter(), SMESH_Mesh::GetMeshDS(), SMDS_MeshElement::GetType(), SMDS_MeshElement::nodesIterator(), SMDS_VolumeTool::Set(), SMDSAbs_Volume, SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
|
private |
| void SMESH_Mesh_i::CheckGeomGroupModif | ( | ) |
Update hypotheses assigned to geom groups if the latter change.
Update objects depending on changed geom groups.
NPAL16168: "geometrical group edition from a submesh don't modify mesh computation"
NPAL16168: geometrical group edition from a submesh don't modify mesh computation issue 0020210: Update of a smesh group after modification of the associated geom group
References _gen_i, _geomGroupData, _impl, _mapGroups, _mapSubMesh, _mapSubMesh_i, _mapSubMeshIor, _preMeshInfo, SMESH_Mesh::AddGroup(), SMESH_Mesh::AddHypothesis(), SMESH_Mesh::Clear(), ConvertToStandalone(), SMESH_PreMeshInfo::ForgetAllData(), SMESH_PreMeshInfo::ForgetOrLoad(), SMESH_Mesh::GetGroup(), SMESH_Group::GetGroupDS(), SMESHDS_Mesh::GetGroups(), SMESHDS_Mesh::GetHypothesis(), SMESH_Mesh::GetHypothesisList(), SMESH_subMesh::GetId(), SMESHDS_GroupBase::GetID(), SMESH_GroupBase_i::GetLocalID(), SMESH_Mesh::GetMeshDS(), SMESHDS_GroupOnGeom::GetShape(), GetShapeToMesh(), SMESH_Gen_i::getStudyServant(), SMESH_Mesh::GetSubMesh(), SMESH_Mesh::HasShapeToMesh(), SMESHDS_Mesh::IndexToShape(), IsLoaded(), SMESHDS_Mesh::MaxShapeIndex(), NbElements(), NbNodes(), newGroupShape(), SMESH_Gen_i::ObjectToSObject(), ONLY_IF_CHANGED, RemoveGroup(), SMESH_Mesh::RemoveHypothesis(), RemoveSubMesh(), SMESH_Gen_i::SetPixMap(), SMESHDS_GroupOnGeom::SetShape(), SMESHDS_Mesh::ShapeToIndex(), SMESH_Mesh::ShapeToMesh(), SMESHDS_Mesh::ShapeToMesh(), SMESH_Gen_i::SObjectToObject(), SMESH::Tag_FirstSubMesh, SMESH::Tag_LastSubMesh, and SMESH::Tag_RefOnShape.
Referenced by CheckGeomModif().
| void SMESH_Mesh_i::CheckGeomModif | ( | bool | theIsBreakLink = false | ) |
Update data if geometry changes.
Issue 0022501
References _gen_i, _geomGroupData, SMESH_Mesh_i::TGeomGroupData::_groupEntry, _impl, SMESH_Mesh_i::TGeomGroupData::_indices, _mainShapeTick, _mapGroups, _mapHypo, _mapSubMesh, _mapSubMesh_i, _mapSubMeshIor, _preMeshInfo, SMESH_Mesh::AddGroup(), SMESH_Mesh::AddHypothesis(), CheckGeomGroupModif(), SMESH_Mesh::Clear(), SMESH_PreMeshInfo::ForgetAllData(), SMESH_Gen_i::GeomObjectToShape(), SMESH_Gen_i::GetGeomEngine(), SMESH_Group::GetGroupDS(), SMESHDS_Mesh::GetGroups(), SMESHDS_Mesh::GetHypotheses(), SMESH_subMesh::GetId(), SMESHDS_GroupBase::GetID(), SMESH_Mesh::GetMeshDS(), SMESHDS_GroupOnGeom::GetShape(), SMESH_Gen_i::GetShapeReader(), GetShapeToMesh(), SMESH_Gen_i::getStudyServant(), SMESH_Mesh::GetSubMesh(), SMESH_Mesh::GetSubMeshContaining(), SMESH_Mesh::HasShapeToMesh(), SMESHDS_Mesh::IndexToShape(), IS_BREAK_LINK, SMESHDS_Mesh::IsGroupOfSubShapes(), MAIN_TRANSFORMED, SMESHDS_Mesh::MaxShapeIndex(), NbElements(), NbNodes(), newGroupShape(), SMESH_Gen_i::ObjectToSObject(), RemoveSubMesh(), SMESHDS_GroupBase::SetColor(), SMESH_Gen_i::SetPixMap(), SMESHDS_Mesh::ShapeToIndex(), SMESH_Mesh::ShapeToMesh(), SMESH_Gen_i::SObjectToObject(), SMESH::Tag_LastSubMesh, SMESH::Tag_RefOnShape, and SMESH_Gen_i::UpdateIcons().
Referenced by SMESH_Gen_i::Compute(), SMESH_Gen_i::Evaluate(), SMESH_Gen_i::Precompute(), and ReplaceShape().
|
private |
Check and correct names of mesh groups.
Pass names of mesh groups from study to mesh DS.
References _gen_i, GetGroups(), NbGroups(), and SMESH_Gen_i::ObjectToSObject().
Referenced by ExportDAT(), ExportSTL(), ExportUNV(), and prepareMeshNameAndGroups().
| void SMESH_Mesh_i::Clear | ( | ) |
Remove all nodes and elements.
References _gen_i, _impl, _preMeshInfo, SMESH_Mesh::Clear(), SMESH_PreMeshInfo::ForgetOrLoad(), and SMESH_Gen_i::UpdateIcons().
Referenced by SMESH_Gen_i::Compute().
| void SMESH_Mesh_i::ClearLog | ( | ) |
Remove the log of commands.
References _impl, SMESH_Mesh::ClearLog(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| void SMESH_Mesh_i::ClearSubMesh | ( | CORBA::Long | ShapeID | ) |
Remove all nodes and elements for indicated shape.
References _impl, _preMeshInfo, SMESH_Mesh::ClearSubMesh(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), and SMDS_Mesh::Modified().
|
static |
Collect statistic of mesh elements given by iterator.
Referenced by SMESH_GroupBase_i::GetMeshInfo(), and SMESH_subMesh_i::GetMeshInfo().
|
static |
References SMESH::HYP_ALREADY_EXIST, SMESH::HYP_BAD_DIM, SMESH::HYP_BAD_GEOMETRY, SMESH::HYP_BAD_PARAMETER, SMESH::HYP_BAD_SUBSHAPE, SMESH::HYP_CONCURRENT, SMESH::HYP_HIDDEN_ALGO, SMESH::HYP_HIDING_ALGO, SMESH::HYP_INCOMPAT_HYPS, SMESH::HYP_INCOMPATIBLE, SMESH::HYP_MISSING, SMESH::HYP_NEED_SHAPE, SMESH::HYP_NOTCONFORM, SMESH::HYP_OK, SMESH::HYP_UNKNOWN_FATAL, and RETURNCASE.
Referenced by AddHypothesis(), SMESH_Gen_i::GetAlgoState(), and RemoveHypothesis().
|
private |
Convert submesh ids into submesh interfaces.
References _mapSubMeshIor.
Referenced by GetMeshOrder().
| SMESH::SMESH_Group_ptr SMESH_Mesh_i::ConvertToStandalone | ( | SMESH::SMESH_GroupBase_ptr | theGroupOn | ) |
Create standalone group from a group on geometry or filter.
References _gen_i, _impl, _mapGroups, _preMeshInfo, SMESH_Mesh::ConvertToStandalone(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_GroupBase_i::GetLocalID(), SMESH_Gen_i::GetORB(), SMESH_Gen_i::GetPOA(), SMESH_Gen_i::GetSMESHGen(), SMESH_Gen_i::getStudyServant(), SMESH_Gen_i::ObjectToSObject(), SMESH_Gen_i::RegisterObject(), removeGeomGroupData(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
Referenced by CheckGeomGroupModif(), and SMESH_MeshEditor_i::Create0DElementsOnAllNodes().
| SMESH::SMESH_Group_ptr SMESH_Mesh_i::CreateDimGroup | ( | const SMESH::ListOfIDSources & | theGroups, |
| SMESH::ElementType | theElemType, | ||
| const char * | theName, | ||
| SMESH::NB_COMMON_NODES_ENUM | theNbCommonNodes, | ||
| CORBA::Boolean | theUnderlyingOnly | ||
| ) |
Create a group of entities basing on nodes of other groups.
| [in] | theGroups | - list of either groups, sub-meshes or filters. |
| [in] | anElemType | - a type of elements to include to the new group. |
| [in] | theName | - a name of the new group. |
| [in] | theNbCommonNodes | - criterion of inclusion of an element to the new group. |
| [in] | theUnderlyingOnly | - if True, an element is included to the new group provided that it is based on nodes of an element of aListOfGroups |
References _impl, _preMeshInfo, SMDS_MeshGroup::Add(), SMESH::ALL, SMESH::ALL_NODES, SMESH::AT_LEAST_ONE, SMDS_MeshElement::begin_nodes(), CreateGroup(), SMDS_MeshElement::end_nodes(), SMDS_Mesh::FindNode(), SMESH_PreMeshInfo::FullLoadFromFile(), GetElements(), GetGen(), GetId(), SMDS_MeshElement::GetID(), SMDS_MeshNode::GetInverseElementIterator(), SMESHDS_GroupBase::GetMesh(), SMESH_Mesh::GetMeshDS(), SMESH::MAIN, SMESH::MAJORITY, SMDS_Mesh::MaxElementID(), SMDS_MeshElement::NbCornerNodes(), SMDS_MeshElement::NbNodes(), SMESH::NODE, SMDS_MeshElement::nodeIterator(), SMDS_MeshElement::nodesIterator(), SMESH_CATCH, SMESH_TRY, SMESH::throwCorbaException(), and SMESH_Gen_i::UpdateGroupIcon().
| SMESH::SMESH_Group_ptr SMESH_Mesh_i::CreateGroup | ( | SMESH::ElementType | theElemType, |
| const char * | theName | ||
| ) |
Create a standalone group.
References _gen_i, _preMeshInfo, SMESH_Gen_i::CanPublishInStudy(), createGroup(), SMESH_PreMeshInfo::FullLoadFromFile(), and SMESH_Gen_i::PublishGroup().
Referenced by SMESH_MeshEditor_i::AffectedElemGroupsInRegion(), SMESH_Gen_i::ConcatenateCommon(), SMESH_MeshEditor_i::Create0DElementsOnAllNodes(), CreateDimGroup(), CutGroups(), CutListOfGroups(), SMESH_MeshEditor_i::DoubleElements(), SMESH_MeshEditor_i::DoubleNodeElemGroup2New(), SMESH_MeshEditor_i::DoubleNodeElemGroups2New(), SMESH_MeshEditor_i::DoubleNodeGroupNew(), SMESH_MeshEditor_i::DoubleNodeGroupsNew(), FaceGroupsSeparatedByEdges(), SMESH_MeshEditor_i::FillHole(), IntersectGroups(), IntersectListOfGroups(), SMESH_MeshEditor_i::MakeBoundaryElements(), SMESH_MeshEditor_i::MakeBoundaryMesh(), SMESH_MeshEditor_i::MakePolyLine(), UnionGroups(), and UnionListOfGroups().
| SMESH::SMESH_GroupBase_ptr SMESH_Mesh_i::createGroup | ( | SMESH::ElementType | theElemType, |
| const char * | theName, | ||
| const int | theID = -1, |
||
| const TopoDS_Shape & | theShape = TopoDS_Shape(), |
||
| const SMESH_PredicatePtr & | thePredicate = SMESH_PredicatePtr() |
||
| ) |
Create a group.
Group type depends on given arguments
References _gen_i, _impl, _mapGroups, addGeomGroupData(), SMESH_Mesh::AddGroup(), SMESH_Gen_i::GetPOA(), MESSAGE, SMESH_Gen_i::RegisterObject(), and SMESH_Gen_i::ShapeToGeomObject().
Referenced by CreateGroup(), CreateGroupFromFilter(), CreateGroupFromGEOM(), SMESH_Gen_i::Load(), and MakeGroupsOfBadInputElements().
| SMESH::SMESH_GroupOnFilter_ptr SMESH_Mesh_i::CreateGroupFromFilter | ( | SMESH::ElementType | theElemType, |
| const char * | theName, | ||
| SMESH::Filter_ptr | theFilter | ||
| ) |
Creates a group whose contents is defined by filter.
| theElemType | - group type |
| theName | - group name |
| theFilter | - the filter |
| SMESH::SMESH_GroupOnFilter_ptr | - group defined by filter |
References _gen_i, _preMeshInfo, SMESH_Gen_i::CanPublishInStudy(), createGroup(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_GroupOnFilter_i::GetPredicate(), and SMESH_Gen_i::PublishGroup().
| SMESH::SMESH_GroupOnGeom_ptr SMESH_Mesh_i::CreateGroupFromGEOM | ( | SMESH::ElementType | theElemType, |
| const char * | theName, | ||
| GEOM::GEOM_Object_ptr | theGeomObj | ||
| ) |
Create a group based on the given geometry.
References _gen_i, _preMeshInfo, SMESH_Gen_i::CanPublishInStudy(), createGroup(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Gen_i::GeomObjectToShape(), and SMESH_Gen_i::PublishGroup().
| void SMESH_Mesh_i::CreateGroupServants | ( | ) |
Assure that all groups are published.
Create and publish group servants if any groups were imported or created anyhow.
References _gen_i, _impl, _mapGroups, SMESH_Group::GetGroupDS(), SMESH_Mesh::GetGroups(), SMESH_Group::GetID(), SMESH_Group::GetName(), SMESH_Gen_i::GetPOA(), MESSAGE, SMESH_Gen_i::PublishGroup(), SMESH_Gen_i::RegisterObject(), and SMESH_Gen_i::ShapeToGeomObject().
Referenced by SMESH_Gen_i::Compute(), SMESH_MeshEditor_i::DoubleNodesOnGroupBoundaries(), SMESH_MeshEditor_i::getGroups(), ImportCGNSFile(), ImportGMFFile(), ImportMEDFile(), ImportUNVFile(), SMESH_MeshEditor_i::MirrorMakeMesh(), SMESH_MeshEditor_i::MirrorObjectMakeMesh(), SMESH_MeshEditor_i::RotateMakeMesh(), SMESH_MeshEditor_i::RotateObjectMakeMesh(), SMESH_MeshEditor_i::ScaleMakeMesh(), SMESH_MeshEditor_i::TranslateMakeMesh(), and SMESH_MeshEditor_i::TranslateObjectMakeMesh().
| SMESH::SMESH_subMesh_ptr SMESH_Mesh_i::createSubMesh | ( | GEOM::GEOM_Object_ptr | theSubShapeObject | ) |
Create a sub-mesh on a given sub-shape.
References _gen_i, _impl, _mapSubMesh, _mapSubMesh_i, _mapSubMeshIor, addGeomGroupData(), SMESH_Gen_i::GeomObjectToShape(), SMESH_subMesh::GetId(), SMESH_Mesh::GetSubMesh(), MESSAGE, and SMESH_Gen_i::RegisterObject().
Referenced by addHypothesis(), SMESH_Gen_i::createInvalidSubMesh(), GetSubMesh(), and SMESH_Gen_i::Load().
| SMESH::SMESH_Group_ptr SMESH_Mesh_i::CutGroups | ( | SMESH::SMESH_GroupBase_ptr | theGroup1, |
| SMESH::SMESH_GroupBase_ptr | theGroup2, | ||
| const char * | theName | ||
| ) |
New group is created.
All mesh elements that are present in a main group but is not present in a tool group are added to the new one
References _preMeshInfo, SMDS_MeshGroup::Add(), SMESHDS_GroupBase::Contains(), CreateGroup(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESHDS_GroupBase::GetElements(), GetGen(), SMESHDS_Group::SMDSGroup(), SMESH_CATCH, SMESH_TRY, SMESH::throwCorbaException(), and SMESH_Gen_i::UpdateGroupIcon().
| SMESH::SMESH_Group_ptr SMESH_Mesh_i::CutListOfGroups | ( | const SMESH::ListOfGroups & | theMainGroups, |
| const SMESH::ListOfGroups & | theToolGroups, | ||
| const char * | theName | ||
| ) |
Cut 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
| theMainGroups | list of main groups |
| theToolGroups | list of tool groups |
| theName | name of group to be created |
References _preMeshInfo, SMDS_MeshGroup::Add(), SMESH::ALL, CreateGroup(), SMESH_PreMeshInfo::FullLoadFromFile(), GetGen(), SMESHDS_Group::SMDSGroup(), SMESH_CATCH, SMESH_TRY, SMESH::throwCorbaException(), and SMESH_Gen_i::UpdateGroupIcon().
| char * SMESH_Mesh_i::Dump | ( | ) |
Dumps mesh into a string.
References _impl, and SMESH_Mesh::Dump().
| CORBA::Long SMESH_Mesh_i::ElemNbEdges | ( | SMESH::smIdType | id | ) |
Returns number of edges for given element.
Return number of edges for given element.
References _impl, _preMeshInfo, SMDS_Mesh::FindElement(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), and SMDS_MeshElement::NbEdges().
| CORBA::Long SMESH_Mesh_i::ElemNbFaces | ( | SMESH::smIdType | id | ) |
Returns number of faces for given element.
Return number of faces for given element.
References _impl, _preMeshInfo, SMDS_Mesh::FindElement(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), and SMDS_MeshElement::NbFaces().
| void SMESH_Mesh_i::ExportCGNS | ( | SMESH::SMESH_IDSource_ptr | meshPart, |
| const char * | file, | ||
| CORBA::Boolean | overwrite, | ||
| CORBA::Boolean | groupElemsByType | ||
| ) |
Export a part of mesh to an CGNS file.
References _gen_i, _impl, _preMeshInfo, SMESH_Mesh::ExportCGNS(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Gen_i::ObjectToSObject(), PrepareForWriting(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| void SMESH_Mesh_i::ExportDAT | ( | const char * | file, |
| const CORBA::Boolean | renumber | ||
| ) |
Export a mesh to a DAT file.
References _impl, _preMeshInfo, checkGroupNames(), SMESH_Mesh::ExportDAT(), SMESH_PreMeshInfo::FullLoadFromFile(), PrepareForWriting(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| void SMESH_Mesh_i::ExportGMF | ( | SMESH::SMESH_IDSource_ptr | meshPart, |
| const char * | file, | ||
| CORBA::Boolean | withRequiredGroups | ||
| ) |
Export a part of mesh to a GMF file.
References _impl, _preMeshInfo, SMESH_Mesh::ExportGMF(), SMESH_PreMeshInfo::FullLoadFromFile(), PrepareForWriting(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| void SMESH_Mesh_i::ExportMED | ( | const char * | file, |
| CORBA::Boolean | auto_groups, | ||
| CORBA::Long | version, | ||
| CORBA::Boolean | overwrite, | ||
| CORBA::Boolean | autoDimension = true |
||
| ) |
Export to MED file.
References _impl, _preMeshInfo, SMESH_Mesh::ExportMED(), SMESH_PreMeshInfo::FullLoadFromFile(), prepareMeshNameAndGroups(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| CORBA::LongLong SMESH_Mesh_i::ExportMEDCoupling | ( | CORBA::Boolean | auto_groups, |
| CORBA::Boolean | autoDimension = true |
||
| ) |
| void SMESH_Mesh_i::exportMEDFields | ( | DriverMED_W_Field & | writer, |
| SMESHDS_Mesh * | meshDS, | ||
| const GEOM::ListOfFields & | fields, | ||
| const char * | geomAssocFields | ||
| ) |
Write GEOM fields to MED file.
References DriverMED_W_Field::AddValue(), Driver_Mesh::GetError(), DriverMED_W_Field::GetOrderedElems(), SMDS_MeshElement::getshapeId(), SMESHDS_Mesh::IndexToShape(), SMESHDS_Mesh::MaxShapeIndex(), METH, DriverMED_W_Field::Perform(), DriverMED_W_Field::Set(), DriverMED_W_Field::SetCompName(), DriverMED_W_Field::SetDtIt(), SMDSAbs_0DElement, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Node, and SMDSAbs_Volume.
Referenced by MEDFileSpeCls::exportField(), and MEDFileMemSpeCls::exportField().
| void SMESH_Mesh_i::ExportPartToDAT | ( | SMESH::SMESH_IDSource_ptr | meshPart, |
| const char * | file, | ||
| CORBA::Boolean | renumber | ||
| ) |
Export a part of mesh to a DAT file.
References _impl, SMESH_Mesh::ExportDAT(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| void SMESH_Mesh_i::ExportPartToMED | ( | SMESH::SMESH_IDSource_ptr | meshPart, |
| const char * | file, | ||
| CORBA::Boolean | auto_groups, | ||
| CORBA::Long | version, | ||
| CORBA::Boolean | overwrite, | ||
| CORBA::Boolean | autoDim, | ||
| const GEOM::ListOfFields & | fields, | ||
| const char * | geomAssocFields, | ||
| CORBA::Double | ZTolerance, | ||
| CORBA::Boolean | saveNumbers | ||
| ) |
Export a part of mesh to a med file.
References ExportPartToMEDCommon(), MESSAGE, SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| void SMESH_Mesh_i::ExportPartToMEDCommon | ( | SPECLS & | speCls, |
| SMESH::SMESH_IDSource_ptr | meshPart, | ||
| CORBA::Boolean | auto_groups, | ||
| CORBA::Boolean | autoDim, | ||
| const GEOM::ListOfFields & | fields, | ||
| const char * | geomAssocFields, | ||
| CORBA::Double | ZTolerance, | ||
| CORBA::Boolean | saveNumbers | ||
| ) |
Export a part of mesh to a med file.
References _gen_i, _impl, SMESHUtils::Deleter< TOBJ >::_obj, _preMeshInfo, SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), GetShapeToMesh(), SMESH_Mesh::HasShapeToMesh(), SMESH_Gen_i::ObjectToSObject(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
Referenced by ExportPartToMED(), ExportPartToMEDCoupling(), and ExportPartToMESHIO().
| CORBA::LongLong SMESH_Mesh_i::ExportPartToMEDCoupling | ( | SMESH::SMESH_IDSource_ptr | meshPart, |
| CORBA::Boolean | auto_groups, | ||
| CORBA::Boolean | autoDim, | ||
| const GEOM::ListOfFields & | fields, | ||
| const char * | geomAssocFields, | ||
| CORBA::Double | ZTolerance, | ||
| CORBA::Boolean | saveNumbers | ||
| ) |
Export a part of mesh to a MEDCoupling DS.
References _gen_i, ExportPartToMEDCommon(), MEDFileMemSpeCls::getData(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| void SMESH_Mesh_i::ExportPartToMESHIO | ( | SMESH::SMESH_IDSource_ptr | meshPart, |
| const char * | file, | ||
| const char * | selectedFilter, | ||
| const char * | converter = nullptr |
||
| ) |
Export a part of mesh to a file with meshio library.
References SMESH_Meshio::Convert(), SMESH_Meshio::CreateTempFileName(), ExportPartToMEDCommon(), SMESH_Meshio::GetConverterForExtension(), SMESHIOConverter::GetFilterLabel(), GetMEDVersionsCompatibleForAppend(), SMESHIOConverter::Gmsh, SMESHIOConverter::MeshIo, MESSAGE, SMESH_CATCH, SMESH_TRY, SMESH::throwCorbaException(), and SMESHIOConverter::Unknown.
| void SMESH_Mesh_i::ExportPartToSTL | ( | SMESH::SMESH_IDSource_ptr | meshPart, |
| const char * | file, | ||
| CORBA::Boolean | isascii | ||
| ) |
Export a part of mesh to an STL file.
References _gen_i, _impl, _preMeshInfo, SMESH_Mesh::ExportSTL(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Gen_i::ObjectToSObject(), PrepareForWriting(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| void SMESH_Mesh_i::ExportPartToUNV | ( | SMESH::SMESH_IDSource_ptr | meshPart, |
| const char * | file, | ||
| CORBA::Boolean | renumber | ||
| ) |
Export a part of mesh to an UNV file.
References _impl, _preMeshInfo, SMESH_Mesh::ExportUNV(), SMESH_PreMeshInfo::FullLoadFromFile(), PrepareForWriting(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| void SMESH_Mesh_i::ExportSTL | ( | const char * | file, |
| bool | isascii | ||
| ) |
Export a mesh to an STL file.
References _gen_i, _impl, _preMeshInfo, checkGroupNames(), SMESH_Mesh::ExportSTL(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Gen_i::ObjectToSObject(), PrepareForWriting(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| void SMESH_Mesh_i::ExportStructuredCGNS | ( | SMESH::SMESH_IDSource_ptr | meshPart, |
| const char * | file, | ||
| CORBA::Boolean | overwrite | ||
| ) |
Export a part of mesh to an StructuredCGNS file.
References _gen_i, _impl, _preMeshInfo, SMESH_Mesh::ExportStructuredCGNS(), SMESH_PreMeshInfo::FullLoadFromFile(), GetImpl(), SMESH_Mesh::GetMeshDS(), Load(), SMESH_Gen_i::ObjectToSObject(), PrepareForWriting(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| void SMESH_Mesh_i::ExportUNV | ( | const char * | file, |
| const CORBA::Boolean | renumber | ||
| ) |
Export a mesh to an UNV file.
References _impl, _preMeshInfo, checkGroupNames(), SMESH_Mesh::ExportUNV(), SMESH_PreMeshInfo::FullLoadFromFile(), PrepareForWriting(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| SMESH::ListOfGroups * SMESH_Mesh_i::FaceGroupsSeparatedByEdges | ( | CORBA::Double | theSharpAngle, |
| CORBA::Boolean | theCreateEdges, | ||
| CORBA::Boolean | theUseExistingEdges | ||
| ) |
Distribute all faces of the mesh between groups using sharp edges and optionally existing 1D elements as group boundaries.
| [in] | theSharpAngle | - edge is considered sharp if an angle between normals of adjacent faces is more than sharpAngle in degrees. |
| [in] | theCreateEdges | - to create 1D elements for detected sharp edges. |
| [in] | theUseExistingEdges | - to use existing edges as group boundaries |
References _editor, _impl, _preMeshInfo, SMDS_MeshGroup::Add(), SMESHDS_Mesh::AddEdge(), CreateGroup(), SMESH::FACE, SMDS_Mesh::FindElement(), SMESH_MeshAlgos::FindSharpEdges(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_MeshEditor_i::GenerateGroupName(), SMESH_Mesh::GetMeshDS(), GetMeshEditor(), SMESH_MeshAlgos::SeparateFacesByEdges(), SMDSAbs_Edge, SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| void SMESH_Mesh_i::FileInfoFromString | ( | const std::string & | info | ) |
References _medFileInfo.
Referenced by SMESH_Gen_i::Load().
| std::string SMESH_Mesh_i::FileInfoToString | ( | ) |
|
private |
Finds concurrent sub-meshes.
References _mapSubMesh, SMESH_Gen::GetAlgo(), SMESH_Hypothesis::GetDim(), SMESH_Mesh::GetGen(), SMESH_Mesh::GetHypothesisList(), GetImpl(), SMESH_subMesh::GetSubShape(), SMESHDS_Hypothesis::GetType(), SMESH_Algo::NeedDiscreteBoundary(), and SMESHDS_Hypothesis::PARAM_ALGO.
Referenced by GetMeshOrder(), and IsUnorderedSubMesh().
| SMESH::smIdType SMESH_Mesh_i::FindElementByNodes | ( | const SMESH::smIdType_array & | nodes | ) |
Returns an element based on all given nodes.
Return an element based on all given nodes.
References _impl, _preMeshInfo, SMESH_PreMeshInfo::FullLoadFromFile(), SMDS_MeshElement::GetID(), SMESH_Mesh::GetMeshDS(), SMESH_Mesh::NbEdges(), SMESH_Mesh::NbFaces(), SMESH_Mesh::NbVolumes(), ORDER_QUADRATIC, and SMDSAbs_All.
| std::string SMESH_Mesh_i::generateMeshName | ( | ) |
Return a MeshName.
References _gen_i, SMESH_Gen_i::GetSMESHGen(), SMESH_Gen_i::getStudyServant(), and SMESH_Gen_i::ObjectToSObject().
Referenced by ExportMEDCoupling(), prepareMeshNameAndGroups(), and MEDFileMemSpeCls::prepareMeshNameAndGroups().
| CORBA::Boolean SMESH_Mesh_i::GetAutoColor | ( | ) |
Return true if auto-color mode is on.
References _impl, and SMESH_Mesh::GetAutoColor().
Referenced by SMESH_Gen_i::Save().
| CORBA::Double SMESH_Mesh_i::GetBallDiameter | ( | SMESH::smIdType | id | ) |
Returns diameter of ball discrete element or zero in case of an invalid id.
Return diameter of ball discrete element or zero in case of an invalid id.
References _impl, _preMeshInfo, SMDS_Mesh::FindElement(), SMESH_PreMeshInfo::FullLoadFromFile(), and SMESH_Mesh::GetMeshDS().
| CORBA::Double SMESH_Mesh_i::GetComputeProgress | ( | ) |
Return computation progress [0.,1].
References _impl, SMESH::doNothing(), SMESH_Mesh::GetComputeProgress(), SMESH_CATCH, and SMESH_TRY.
| SMESH::EntityType SMESH_Mesh_i::GetElementGeomType | ( | SMESH::smIdType | id | ) |
Return geometric type of the given element.
References _impl, _preMeshInfo, SMDS_Mesh::FindElement(), SMESH_PreMeshInfo::FullLoadFromFile(), SMDS_MeshElement::GetEntityType(), and SMESH_Mesh::GetMeshDS().
| SMESH::ElementPosition SMESH_Mesh_i::GetElementPosition | ( | SMESH::smIdType | ElemID | ) |
Return position of an element on shape.
References _impl, _preMeshInfo, EDGE, FACE, SMDS_Mesh::FindElement(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), SMESHDS_Mesh::IndexToShape(), SMESH::ElementPosition::shapeID, and SMESH::ElementPosition::shapeType.
|
static |
Return iterator on elements of given type in given object.
References SMESH::ALL, SMDS_Mesh::elementsIterator(), SMESHDS_SubMesh::GetElements(), SMESHDS_GroupBase::GetElements(), GetImpl(), SMESH_Mesh::GetMeshDS(), SMESH::Predicate_i::GetPredicate(), SMESH_MeshEditor_i::GetTemporaryIDs(), SMESHDS_GroupBase::GetType(), SMESH_MeshEditor_i::IsTemporaryIDSource(), SMESH::NODE, SMDSAbs_All, and SMDSAbs_Node.
Referenced by SMESH_Group_i::AddFrom(), SMESH_Gen_i::ConcatenateCommon(), CreateDimGroup(), SMESH_MeshEditor_i::ExtrusionAlongPathObjects(), SMESH_MeshEditor_i::ExtrusionSweepObjects(), SMESH_MeshEditor_i::FindAmongElementsByPoint(), SMESH_MeshEditor_i::FindCoincidentNodesOnPartBut(), SMESH_MeshEditor_i::FindEqualElements(), SMESH_MeshEditor_i::Get1DBranches(), SMESH::Filter_i::GetElementsIdFromParts(), SMESH::NumericalFunctor_i::GetLocalHistogram(), SMESH::Measurements_i::GravityCenter(), SMESH_MeshEditor_i::MakeSlot(), SMESH_MeshEditor_i::MergeNodes(), SMESH::Measurements_i::MinDistance(), SMESH_MeshEditor_i::ProjectPoint(), RemoveGroupWithContents(), SMESH_MeshEditor_i::RotationSweepObjects(), SMESH_MeshEditor_i::SplitVolumesIntoTetra(), and SMESH_MeshEditor_i::SplitVolumesIntoTetraAvoidOverConstrainedVolumes().
| SMESH::smIdType_array * SMESH_Mesh_i::GetElementsByNodes | ( | const SMESH::smIdType_array & | nodes, |
| SMESH::ElementType | elemType | ||
| ) |
Return elements including all given nodes.
References _impl, _preMeshInfo, SMESH_PreMeshInfo::FullLoadFromFile(), and SMESH_Mesh::GetMeshDS().
| SMESH::smIdType_array * SMESH_Mesh_i::GetElementsByType | ( | SMESH::ElementType | theElemType | ) |
Return ids of all elements of given type.
References _impl, _preMeshInfo, SMESH::ALL, SMDS_Mesh::elementsIterator(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), GetNodesId(), NbElements(), and SMESH::NODE.
| SMESH::GeometryType SMESH_Mesh_i::GetElementShape | ( | SMESH::smIdType | id | ) |
Return type of the given element.
References _impl, _preMeshInfo, SMDS_Mesh::FindElement(), SMESH_PreMeshInfo::FullLoadFromFile(), SMDS_MeshElement::GetGeomType(), and SMESH_Mesh::GetMeshDS().
| SMESH::smIdType_array * SMESH_Mesh_i::GetElementsId | ( | ) |
Return ids of all elements.
References _impl, _preMeshInfo, SMDS_Mesh::elementsIterator(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), and NbElements().
Referenced by GetIDs().
| SMESH::ElementType SMESH_Mesh_i::GetElementType | ( | SMESH::smIdType | id, |
| bool | iselem | ||
| ) |
Return type of the given element.
References _impl, _preMeshInfo, SMESH::ALL, SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetElementType(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
Referenced by SMESH_MeshEditor_i::DoubleNodeElemGroup2New(), SMESH_MeshEditor_i::DoubleNodeElemGroups2New(), and SMESH_MeshEditor_i::MakeIDSource().
| SMESH::smIdType_array * SMESH_Mesh_i::GetElemFaceNodes | ( | SMESH::smIdType | elemId, |
| CORBA::Short | faceIndex | ||
| ) |
Returns nodes of given face (counted from zero) for given element.
Return nodes of given face (counted from zero) for given element.
References _impl, _preMeshInfo, SMESH_PreMeshInfo::FullLoadFromFile(), SMDS_VolumeTool::GetFaceNodes(), SMESH_Mesh::GetMeshDS(), SMDS_VolumeTool::NbFaceNodes(), and SMDS_VolumeTool::NbFaces().
| CORBA::Short SMESH_Mesh_i::GetElemNbNodes | ( | SMESH::smIdType | id | ) |
Returns number of nodes for given element If there is not element for given ID - returns -1.
Return number of nodes for given element If there is not element for given ID - return -1.
References _impl, _preMeshInfo, SMDS_Mesh::FindElement(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), and SMDS_MeshElement::NbNodes().
Referenced by RemoveGroupWithContents().
| SMESH::smIdType SMESH_Mesh_i::GetElemNode | ( | SMESH::smIdType | id, |
| CORBA::Short | 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.
Return ID of node by given index for given element If there is not element for given ID - return -1 If there is not node for given index - return -2.
References _impl, _preMeshInfo, SMDS_Mesh::FindElement(), SMESH_PreMeshInfo::FullLoadFromFile(), SMDS_MeshElement::GetID(), SMESH_Mesh::GetMeshDS(), SMDS_MeshElement::GetNode(), and SMDS_MeshElement::NbNodes().
| SMESH::smIdType_array * SMESH_Mesh_i::GetElemNodes | ( | SMESH::smIdType | id | ) |
Returns IDs of nodes of given element.
Return IDs of nodes of given element.
References _impl, _preMeshInfo, SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), and SMDS_MeshNode::GetNode().
| SMESH::double_array * SMESH_Mesh_i::GetFaceNormal | ( | CORBA::Long | faceId, |
| CORBA::Boolean | normalized | ||
| ) |
Returns three components of normal of given mesh face (or an empty array in KO case)
Return three components of normal of given mesh face.
References _impl, _preMeshInfo, SMESH_MeshAlgos::FaceNormal(), SMESH_PreMeshInfo::FullLoadFromFile(), and SMESH_Mesh::GetMeshDS().
| SMESH_Gen_i * SMESH_Mesh_i::GetGen | ( | ) |
Referenced by SMESH_Group_i::Add(), SMESH_Group_i::AddFrom(), ChangeByPredicate(), SMESH_Group_i::Clear(), CreateDimGroup(), CutGroups(), CutListOfGroups(), SMESH_GroupOnGeom_i::GetShape(), IntersectGroups(), IntersectListOfGroups(), SMESH_Group_i::Remove(), SMESH_GroupOnFilter_i::SetFilter(), and SMESH_GroupBase_i::SetName().
| SMESH::ListOfGroups * SMESH_Mesh_i::GetGroups | ( | ) |
Get the list of groups existing in the mesh.
| SMESH::ListOfGroups | * - list of groups |
References _mapGroups, and MESSAGE.
Referenced by checkGroupNames(), SMESH_Gen_i::ConcatenateCommon(), SMESH_MeshEditor_i::Create0DElementsOnAllNodes(), SMESH_Gen_i::CreateMeshesFromUNV(), SMESH_MeshEditor_i::DoubleElements(), SMESH_MeshEditor_i::FillHole(), SMESH_MeshEditor_i::GenerateGroupName(), SMESH_MeshEditor_i::getGroups(), SMESH_MeshEditor_i::MirrorMakeMesh(), SMESH_MeshEditor_i::MirrorObjectMakeMesh(), SMESH_Gen_i::ReloadMeshesFromUNV(), SMESH_MeshEditor_i::RotateMakeMesh(), SMESH_MeshEditor_i::RotateObjectMakeMesh(), SMESH_MeshEditor_i::ScaleMakeMesh(), SMESH_MeshEditor_i::TranslateMakeMesh(), and SMESH_MeshEditor_i::TranslateObjectMakeMesh().
| const std::map< int, SMESH::SMESH_GroupBase_ptr > & SMESH_Mesh_i::getGroups | ( | ) |
Referenced by SMESH_Gen_i::PublishMesh().
| SMESH::ListOfGroups * SMESH_Mesh_i::GetGroups | ( | const std::list< int > & | groupIDs | ) | const |
Return groups contained in _mapGroups by their IDs.
References _mapGroups.
| SMESH::ListOfHypothesis * SMESH_Mesh_i::GetHypothesisList | ( | GEOM::GEOM_Object_ptr | aSubShape | ) |
Return hypotheses assigned to a given sub-shape.
References _gen_i, _impl, _mapHypo, SMESH_Gen_i::GeomObjectToShape(), SMESH_Mesh::GetHypothesisList(), SMESH_Mesh::GetShapeToMesh(), SMESH_Mesh::HasShapeToMesh(), and MESSAGE.
Referenced by removeSubMesh().
| CORBA::Long SMESH_Mesh_i::GetId | ( | ) |
Return a mesh ID.
References _id.
Referenced by CreateDimGroup(), and SMESH_MeshEditor_i::SplitBiQuadraticIntoLinear().
|
virtual |
Method of SMESH_IDSource interface.
References GetElementsId().
| SMESH_Mesh & SMESH_Mesh_i::GetImpl | ( | ) |
Return a mesh implementation.
References _impl.
Referenced by SMESH_Gen_i::_GetInside(), SMESH_Gen_i::AddHypothesisToShape(), StdMeshers_ViscousLayerBuilder_i::AddLayers(), SMESH_Gen_i::Compute(), SMESH_Gen_i::ConcatenateCommon(), SMESH_Gen_i::CopyMesh(), SMESH_Gen_i::CopyMeshWithGeom(), SMESH_Gen_i::CreateDualMesh(), SMESH_Gen_i::CreateMeshesFromCGNS(), SMESH_Gen_i::CreateMeshesFromGMF(), SMESH_Gen_i::CreateMeshesFromMED(), SMESH_Gen_i::CreateMeshesFromMESHIO(), SMESH_Gen_i::CreateMeshesFromSTL(), SMESH_Gen_i::CreateMeshesFromUNV(), SMESH_Gen_i::Evaluate(), ExportStructuredCGNS(), SMESH_MeshEditor_i::ExtrusionAlongPathObjects(), findConcurrentSubMeshes(), SMESH_Gen_i::FindGeometryByMeshElement(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Gen_i::GetAlgoState(), GetElements(), SMESH_Gen_i::GetHypothesisParameterValues(), getMesh(), SMESH_Pattern_i::getMesh(), GetMeshOrder(), SMESH_Gen_i::GetMeshOrSubmeshByShape(), StdMeshers_ViscousLayerBuilder_i::GetShrinkGeometry(), SMESH_GroupBase_i::GetSmeshGroup(), SMESH_Gen_i::GetSoleSubMeshUsingHyp(), SMESH_Gen_i::IsReadyToCompute(), IsUnorderedSubMesh(), SMESH_MeshEditor_i::LinearAnglesVariation(), SMESH_Gen_i::Load(), StdMeshers_ProjectionSource1D_i::LoadFrom(), StdMeshers_ProjectionSource2D_i::LoadFrom(), StdMeshers_ProjectionSource3D_i::LoadFrom(), SMESH_MeshEditor_i::MakeBoundaryElements(), SMESH_MeshEditor_i::MakeBoundaryMesh(), MeshPtr2SMDSMesh(), SMESH_MeshEditor_i::MirrorMakeMesh(), SMESH_MeshEditor_i::MirrorObjectMakeMesh(), SMESH_MeshEditor_i::Offset(), SMESH_Gen_i::Precompute(), SMESH_PreMeshInfo::readSubMeshes(), SMESH_PreMeshInfo::readSubMeshInfo(), SMESH_Gen_i::ReloadMeshesFromCGNS(), SMESH_Gen_i::ReloadMeshesFromGMF(), SMESH_Gen_i::ReloadMeshesFromMED(), SMESH_Gen_i::ReloadMeshesFromMESHIO(), SMESH_Gen_i::ReloadMeshesFromSTL(), SMESH_Gen_i::ReloadMeshesFromUNV(), SMESH_MeshEditor_i::RotateMakeMesh(), SMESH_MeshEditor_i::RotateObjectMakeMesh(), SMESH_Gen_i::Save(), SMESH_PreMeshInfo::SaveToFile(), SMESH_MeshEditor_i::ScaleMakeMesh(), SetMeshOrder(), StdMeshers_ProjectionSource1D_i::SetSourceMesh(), StdMeshers_ProjectionSource2D_i::SetSourceMesh(), StdMeshers_ProjectionSource3D_i::SetSourceMesh(), SMESH_MeshPartDS::SMESH_MeshPartDS(), SMESH_MeshEditor_i::TranslateMakeMesh(), SMESH_MeshEditor_i::TranslateObjectMakeMesh(), and SMESH_Gen_i::UpdateIcons().
| SMESH::string_array * SMESH_Mesh_i::GetLastParameters | ( | ) |
Returns list of notebook variables used for last Mesh operation.
Return list of notebook variables used for last Mesh operation.
References GetParameters(), SMESH_Gen_i::GetSMESHGen(), and SMESH_Gen_i::getStudyServant().
| SMESH::log_array * SMESH_Mesh_i::GetLog | ( | CORBA::Boolean | clearAfterGet | ) |
Return a log that can be used to move another mesh to the same state as this one.
References _impl, _preMeshInfo, SMESH_Mesh::ClearLog(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESHDS_Command::GetCoords(), SMESHDS_Command::GetIndexes(), SMESH_Mesh::GetLog(), SMESHDS_Command::GetNumber(), SMESHDS_Command::GetType(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
|
virtual |
Returns information about imported MED file.
Return information about imported file.
References _medFileInfo, and SMESH::MedFileInfo::fileName.
| SMESH::long_array * SMESH_Mesh_i::GetMEDVersionsCompatibleForAppend | ( | ) |
Return the list of med versions compatibles for write/append, encoded in 10*major+minor (for instance, code for med 3.2.1 is 32)
References MED::GetMEDVersionsAppendCompatible().
Referenced by ExportPartToMESHIO().
|
virtual |
Returns self.
Return self.
| SMESH::SMESH_MeshEditor_ptr SMESH_Mesh_i::GetMeshEditor | ( | ) |
Return mesh editor.
References _editor, _preMeshInfo, SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
Referenced by FaceGroupsSeparatedByEdges(), SMESH_MeshEditor_i::FindAmongElementsByPoint(), and SMESH_MeshEditor_i::ProjectPoint().
| SMESH::SMESH_MeshEditor_ptr SMESH_Mesh_i::GetMeshEditPreviewer | ( | ) |
Return mesh edition previewer.
References _preMeshInfo, _previewEditor, SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
Referenced by SMESH_MeshEditor_i::FindAmongElementsByPoint(), and SMESH_MeshEditor_i::ProjectPoint().
|
virtual |
Returns number of mesh elements of each EntityType Result array of number of elements per EntityType Inherited from SMESH_IDSource.
Return number of mesh elements per each EntityType.
References _impl, _preMeshInfo, SMESH::Entity_Last, SMESH::Entity_Node, SMESH_Mesh::GetMeshDS(), SMDS_Mesh::GetMeshInfo(), SMESH_PreMeshInfo::GetMeshInfo(), and SMDS_MeshInfo::NbEntities().
Referenced by SMESH_PreMeshInfo::SaveToFile().
|
virtual |
Return submesh objects list in meshing order.
Return sub-mesh objects list in meshing order.
References _impl, convertMeshOrder(), findConcurrentSubMeshes(), GetImpl(), SMESH_Mesh::GetMeshDS(), and SMESH_Mesh::GetMeshOrder().
| CORBA::LongLong SMESH_Mesh_i::GetMeshPtr | ( | ) |
Return pointer to _impl as an integer value.
Is called from constructor of SMESH_Client
References _impl, _preMeshInfo, SMESH_PreMeshInfo::FullLoadFromFile(), and MESSAGE.
|
virtual |
Returns number of mesh elements of each ElementType.
Return number of mesh elements per each ElementType.
References _impl, _preMeshInfo, SMESH_Mesh::GetMeshDS(), SMESH::NB_ELEMENT_TYPES, and SMDS_MeshInfo::NbElements().
| SMESH::smIdType_array * SMESH_Mesh_i::GetNodeInverseElements | ( | SMESH::smIdType | id, |
| SMESH::ElementType | elemType | ||
| ) |
For given node returns list of IDs of inverse elements If there is not node for given ID - returns empty list.
For given node return list of IDs of inverse elements If there is not node for given ID - return empty list.
References _impl, _preMeshInfo, SMDS_Mesh::FindNode(), SMESH_PreMeshInfo::FullLoadFromFile(), SMDS_MeshElement::GetID(), SMDS_MeshNode::GetInverseElementIterator(), SMESH_Mesh::GetMeshDS(), and SMDS_MeshNode::NbInverseElements().
| SMESH::NodePosition * SMESH_Mesh_i::GetNodePosition | ( | SMESH::smIdType | NodeID | ) |
Return position of a node on shape.
References _impl, _preMeshInfo, EDGE, FACE, SMDS_Mesh::FindNode(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), SMESH_Mesh::GetShapeToMesh(), SMESH::NodePosition::params, SMESH::NodePosition::shapeID, SMESH::NodePosition::shapeType, SMDS_TOP_3DSPACE, SMDS_TOP_EDGE, SMDS_TOP_FACE, and SMDS_TOP_VERTEX.
| SMESH::smIdType_array * SMESH_Mesh_i::GetNodesId | ( | ) |
Return ids of all nodes.
References _impl, _preMeshInfo, SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), NbNodes(), and SMDS_Mesh::nodesIterator().
Referenced by GetElementsByType().
| SMESH::double_array * SMESH_Mesh_i::GetNodeXYZ | ( | SMESH::smIdType | id | ) |
Get XYZ coordinates of node as list of double If there is not node for given ID - returns empty list.
Get XYZ coordinates of node as list of double If there is not node for given ID - return empty list.
References _impl, _preMeshInfo, SMDS_Mesh::FindNode(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
| char * SMESH_Mesh_i::GetParameters | ( | ) |
Returns list of notebook variables used for Mesh operations separated by ":" symbol.
Return list of notebook variables used for Mesh operations separated by ":" symbol.
References SMESH_Gen_i::GetParameters(), and SMESH_Gen_i::GetSMESHGen().
Referenced by GetLastParameters().
| CORBA::Long SMESH_Mesh_i::GetShapeID | ( | SMESH::smIdType | id | ) |
If given element is node returns IDs of shape from position If there is not node for given ID - returns -1.
If given element is node return IDs of shape from position If there is not node for given ID - return -1.
References _impl, _preMeshInfo, SMDS_Mesh::FindNode(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), and SMDS_MeshElement::getshapeId().
| CORBA::Long SMESH_Mesh_i::GetShapeIDForElem | ( | SMESH::smIdType | id | ) |
For given element returns ID of result shape after ::FindShape() from SMESH_MeshEditor If there is not element for given ID - returns -1.
For given element return ID of result shape after ::FindShape() from SMESH_MeshEditor If there is not element for given ID - return -1.
References _impl, _preMeshInfo, SMDS_Mesh::FindElement(), SMESH_MeshEditor::FindShape(), SMESH_PreMeshInfo::FullLoadFromFile(), and SMESH_Mesh::GetMeshDS().
| GEOM::GEOM_Object_ptr SMESH_Mesh_i::GetShapeToMesh | ( | ) |
Return the shape to mesh.
References _gen_i, _geomGroupData, _impl, SMESH_Mesh::GetMeshDS(), SMESH_Gen_i::getStudyServant(), SMESH_Gen_i::ShapeToGeomObject(), SMESHDS_Mesh::ShapeToMesh(), and SMESH_Gen_i::SObjectToObject().
Referenced by CheckGeomGroupModif(), CheckGeomModif(), ExportPartToMEDCommon(), SMESH_Gen_i::GetSoleSubMeshUsingHyp(), SMESH_Gen_i::Load(), and ReplaceShape().
| SMESH::SMESH_subMesh_ptr SMESH_Mesh_i::GetSubMesh | ( | GEOM::GEOM_Object_ptr | aSubShape, |
| const char * | theName | ||
| ) |
Create and return a sub-mesh on the given sub-shape.
References _gen_i, _impl, SMESH_Gen_i::CanPublishInStudy(), createSubMesh(), SMESH_Gen_i::GeomObjectToShape(), SMESH_Mesh::GetMeshDS(), SMESH_Mesh::GetShapeToMesh(), getSubMesh(), SMESHDS_Mesh::IsGroupOfSubShapes(), SMESH_Gen_i::PublishSubMesh(), and SMESHDS_Mesh::ShapeToIndex().
| SMESH::SMESH_subMesh_ptr SMESH_Mesh_i::getSubMesh | ( | int | shapeID | ) |
Return an existing sub-mesh based on a sub-shape with the given ID.
References _mapSubMeshIor.
Referenced by SMESH_Gen_i::AddHypothesisToShape(), SMESH_Gen_i::GetMeshOrSubmeshByShape(), and GetSubMesh().
| SMESH::smIdType_array * SMESH_Mesh_i::GetSubMeshElementsId | ( | CORBA::Long | ShapeID | ) |
Returns ID of elements for given submesh.
Return ID of elements for given submesh.
References _impl, _preMeshInfo, SMESH_PreMeshInfo::FullLoadFromFile(), SMESHDS_SubMesh::GetElements(), SMESH_Mesh::GetSubMeshContaining(), SMESH_subMesh::GetSubMeshDS(), SMESHDS_SubMesh::NbElements(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| SMESH::ElementType SMESH_Mesh_i::GetSubMeshElementType | ( | CORBA::Long | ShapeID | ) |
Returns type of elements for given submesh.
Return type of elements for given sub-mesh.
References _impl, _preMeshInfo, SMESH::ALL, SMESH_PreMeshInfo::FullLoadFromFile(), SMESHDS_SubMesh::GetElements(), SMESH_Mesh::GetSubMeshContaining(), SMESH_subMesh::GetSubMeshDS(), SMESH_subMesh::GetSubShape(), SMDS_MeshElement::GetType(), SMESHDS_SubMesh::NbElements(), SMESH::NODE, SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| SMESH::submesh_array * SMESH_Mesh_i::GetSubMeshes | ( | ) |
Return sub-meshes.
References _mapSubMeshIor, and MESSAGE.
| SMESH::smIdType_array * SMESH_Mesh_i::GetSubMeshNodesId | ( | CORBA::Long | ShapeID, |
| CORBA::Boolean | all | ||
| ) |
Returns ID of nodes for given submesh If param all==true - returns all nodes, else - returns only nodes on shapes.
Return ID of nodes for given sub-mesh If param all==true - return all nodes, else - Return only nodes on shapes.
References _impl, _preMeshInfo, SMESH_PreMeshInfo::FullLoadFromFile(), SMESHDS_SubMesh::GetElements(), SMDS_MeshElement::GetID(), SMESHDS_SubMesh::GetNodes(), SMESH_Mesh::GetSubMeshContaining(), SMESH_subMesh::GetSubMeshDS(), SMESHDS_SubMesh::NbElements(), SMDS_MeshElement::nodesIterator(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
|
virtual |
Returns types of elements it contains.
Return types of elements it contains.
References _impl, _preMeshInfo, SMESH::BALL, SMESH::EDGE, SMESH::ELEM0D, SMESH::FACE, SMESH_PreMeshInfo::GetTypes(), SMESH_Mesh::Nb0DElements(), SMESH_Mesh::NbBalls(), SMESH_Mesh::NbEdges(), SMESH_Mesh::NbFaces(), SMESH_Mesh::NbNodes(), SMESH_Mesh::NbVolumes(), SMESH::NODE, and SMESH::VOLUME.
| char * SMESH_Mesh_i::GetVersionString | ( | CORBA::Long | minor, |
| CORBA::Short | nbDigits | ||
| ) |
Return string representation of a MED file version comprising nbDigits.
References DriverMED_W_SMESHDS_Mesh::GetVersionString().
|
virtual |
Returns mesh unstructed grid information.
References _impl, and SMESH_Mesh::GetMeshDS().
| CORBA::Boolean SMESH_Mesh_i::HasDuplicatedGroupNamesMED | ( | ) |
Check group names for duplications.
Check if there are groups with equal names.
Consider maximum group name length stored in MED file.
References _impl, and SMESH_Mesh::HasDuplicatedGroupNamesMED().
| CORBA::Boolean SMESH_Mesh_i::HasModificationsToDiscard | ( | ) |
Return true if the mesh has been edited since a last total re-compute and those modifications may prevent successful partial re-compute.
References _impl, and SMESH_Mesh::HasModificationsToDiscard().
| CORBA::Boolean SMESH_Mesh_i::HasShapeToMesh | ( | ) |
Return true if mesh has a shape to build a shape on.
References _impl, and SMESH_Mesh::HasShapeToMesh().
Referenced by addHypothesis(), SMESH_PreMeshInfo::ForgetOrLoad(), SMESH_Gen_i::GetSoleSubMeshUsingHyp(), SMESH_Gen_i::Load(), removeHypothesis(), and SMESH_Gen_i::UpdateIcons().
| SMESH::DriverMED_ReadStatus SMESH_Mesh_i::ImportCGNSFile | ( | const char * | theFileName, |
| const int | theMeshIndex, | ||
| std::string & | theMeshName | ||
| ) |
Import mesh data from the CGNS file.
References _impl, _medFileInfo, SMESH_Mesh::CGNSToMesh(), ConvertDriverMEDReadStatus(), CreateGroupServants(), and SMESH_File::size().
Referenced by SMESH_Gen_i::CreateMeshesFromCGNS(), and SMESH_Gen_i::ReloadMeshesFromCGNS().
| SMESH::ComputeError * SMESH_Mesh_i::ImportGMFFile | ( | const char * | theFileName, |
| bool | theMakeRequiredGroups | ||
| ) |
Import data from a GMF file and return an error description.
References _impl, _medFileInfo, ConvertComputeError(), CreateGroupServants(), SMESH_Mesh::GMFToMesh(), SMESH_File::size(), SMESH_CATCH, and SMESH_TRY.
Referenced by SMESH_Gen_i::CreateMeshesFromGMF(), and SMESH_Gen_i::ReloadMeshesFromGMF().
| SMESH::DriverMED_ReadStatus SMESH_Mesh_i::ImportMEDFile | ( | const char * | theFileName, |
| const char * | theMeshName | ||
| ) |
consult DriverMED_R_SMESHDS_Mesh::ReadStatus for returned value
ImportMEDFile.
Import mesh data from MED file
References _impl, _medFileInfo, ConvertDriverMEDReadStatus(), CreateGroupServants(), MED::GetMEDVersion(), SMESH_Mesh::MEDToMesh(), and SMESH_File::size().
Referenced by SMESH_Gen_i::CreateDualMesh(), SMESH_Gen_i::CreateMeshesFromMED(), SMESH_Gen_i::CreateMeshesFromMESHIO(), SMESH_Gen_i::ReloadMeshesFromMED(), and SMESH_Gen_i::ReloadMeshesFromMESHIO().
| int SMESH_Mesh_i::ImportSTLFile | ( | const char * | theFileName | ) |
ImportSTLFile.
Import mesh data from STL file
References _gen_i, _impl, _medFileInfo, SMESH_Gen_i::ObjectToSObject(), SMESH_Gen_i::SetName(), SMESH_File::size(), SMESH_CATCH, SMESH_TRY, SMESH_Mesh::STLToMesh(), and SMESH::throwCorbaException().
Referenced by SMESH_Gen_i::CreateMeshesFromSTL(), and SMESH_Gen_i::ReloadMeshesFromSTL().
| int SMESH_Mesh_i::ImportUNVFile | ( | const char * | theFileName | ) |
ImportUNVFile.
Import mesh data from MED file
References _impl, _medFileInfo, CreateGroupServants(), SMESH_File::size(), SMESH_CATCH, SMESH_TRY, SMESH::throwCorbaException(), and SMESH_Mesh::UNVToMesh().
Referenced by SMESH_Gen_i::CreateMeshesFromUNV(), and SMESH_Gen_i::ReloadMeshesFromUNV().
| SMESH::SMESH_Group_ptr SMESH_Mesh_i::IntersectGroups | ( | SMESH::SMESH_GroupBase_ptr | theGroup1, |
| SMESH::SMESH_GroupBase_ptr | theGroup2, | ||
| const char * | theName | ||
| ) |
New group is created.
All mesh elements that are present in both initial groups are added to the new one.
References _preMeshInfo, SMDS_MeshGroup::Add(), SMESHDS_GroupBase::Contains(), CreateGroup(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESHDS_GroupBase::GetElements(), GetGen(), SMESHDS_GroupBase::IsEmpty(), SMESHDS_Group::SMDSGroup(), SMESH_CATCH, SMESH_TRY, SMESH::throwCorbaException(), and SMESH_Gen_i::UpdateGroupIcon().
| SMESH::SMESH_Group_ptr SMESH_Mesh_i::IntersectListOfGroups | ( | const SMESH::ListOfGroups & | theGroups, |
| const char * | theName | ||
| ) |
Intersect list of groups.
New group is created. All mesh elements that are present in all initial groups simultaneously are added to the new one.
| theGroups | list of groups |
| theName | name of group to be created |
References _preMeshInfo, SMDS_MeshGroup::Add(), SMESH::ALL, CreateGroup(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESHDS_Group::GetElements(), GetGen(), SMESHDS_Group::SMDSGroup(), SMESH_CATCH, SMESH_TRY, SMESH::throwCorbaException(), and SMESH_Gen_i::UpdateGroupIcon().
| CORBA::Boolean SMESH_Mesh_i::IsComputedOK | ( | ) |
Return true if all sub-meshes are computed OK - to update an icon.
References _impl, and SMESH_Mesh::IsComputedOK().
Referenced by SMESH_Gen_i::UpdateIcons().
| CORBA::Boolean SMESH_Mesh_i::IsLoaded | ( | ) |
Return false if the mesh is not yet fully loaded from the study file.
References _preMeshInfo.
Referenced by CheckGeomGroupModif().
| CORBA::Boolean SMESH_Mesh_i::IsMediumNode | ( | SMESH::smIdType | ide, |
| SMESH::smIdType | idn | ||
| ) |
Returns true if given node is medium node in given quadratic element.
Return true if given node is medium node in given quadratic element.
References _impl, _preMeshInfo, SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), and SMDS_MeshElement::IsMediumNode().
| CORBA::Boolean SMESH_Mesh_i::IsMediumNodeOfAnyElem | ( | SMESH::smIdType | idn, |
| SMESH::ElementType | elemType | ||
| ) |
Returns true if given node is medium node in one of quadratic elements.
Return true if given node is medium node in one of quadratic elements.
References _impl, _preMeshInfo, SMESH::EDGE, SMESH::FACE, SMDS_Mesh::FindNode(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), SMESH_MesherHelper::IsMedium(), SMDSAbs_All, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Volume, and SMESH::VOLUME.
| bool SMESH_Mesh_i::IsMeshInfoCorrect | ( | ) |
Returns false if GetMeshInfo() returns incorrect information that may happen if mesh data is not yet fully loaded from the file of study.
Return false if GetMeshInfo() return incorrect information that may happen if mesh data is not yet fully loaded from the file of study.
References _preMeshInfo, and SMESH_PreMeshInfo::IsMeshInfoCorrect().
| CORBA::Boolean SMESH_Mesh_i::IsPoly | ( | SMESH::smIdType | id | ) |
Returns true if given element is polygon.
Return true if given element is polygon.
References _impl, _preMeshInfo, SMDS_Mesh::FindElement(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), and SMDS_MeshElement::IsPoly().
| CORBA::Boolean SMESH_Mesh_i::IsQuadratic | ( | SMESH::smIdType | id | ) |
Returns true if given element is quadratic.
Return true if given element is quadratic.
References _impl, _preMeshInfo, SMDS_Mesh::FindElement(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_Mesh::GetMeshDS(), and SMDS_MeshElement::IsQuadratic().
| CORBA::Boolean SMESH_Mesh_i::IsUnorderedSubMesh | ( | CORBA::Long | submeshID | ) |
Return true if a meshing order not yet set for a concurrent sub-mesh.
References findConcurrentSubMeshes(), GetImpl(), and SMESH_Mesh::GetMeshOrder().
| void SMESH_Mesh_i::Load | ( | ) |
Load full mesh data from the study file.
References _preMeshInfo, and SMESH_PreMeshInfo::FullLoadFromFile().
Referenced by SMESH_Gen_i::Compute(), SMESH_Gen_i::ConcatenateCommon(), SMESH_Gen_i::CopyMesh(), SMESH_Gen_i::CopyMeshWithGeom(), SMESH_Gen_i::Evaluate(), ExportStructuredCGNS(), SMESH_Pattern_i::getMesh(), SMESH_Gen_i::Precompute(), ReplaceShape(), and SMESH_MeshPartDS::SMESH_MeshPartDS().
| int & SMESH_Mesh_i::MainShapeTick | ( | ) |
Persistence of geometry tick.
Referenced by SMESH_Gen_i::Load(), and SMESH_Gen_i::Save().
| SMESH::ListOfGroups * SMESH_Mesh_i::MakeGroupsOfBadInputElements | ( | int | theSubShapeID, |
| const char * | theGroupName | ||
| ) |
Create a group of elements preventing computation of a sub-shape.
References _gen_i, _impl, SMESH_MeshEditor::AddElement(), SMESH_Gen_i::CanPublishInStudy(), createGroup(), SMESH_GroupBase_i::GetGroupDS(), SMDS_MeshElement::GetID(), SMESH_Mesh::GetSubMeshContaining(), SMDS_MeshElement::GetType(), SMESH_Mesh::HasShapeToMesh(), SMESH_MeshEditor::ElemFeatures::Init(), SMDS_MeshElement::nodeIterator(), SMESH_Gen_i::PublishGroup(), and SMDSAbs_NbElementTypes.
| SMESH::smIdType SMESH_Mesh_i::Nb0DElements | ( | ) |
Return nb of 0D elements.
References _impl, _preMeshInfo, SMDS_MeshInfo::Nb0DElements(), and SMESH_Mesh::Nb0DElements().
Referenced by NbElements().
| SMESH::smIdType SMESH_Mesh_i::NbBalls | ( | ) |
Return nb of BALL elements.
References _impl, _preMeshInfo, SMDS_MeshInfo::NbBalls(), and SMESH_Mesh::NbBalls().
Referenced by NbElements().
| SMESH::smIdType SMESH_Mesh_i::NbBiQuadQuadrangles | ( | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbBiQuadQuadrangles(), and SMESH_Mesh::NbBiQuadQuadrangles().
| SMESH::smIdType SMESH_Mesh_i::NbBiQuadTriangles | ( | ) |
Return nb of bi-quadratic triangles.
References _impl, _preMeshInfo, SMDS_MeshInfo::NbBiQuadTriangles(), and SMESH_Mesh::NbBiQuadTriangles().
| SMESH::smIdType SMESH_Mesh_i::NbEdges | ( | ) |
Return nb of 1D elements.
References _impl, _preMeshInfo, SMDS_MeshInfo::NbEdges(), and SMESH_Mesh::NbEdges().
Referenced by NbElements().
| SMESH::smIdType SMESH_Mesh_i::NbEdgesOfOrder | ( | SMESH::ElementOrder | order | ) |
Return nb of edges.
References _impl, _preMeshInfo, SMDS_MeshInfo::NbEdges(), and SMESH_Mesh::NbEdges().
| SMESH::smIdType SMESH_Mesh_i::NbElements | ( | ) |
Return nb of elements.
References _preMeshInfo, Nb0DElements(), NbBalls(), NbEdges(), SMDS_MeshInfo::NbElements(), NbFaces(), and NbVolumes().
Referenced by AddHypothesis(), CheckGeomGroupModif(), CheckGeomModif(), GetElementsByType(), and GetElementsId().
| SMESH::smIdType SMESH_Mesh_i::NbFaces | ( | ) |
Return nb of faces.
References _impl, _preMeshInfo, SMDS_MeshInfo::NbFaces(), and SMESH_Mesh::NbFaces().
Referenced by NbElements().
| SMESH::smIdType SMESH_Mesh_i::NbFacesOfOrder | ( | SMESH::ElementOrder | order | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbFaces(), and SMESH_Mesh::NbFaces().
| CORBA::Long SMESH_Mesh_i::NbGroups | ( | ) |
| SMESH::smIdType SMESH_Mesh_i::NbHexagonalPrisms | ( | ) |
References _impl, _preMeshInfo, SMESH_Mesh::NbHexagonalPrisms(), and SMDS_MeshInfo::NbHexPrisms().
| SMESH::smIdType SMESH_Mesh_i::NbHexas | ( | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbHexas(), and SMESH_Mesh::NbHexas().
| SMESH::smIdType SMESH_Mesh_i::NbHexasOfOrder | ( | SMESH::ElementOrder | order | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbHexas(), and SMESH_Mesh::NbHexas().
| SMESH::smIdType SMESH_Mesh_i::NbNodes | ( | ) |
Return nb of nodes.
References _impl, _preMeshInfo, SMDS_MeshInfo::NbNodes(), and SMESH_Mesh::NbNodes().
Referenced by AddHypothesis(), CheckGeomGroupModif(), CheckGeomModif(), SMESH_Gen_i::GetHypothesisParameterValues(), GetNodesId(), and SMESH_Gen_i::UpdateIcons().
| SMESH::smIdType SMESH_Mesh_i::NbPolygons | ( | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbPolygons(), and SMESH_Mesh::NbPolygons().
| SMESH::smIdType SMESH_Mesh_i::NbPolygonsOfOrder | ( | SMESH::ElementOrder | order = SMESH::ORDER_ANY | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbPolygons(), and SMESH_Mesh::NbPolygons().
| SMESH::smIdType SMESH_Mesh_i::NbPolyhedrons | ( | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbPolyhedrons(), and SMESH_Mesh::NbPolyhedrons().
| SMESH::smIdType SMESH_Mesh_i::NbPrisms | ( | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbPrisms(), and SMESH_Mesh::NbPrisms().
| SMESH::smIdType SMESH_Mesh_i::NbPrismsOfOrder | ( | SMESH::ElementOrder | order | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbPrisms(), and SMESH_Mesh::NbPrisms().
| SMESH::smIdType SMESH_Mesh_i::NbPyramids | ( | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbPyramids(), and SMESH_Mesh::NbPyramids().
| SMESH::smIdType SMESH_Mesh_i::NbPyramidsOfOrder | ( | SMESH::ElementOrder | order | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbPyramids(), and SMESH_Mesh::NbPyramids().
| SMESH::smIdType SMESH_Mesh_i::NbQuadrangles | ( | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbQuadrangles(), and SMESH_Mesh::NbQuadrangles().
| SMESH::smIdType SMESH_Mesh_i::NbQuadranglesOfOrder | ( | SMESH::ElementOrder | order | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbQuadrangles(), and SMESH_Mesh::NbQuadrangles().
| SMESH::smIdType SMESH_Mesh_i::NbSubMesh | ( | ) |
Return nb of published sub-meshes.
References _mapSubMesh_i.
| SMESH::smIdType SMESH_Mesh_i::NbTetras | ( | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbTetras(), and SMESH_Mesh::NbTetras().
| SMESH::smIdType SMESH_Mesh_i::NbTetrasOfOrder | ( | SMESH::ElementOrder | order | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbTetras(), and SMESH_Mesh::NbTetras().
| SMESH::smIdType SMESH_Mesh_i::NbTriangles | ( | ) |
Return nb of tringles.
References _impl, _preMeshInfo, SMDS_MeshInfo::NbTriangles(), and SMESH_Mesh::NbTriangles().
| SMESH::smIdType SMESH_Mesh_i::NbTrianglesOfOrder | ( | SMESH::ElementOrder | order | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbTriangles(), and SMESH_Mesh::NbTriangles().
| SMESH::smIdType SMESH_Mesh_i::NbTriQuadraticHexas | ( | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbTriQuadHexas(), and SMESH_Mesh::NbTriQuadraticHexas().
| SMESH::smIdType SMESH_Mesh_i::NbVolumes | ( | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbVolumes(), and SMESH_Mesh::NbVolumes().
Referenced by NbElements().
| SMESH::smIdType SMESH_Mesh_i::NbVolumesOfOrder | ( | SMESH::ElementOrder | order | ) |
References _impl, _preMeshInfo, SMDS_MeshInfo::NbVolumes(), and SMESH_Mesh::NbVolumes().
|
private |
Return new group contents if it has been changed and update group data.
References _gen_i, SMESH_Mesh_i::TGeomGroupData::_groupEntry, _impl, SMESH_Mesh_i::TGeomGroupData::_indices, SMESH_Mesh_i::TGeomGroupData::_smeshObject, SMESH_Gen_i::GeomObjectToShape(), SMESH_Gen_i::GetGeomEngine(), SMESH_Mesh::GetMeshDS(), SMESH_Gen_i::GetShapeReader(), SMESH_Gen_i::getStudyServant(), IS_BREAK_LINK, SMESHDS_Mesh::IsGroupOfSubShapes(), SMESH_Gen_i::ObjectToSObject(), ONLY_IF_CHANGED, SMESHDS_Mesh::ShapeToIndex(), SMESH_Gen_i::SObjectToObject(), and SMESH::Tag_RefOnShape.
Referenced by CheckGeomGroupModif(), and CheckGeomModif().
| void SMESH_Mesh_i::onHypothesisModified | ( | int | theHypID, |
| bool | updateIcons | ||
| ) |
callback from _impl to 1) forget not loaded mesh data (issue 0021208) 2) mark hypothesis as valid
References _gen_i, _nbInvalidHypos, _preMeshInfo, SMESH_PreMeshInfo::ForgetOrLoad(), SMESH_Gen_i::GetHypothesisRootTag(), SMESH_Gen_i::getStudyServant(), SMESH_Gen_i::HighLightInvalid(), SMESH_Gen_i::IsInvalid(), SMESH_Gen_i::PublishComponent(), SMESH_Gen_i::SObjectToObject(), and SMESH_Gen_i::UpdateIcons().
|
static |
Care of a file before exporting mesh into it.
References SMESH_File::exists(), SMESH_File::getName(), SMESH_File::isDirectory(), SMESH_File::openForWriting(), and SMESH_File::remove().
Referenced by ExportCGNS(), ExportDAT(), ExportGMF(), ExportPartToSTL(), ExportPartToUNV(), ExportSTL(), ExportStructuredCGNS(), ExportUNV(), MEDFileSpeCls::prepareForWriting(), and prepareMeshNameAndGroups().
| string SMESH_Mesh_i::prepareMeshNameAndGroups | ( | const char * | file, |
| CORBA::Boolean | overwrite | ||
| ) |
Prepare a file for export and pass names of mesh groups from study to mesh DS.
| file | - file name |
| overwrite | - to erase the file or not |
| string | - mesh name |
References _gen_i, checkGroupNames(), generateMeshName(), SMESH_Gen_i::GetSMESHGen(), SMESH_Gen_i::getStudyServant(), SMESH_Gen_i::ObjectToSObject(), and PrepareForWriting().
Referenced by ExportMED(), and MEDFileSpeCls::prepareMeshNameAndGroups().
|
private |
Remove GEOM group data relating to removed smesh object.
References _geomGroupData.
Referenced by ConvertToStandalone(), removeGroup(), and removeSubMesh().
| void SMESH_Mesh_i::removeGroup | ( | const int | theId | ) |
Should be called by ~SMESH_Group_i()
References _impl, _mapGroups, MESSAGE, removeGeomGroupData(), SMESH_Mesh::RemoveGroup(), and RemoveGroup().
Referenced by RemoveGroup().
| void SMESH_Mesh_i::RemoveGroup | ( | SMESH::SMESH_GroupBase_ptr | theGroup | ) |
Remove a group.
References _gen_i, SMESH_GroupBase_i::GetLocalID(), SMESH_GroupBase_i::GetMeshServant(), SMESH_Gen_i::GetSMESHGen(), SMESH_Gen_i::getStudyServant(), SMESH::NotifyerAndWaiter::Modified(), SMESH_Gen_i::ObjectToSObject(), removeGroup(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
Referenced by CheckGeomGroupModif(), removeGroup(), and RemoveGroupWithContents().
| void SMESH_Mesh_i::RemoveGroupWithContents | ( | SMESH::SMESH_GroupBase_ptr | theGroup | ) |
Remove group with its contents.
References _impl, _preMeshInfo, SMDS_Mesh::FindNode(), SMESH_PreMeshInfo::FullLoadFromFile(), GetElements(), GetElemNbNodes(), SMESH_Mesh::GetMeshDS(), SMESH_GroupBase_i::GetMeshServant(), SMDS_Mesh::Modified(), SMESH::NODE, SMESHDS_Mesh::RemoveElement(), SMESHDS_Mesh::RemoveFreeElement(), SMESHDS_Mesh::RemoveFreeNode(), RemoveGroup(), SMESH_Mesh::SetIsModified(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| SMESH::Hypothesis_Status SMESH_Mesh_i::RemoveHypothesis | ( | GEOM::GEOM_Object_ptr | aSubShape, |
| SMESH::SMESH_Hypothesis_ptr | anHyp | ||
| ) |
Un-assign a hypothesis from a sub-mesh dedicate to the given sub-shape.
References _gen_i, _impl, _preMeshInfo, ConvertHypothesisStatus(), SMESH_PreMeshInfo::ForgetOrLoad(), SMESH_Mesh::HasShapeToMesh(), SMESH_Hypothesis::IsStatusFatal(), removeHypothesis(), SMESH_Gen_i::RemoveHypothesisFromShape(), and SMESH_Gen_i::UpdateIcons().
| SMESH_Hypothesis::Hypothesis_Status SMESH_Mesh_i::removeHypothesis | ( | GEOM::GEOM_Object_ptr | aSubShape, |
| SMESH::SMESH_Hypothesis_ptr | anHyp | ||
| ) |
Un-assign a hypothesis from a sub-mesh dedicate to the given sub-shape.
References _gen_i, _impl, _preMeshInfo, SMESH_PreMeshInfo::ForgetOrLoad(), SMESH_Gen_i::GeomObjectToShape(), SMESH_Mesh::GetShapeToMesh(), HasShapeToMesh(), SMESH_Mesh::HasShapeToMesh(), SMESH_Hypothesis::HYP_OK, SMESH_Hypothesis::IsStatusFatal(), MESSAGE, and SMESH_Mesh::RemoveHypothesis().
Referenced by RemoveHypothesis(), and removeSubMesh().
| void SMESH_Mesh_i::RemoveSubMesh | ( | SMESH::SMESH_subMesh_ptr | theSubMesh | ) |
Remove a sub-mesh.
References _gen_i, _preMeshInfo, SMESH_PreMeshInfo::ForgetOrLoad(), SMESH_Gen_i::GetRefOnShapeTag(), SMESH_Gen_i::getStudyServant(), SMESH_Gen_i::ObjectToSObject(), removeSubMesh(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
Referenced by CheckGeomGroupModif(), and CheckGeomModif().
| bool SMESH_Mesh_i::removeSubMesh | ( | SMESH::SMESH_subMesh_ptr | theSubMesh, |
| GEOM::GEOM_Object_ptr | theSubShapeObject | ||
| ) |
Remove a sub-mesh based on the given sub-shape.
References _impl, _mapSubMesh, _mapSubMesh_i, _mapSubMeshIor, _preMeshInfo, SMESH_PreMeshInfo::ForgetOrLoad(), SMESH_Mesh::GetHypothesisList(), GetHypothesisList(), SMESH_Mesh::GetSubMeshContaining(), SMESH_subMesh::GetSubShape(), removeGeomGroupData(), SMESH_Mesh::RemoveHypothesis(), and removeHypothesis().
Referenced by RemoveSubMesh().
|
virtual |
Replace a shape in the mesh upon Break Link.
References _gen_i, _impl, _mainShapeTick, _mapSubMesh_i, SMESHDS_SubMesh::AddElement(), SMESHDS_SubMesh::AddNode(), SMESH_subMesh::CHECK_COMPUTE_STATE, CheckGeomModif(), SMESHDS_Mesh::CompactMesh(), SMDS_Mesh::elementsIterator(), SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMESHDS_Mesh::GetGroups(), SMDS_MeshElement::GetID(), SMESH_Mesh::GetMeshDS(), SMDS_MeshNode::GetPosition(), SMESH_Gen_i::GetRefOnShapeTag(), SMDS_MeshElement::GetShapeID(), SMESH_Gen_i::GetShapeReader(), GetShapeToMesh(), SMESH_Mesh::GetShapeToMesh(), SMESH_Gen_i::getStudyServant(), SMESH_Mesh::GetSubMeshContaining(), SMESHDS_Mesh::IndexToShape(), Load(), SMDS_Mesh::MaxElementID(), SMDS_Mesh::MaxNodeID(), SMESHDS_Mesh::MaxShapeIndex(), SMESHDS_Mesh::MeshElements(), SMDS_Mesh::Modified(), SMDS_Mesh::NbElements(), SMDS_Mesh::NbNodes(), SMESHDS_Mesh::NewSubMesh(), SMDS_Mesh::nodesIterator(), SMESH_Gen_i::ObjectToSObject(), SMDSAbs_All, SMDSAbs_Node, and SMESH_Gen_i::UpdateIcons().
| void SMESH_Mesh_i::SetAutoColor | ( | CORBA::Boolean | theAutoColor | ) |
Auto color.
Set auto-color mode.
If it is on, groups get unique random colors
References _impl, _mapGroups, getUniqueColor(), and SMESH_Mesh::SetAutoColor().
| void SMESH_Mesh_i::SetImpl | ( | ::SMESH_Mesh * | impl | ) |
Set mesh implementation.
References _impl, and SMESH_Mesh::SetCallUp().
Referenced by SMESH_Gen_i::createMesh(), and SMESH_Gen_i::createParallelMesh().
| CORBA::Boolean SMESH_Mesh_i::SetMeshOrder | ( | const SMESH::submesh_array_array & | theSubMeshArray | ) |
Set submesh object order.
| theSubMeshArray | submesh array order |
References _gen_i, _mapSubMesh, _preMeshInfo, SMESH_subMesh::CLEAN, SMESH_PreMeshInfo::ForgetOrLoad(), GetImpl(), SMESH_subMesh::MODIF_HYP, SMESH_Mesh::SetMeshOrder(), and SMESH_Gen_i::UpdateIcons().
| void SMESH_Mesh_i::SetParameters | ( | const char * | theParameters | ) |
Sets list of notebook variables used for Mesh operations separated by ":" symbol.
Set list of notebook variables used for Mesh operations separated by ":" symbol.
References SMESH_Gen_i::GetSMESHGen(), and SMESH_Gen_i::UpdateParameters().
| void SMESH_Mesh_i::SetShape | ( | GEOM::GEOM_Object_ptr | theShapeObject | ) |
SetShape.
Associate <this> mesh with <theShape> and put a reference to <theShape> into the current study; the previous shape is substituted by the new one.
References _gen_i, _impl, _mainShapeTick, addGeomGroupData(), SMESH_Gen_i::GeomObjectToShape(), and SMESH_Mesh::ShapeToMesh().
Referenced by SMESH_Gen_i::CreateMesh(), SMESH_Gen_i::CreateParallelMesh(), and SMESH_Gen_i::Load().
| SMESH::SMESH_Group_ptr SMESH_Mesh_i::UnionGroups | ( | SMESH::SMESH_GroupBase_ptr | theGroup1, |
| SMESH::SMESH_GroupBase_ptr | theGroup2, | ||
| const char * | theName | ||
| ) |
New group including all mesh elements present in initial groups is created.
References _preMeshInfo, CreateGroup(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
| SMESH::SMESH_Group_ptr SMESH_Mesh_i::UnionListOfGroups | ( | const SMESH::ListOfGroups & | theGroups, |
| const char * | theName | ||
| ) |
New group including all mesh elements present in initial groups is created.
| theGroups | list of groups |
| theName | name of group to be created |
References _preMeshInfo, SMESH::ALL, CreateGroup(), SMESH_PreMeshInfo::FullLoadFromFile(), SMESH_CATCH, SMESH_TRY, and SMESH::throwCorbaException().
|
friend |
|
private |
Referenced by FaceGroupsSeparatedByEdges(), GetMeshEditor(), SMESH_Mesh_i(), and ~SMESH_Mesh_i().
|
private |
Referenced by addGeomGroupData(), AddHypothesis(), addHypothesis(), CheckGeomGroupModif(), CheckGeomModif(), checkGroupNames(), Clear(), ConvertToStandalone(), CreateGroup(), createGroup(), CreateGroupFromFilter(), CreateGroupFromGEOM(), CreateGroupServants(), createSubMesh(), ExportCGNS(), ExportMEDCoupling(), ExportPartToMEDCommon(), ExportPartToMEDCoupling(), ExportPartToSTL(), ExportSTL(), ExportStructuredCGNS(), generateMeshName(), GetHypothesisList(), GetShapeToMesh(), GetSubMesh(), ImportSTLFile(), MakeGroupsOfBadInputElements(), newGroupShape(), onHypothesisModified(), prepareMeshNameAndGroups(), RemoveGroup(), RemoveHypothesis(), removeHypothesis(), RemoveSubMesh(), ReplaceShape(), SetMeshOrder(), SetShape(), SMESH_Mesh_i(), and ~SMESH_Mesh_i().
|
private |
Referenced by addGeomGroupData(), CheckGeomGroupModif(), CheckGeomModif(), GetShapeToMesh(), and removeGeomGroupData().
|
private |
Referenced by GetId(), and SMESH_Mesh_i().
|
staticprivate |
Referenced by SMESH_Mesh_i().
|
protected |
Referenced by addHypothesis(), BaryCenter(), CheckGeomGroupModif(), CheckGeomModif(), Clear(), ClearLog(), ClearSubMesh(), ConvertToStandalone(), CreateDimGroup(), createGroup(), CreateGroupServants(), createSubMesh(), SMESH_ParallelMesh_i::DownCast(), Dump(), ElemNbEdges(), ElemNbFaces(), ExportCGNS(), ExportDAT(), ExportGMF(), ExportMED(), ExportMEDCoupling(), ExportPartToDAT(), ExportPartToMEDCommon(), ExportPartToSTL(), ExportPartToUNV(), ExportSTL(), ExportStructuredCGNS(), ExportUNV(), FaceGroupsSeparatedByEdges(), FindElementByNodes(), GetAutoColor(), GetBallDiameter(), GetComputeProgress(), GetElementGeomType(), GetElementPosition(), GetElementsByNodes(), GetElementsByType(), GetElementShape(), GetElementsId(), GetElementType(), GetElemFaceNodes(), GetElemNbNodes(), GetElemNode(), GetElemNodes(), GetFaceNormal(), GetHypothesisList(), GetImpl(), GetLog(), GetMeshInfo(), GetMeshOrder(), GetMeshPtr(), GetNbElementsByType(), GetNodeInverseElements(), GetNodePosition(), GetNodesId(), GetNodeXYZ(), GetShapeID(), GetShapeIDForElem(), GetShapeToMesh(), GetSubMesh(), GetSubMeshElementsId(), GetSubMeshElementType(), GetSubMeshNodesId(), GetTypes(), GetVtkUgStream(), HasDuplicatedGroupNamesMED(), HasModificationsToDiscard(), HasShapeToMesh(), ImportCGNSFile(), ImportGMFFile(), ImportMEDFile(), ImportSTLFile(), ImportUNVFile(), IsComputedOK(), IsMediumNode(), IsMediumNodeOfAnyElem(), IsPoly(), IsQuadratic(), MakeGroupsOfBadInputElements(), Nb0DElements(), NbBalls(), NbBiQuadQuadrangles(), NbBiQuadTriangles(), NbEdges(), NbEdgesOfOrder(), NbFaces(), NbFacesOfOrder(), NbHexagonalPrisms(), NbHexas(), NbHexasOfOrder(), NbNodes(), NbPolygons(), NbPolygonsOfOrder(), NbPolyhedrons(), NbPrisms(), NbPrismsOfOrder(), NbPyramids(), NbPyramidsOfOrder(), NbQuadrangles(), NbQuadranglesOfOrder(), NbTetras(), NbTetrasOfOrder(), NbTriangles(), NbTrianglesOfOrder(), NbTriQuadraticHexas(), NbVolumes(), NbVolumesOfOrder(), newGroupShape(), removeGroup(), RemoveGroupWithContents(), RemoveHypothesis(), removeHypothesis(), removeSubMesh(), ReplaceShape(), SetAutoColor(), SetImpl(), SetShape(), SMESH_Mesh_i(), and ~SMESH_Mesh_i().
|
private |
Referenced by CheckGeomModif(), ReplaceShape(), SetShape(), and SMESH_Mesh_i().
|
private |
Referenced by CheckGeomGroupModif(), CheckGeomModif(), ConvertToStandalone(), createGroup(), CreateGroupServants(), SMESH_PreMeshInfo::ForgetAllData(), GetGroups(), NbGroups(), SMESH_PreMeshInfo::readGroupInfo(), SMESH_PreMeshInfo::readPreInfoFromHDF(), removeGroup(), SMESH_PreMeshInfo::SaveToFile(), SetAutoColor(), and ~SMESH_Mesh_i().
|
private |
Referenced by addHypothesis(), CheckGeomModif(), GetHypothesisList(), and ~SMESH_Mesh_i().
| std::map<int, ::SMESH_subMesh*> SMESH_Mesh_i::_mapSubMesh |
Referenced by CheckGeomGroupModif(), CheckGeomModif(), createSubMesh(), findConcurrentSubMeshes(), SMESH_subMesh_i::GetElementsByType(), SMESH_subMesh_i::GetElementsId(), SMESH_subMesh_i::GetMeshInfo(), SMESH_subMesh_i::GetNbElementsByType(), SMESH_subMesh_i::GetNumberOfElements(), SMESH_subMesh_i::GetNumberOfNodes(), SMESH_subMesh_i::GetSubShape(), SMESH_subMesh_i::GetTypes(), removeSubMesh(), and SetMeshOrder().
| std::map<int, SMESH_subMesh_i*> SMESH_Mesh_i::_mapSubMesh_i |
|
private |
Referenced by CheckGeomGroupModif(), CheckGeomModif(), convertMeshOrder(), createSubMesh(), SMESH_PreMeshInfo::ForgetAllData(), getSubMesh(), GetSubMeshes(), SMESH_PreMeshInfo::readPreInfoFromHDF(), SMESH_PreMeshInfo::readSubMeshInfo(), removeSubMesh(), SMESH_PreMeshInfo::SaveToFile(), and ~SMESH_Mesh_i().
|
private |
Referenced by FileInfoFromString(), FileInfoToString(), GetMEDFileInfo(), ImportCGNSFile(), ImportGMFFile(), ImportMEDFile(), ImportSTLFile(), and ImportUNVFile().
|
private |
Referenced by onHypothesisModified(), and SMESH_Mesh_i().
|
private |
Referenced by AddHypothesis(), BaryCenter(), CheckGeomGroupModif(), CheckGeomModif(), Clear(), ClearSubMesh(), ConvertToStandalone(), CreateDimGroup(), CreateGroup(), CreateGroupFromFilter(), CreateGroupFromGEOM(), CutGroups(), CutListOfGroups(), ElemNbEdges(), ElemNbFaces(), ExportCGNS(), ExportDAT(), ExportGMF(), ExportMED(), ExportMEDCoupling(), ExportPartToMEDCommon(), ExportPartToSTL(), ExportPartToUNV(), ExportSTL(), ExportStructuredCGNS(), ExportUNV(), FaceGroupsSeparatedByEdges(), FindElementByNodes(), GetBallDiameter(), GetElementGeomType(), GetElementPosition(), GetElementsByNodes(), GetElementsByType(), GetElementShape(), GetElementsId(), GetElementType(), GetElemFaceNodes(), GetElemNbNodes(), GetElemNode(), GetElemNodes(), GetFaceNormal(), GetLog(), GetMeshEditor(), GetMeshEditPreviewer(), GetMeshInfo(), GetMeshPtr(), GetNbElementsByType(), GetNodeInverseElements(), GetNodePosition(), GetNodesId(), GetNodeXYZ(), GetShapeID(), GetShapeIDForElem(), GetSubMeshElementsId(), GetSubMeshElementType(), GetSubMeshNodesId(), GetTypes(), IntersectGroups(), IntersectListOfGroups(), IsLoaded(), IsMediumNode(), IsMediumNodeOfAnyElem(), IsMeshInfoCorrect(), IsPoly(), IsQuadratic(), Load(), Nb0DElements(), NbBalls(), NbBiQuadQuadrangles(), NbBiQuadTriangles(), NbEdges(), NbEdgesOfOrder(), NbElements(), NbFaces(), NbFacesOfOrder(), NbHexagonalPrisms(), NbHexas(), NbHexasOfOrder(), NbNodes(), NbPolygons(), NbPolygonsOfOrder(), NbPolyhedrons(), NbPrisms(), NbPrismsOfOrder(), NbPyramids(), NbPyramidsOfOrder(), NbQuadrangles(), NbQuadranglesOfOrder(), NbTetras(), NbTetrasOfOrder(), NbTriangles(), NbTrianglesOfOrder(), NbTriQuadraticHexas(), NbVolumes(), NbVolumesOfOrder(), onHypothesisModified(), RemoveGroupWithContents(), RemoveHypothesis(), removeHypothesis(), RemoveSubMesh(), removeSubMesh(), SetMeshOrder(), SMESH_Mesh_i(), UnionGroups(), UnionListOfGroups(), and ~SMESH_Mesh_i().
|
private |
Referenced by GetMeshEditPreviewer(), SMESH_Mesh_i(), and ~SMESH_Mesh_i().