#include <SMESH_Mesh.hxx>

Data Structures | |
| class | SubMeshHolder |
| struct | TCallUp |
Public Types | |
| typedef TopTools_IndexedDataMapOfShapeListOfShape | TAncestorMap |
| Return data map of descendant to ancestor shapes. More... | |
| typedef boost::shared_ptr < SMDS_Iterator< SMESH_Group * > > | GroupIteratorPtr |
Public Member Functions | |
| SMESH_Mesh (int theLocalId, int theStudyId, SMESH_Gen *theGen, bool theIsEmbeddedMode, SMESHDS_Document *theDocument) | |
| virtual | ~SMESH_Mesh () |
| void | ShapeToMesh (const TopoDS_Shape &aShape) |
| Set geometry to be meshed. More... | |
| TopoDS_Shape | GetShapeToMesh () const |
| Return geometry to be meshed. More... | |
| bool | HasShapeToMesh () const |
| Return true if there is a geometry to be meshed, not PseudoShape() More... | |
| double | GetShapeDiagonalSize () const |
| Return diagonal size of bounding box of shape to mesh. More... | |
| void | Load () |
| Load mesh from study file. More... | |
| void | Clear () |
| Remove all nodes and elements. More... | |
| void | ClearSubMesh (const int theShapeId) |
| Remove all nodes and elements of indicated shape. More... | |
| int | UNVToMesh (const char *theFileName) |
| consult DriverMED_R_SMESHDS_Mesh::ReadStatus for returned value More... | |
| int | MEDToMesh (const char *theFileName, const char *theMeshName) |
| std::string | STLToMesh (const char *theFileName) |
| int | CGNSToMesh (const char *theFileName, const int theMeshIndex, std::string &theMeshName) |
| Reads the given mesh from the CGNS file. More... | |
| SMESH_ComputeErrorPtr | GMFToMesh (const char *theFileName, bool theMakeRequiredGroups=true) |
| Fill its data by reading a GMF file. More... | |
| SMESH_Hypothesis::Hypothesis_Status | AddHypothesis (const TopoDS_Shape &aSubShape, int anHypId, std::string *error=0) throw (SALOME_Exception) |
| SMESH_Hypothesis::Hypothesis_Status | RemoveHypothesis (const TopoDS_Shape &aSubShape, int anHypId) throw (SALOME_Exception) |
| const std::list< const SMESHDS_Hypothesis * > & | GetHypothesisList (const TopoDS_Shape &aSubShape) const throw (SALOME_Exception) |
| const SMESH_Hypothesis * | GetHypothesis (const TopoDS_Shape &aSubShape, const SMESH_HypoFilter &aFilter, const bool andAncestors, TopoDS_Shape *assignedTo=0) const |
| int | GetHypotheses (const TopoDS_Shape &aSubShape, const SMESH_HypoFilter &aFilter, std::list< const SMESHDS_Hypothesis * > &aHypList, const bool andAncestors, std::list< TopoDS_Shape > *assignedTo=0) const |
| const SMESH_Hypothesis * | GetHypothesis (const SMESH_subMesh *aSubMesh, const SMESH_HypoFilter &aFilter, const bool andAncestors, TopoDS_Shape *assignedTo=0) const |
| int | GetHypotheses (const SMESH_subMesh *aSubMesh, const SMESH_HypoFilter &aFilter, std::list< const SMESHDS_Hypothesis * > &aHypList, const bool andAncestors, std::list< TopoDS_Shape > *assignedTo=0) const |
| SMESH_Hypothesis * | GetHypothesis (const int aHypID) const |
| const std::list < SMESHDS_Command * > & | GetLog () throw (SALOME_Exception) |
| void | ClearLog () throw (SALOME_Exception) |
| int | GetId () const |
| bool | MeshExists (int meshId) const |
| Return true if a mesh with given id exists. More... | |
| SMESH_Mesh * | FindMesh (int meshId) const |
| Return a mesh by id. More... | |
| SMESHDS_Mesh * | GetMeshDS () |
| const SMESHDS_Mesh * | GetMeshDS () const |
| SMESH_Gen * | GetGen () |
| SMESH_subMesh * | GetSubMesh (const TopoDS_Shape &aSubShape) throw (SALOME_Exception) |
| Get or Create the SMESH_subMesh object implementation. More... | |
| SMESH_subMesh * | GetSubMeshContaining (const TopoDS_Shape &aSubShape) const throw (SALOME_Exception) |
| SMESH_subMesh * | GetSubMeshContaining (const int aShapeID) const throw (SALOME_Exception) |
| std::list< SMESH_subMesh * > | GetGroupSubMeshesContaining (const TopoDS_Shape &shape) const throw (SALOME_Exception) |
| Return submeshes of groups containing the given subshape. More... | |
| void | NotifySubMeshesHypothesisModification (const SMESH_Hypothesis *theChangedHyp) |
| Say all submeshes that theChangedHyp has been modified. More... | |
| bool | IsUsedHypothesis (SMESHDS_Hypothesis *anHyp, const SMESH_subMesh *aSubMesh) |
| Return True if anHyp is used to mesh aSubShape. More... | |
| bool | IsNotConformAllowed () const |
| check if a hypothesis allowing notconform mesh is present More... | |
| bool | IsMainShape (const TopoDS_Shape &theShape) const |
| const TopTools_ListOfShape & | GetAncestors (const TopoDS_Shape &theSubShape) const |
| Return list of ancestors of theSubShape in the order that lower dimension shapes come first. More... | |
| void | SetAutoColor (bool theAutoColor) throw (SALOME_Exception) |
| Auto color functionality. More... | |
| bool | GetAutoColor () throw (SALOME_Exception) |
| void | SetIsModified (bool isModified) |
| Set the flag meaning that the mesh has been edited "manually". More... | |
| bool | GetIsModified () const |
| bool | HasModificationsToDiscard () const |
| Return true if the mesh has been edited since a total re-compute and those modifications may prevent successful partial re-compute. More... | |
| const TAncestorMap & | GetAncestorMap () const |
| bool | HasDuplicatedGroupNamesMED () |
| Check group names for duplications. More... | |
| void | ExportMED (const char *theFile, const char *theMeshName=NULL, bool theAutoGroups=true, int theVersion=0, const SMESHDS_Mesh *theMeshPart=0, bool theAutoDimension=false, bool theAddODOnVertices=false, bool theAllElemsToGroup=false) throw (SALOME_Exception) |
| void | ExportDAT (const char *file, const SMESHDS_Mesh *meshPart=0) throw (SALOME_Exception) |
| void | ExportUNV (const char *file, const SMESHDS_Mesh *meshPart=0) throw (SALOME_Exception) |
| void | ExportSTL (const char *file, const bool isascii, const char *name=0, const SMESHDS_Mesh *meshPart=0) throw (SALOME_Exception) |
| void | ExportCGNS (const char *file, const SMESHDS_Mesh *mesh, const char *meshName=0) |
| void | ExportGMF (const char *file, const SMESHDS_Mesh *mesh, bool withRequiredGroups=true) |
| void | ExportSAUV (const char *file, const char *theMeshName=NULL, bool theAutoGroups=true) throw (SALOME_Exception) |
| double | GetComputeProgress () const |
| int | NbNodes () const throw (SALOME_Exception) |
| int | Nb0DElements () const throw (SALOME_Exception) |
| int | NbBalls () const throw (SALOME_Exception) |
| int | NbEdges (SMDSAbs_ElementOrder order=ORDER_ANY) const throw (SALOME_Exception) |
| int | NbFaces (SMDSAbs_ElementOrder order=ORDER_ANY) const throw (SALOME_Exception) |
| int | NbTriangles (SMDSAbs_ElementOrder order=ORDER_ANY) const throw (SALOME_Exception) |
| int | NbQuadrangles (SMDSAbs_ElementOrder order=ORDER_ANY) const throw (SALOME_Exception) |
| int | NbBiQuadQuadrangles () const throw (SALOME_Exception) |
| int | NbBiQuadTriangles () const throw (SALOME_Exception) |
| int | NbPolygons (SMDSAbs_ElementOrder order=ORDER_ANY) const throw (SALOME_Exception) |
| int | NbVolumes (SMDSAbs_ElementOrder order=ORDER_ANY) const throw (SALOME_Exception) |
| int | NbTetras (SMDSAbs_ElementOrder order=ORDER_ANY) const throw (SALOME_Exception) |
| int | NbHexas (SMDSAbs_ElementOrder order=ORDER_ANY) const throw (SALOME_Exception) |
| int | NbTriQuadraticHexas () const throw (SALOME_Exception) |
| int | NbPyramids (SMDSAbs_ElementOrder order=ORDER_ANY) const throw (SALOME_Exception) |
| int | NbPrisms (SMDSAbs_ElementOrder order=ORDER_ANY) const throw (SALOME_Exception) |
| int | NbHexagonalPrisms () const throw (SALOME_Exception) |
| int | NbPolyhedrons () const throw (SALOME_Exception) |
| int | NbSubMesh () const throw (SALOME_Exception) |
| int | NbGroup () const |
| int | NbMeshes () const |
| Returns number of meshes in the Study, that is supposed to be equal to SMESHDS_Document::NbMeshes() More... | |
| SMESH_Group * | AddGroup (const SMDSAbs_ElementType theType, const char *theName, int &theId, const TopoDS_Shape &theShape=TopoDS_Shape(), const SMESH_PredicatePtr &thePredicate=SMESH_PredicatePtr()) |
| SMESH_Group * | AddGroup (SMESHDS_GroupBase *groupDS) throw (SALOME_Exception) |
| Creates a group based on an existing SMESHDS group. More... | |
| GroupIteratorPtr | GetGroups () const |
| std::list< int > | GetGroupIds () const |
| Return IDs of all groups. More... | |
| SMESH_Group * | GetGroup (const int theGroupID) |
| Return a group by ID. More... | |
| bool | RemoveGroup (const int theGroupID) |
| SMESH_Group * | ConvertToStandalone (int theGroupID) |
| Convert group on geometry into standalone group. More... | |
| void | SetCallUp (TCallUp *upCaller) |
| Set a caller of methods at level of CORBA API implementation. More... | |
| bool | SynchronizeGroups () |
| Creates SMESH_Groups for not wrapped SMESHDS_Groups. More... | |
| SMDSAbs_ElementType | GetElementType (const int id, const bool iselem) |
| void | ClearMeshOrder () |
| remove submesh order from Mesh More... | |
| void | SetMeshOrder (const TListOfListOfInt &theOrder) |
| remove submesh order from Mesh More... | |
| const TListOfListOfInt & | GetMeshOrder () const |
| bool | SortByMeshOrder (std::vector< SMESH_subMesh * > &theListToSort) const |
| sort submeshes according to stored mesh order More... | |
| bool | IsOrderOK (const SMESH_subMesh *smBefore, const SMESH_subMesh *smAfter) const |
| Return true if given order of sub-meshes is OK. More... | |
| std::ostream & | Dump (ostream &save) |
Static Public Member Functions | |
| static double | GetShapeDiagonalSize (const TopoDS_Shape &aShape) |
| Return diagonal size of bounding box of a shape. More... | |
| static const TopoDS_Solid & | PseudoShape () |
| Return a solid which is returned by GetShapeToMesh() if a real geometry to be meshed was not set. More... | |
Protected Member Functions | |
| SMESH_Mesh () | |
| Constructor of SMESH_Mesh being a base of some descendant class. More... | |
| SMESH_Mesh (const SMESH_Mesh &) | |
Protected Attributes | |
| int | _id |
| int | _studyId |
| int | _groupId |
| int | _nbSubShapes |
| bool | _isShapeToMesh |
| SMESHDS_Document * | _myDocument |
| SMESHDS_Mesh * | _myMeshDS |
| SMESH_Gen * | _gen |
| std::map< int, SMESH_Group * > | _mapGroup |
| SubMeshHolder * | _subMeshHolder |
| bool | _isAutoColor |
| bool | _isModified |
| modified since last total re-compute, issue 0020693 More... | |
| double | _shapeDiagonal |
| diagonal size of bounding box of shape to mesh More... | |
| TopTools_IndexedDataMapOfShapeListOfShape | _mapAncestors |
| std::vector< SMESH_subMesh * > | _ancestorSubMeshes |
| TListOfListOfInt | _mySubMeshOrder |
| TCallUp * | _callUp |
Private Member Functions | |
| void | fillAncestorsMap (const TopoDS_Shape &theShape) |
| fill _mapAncestors More... | |
| void | getAncestorsSubMeshes (const TopoDS_Shape &theSubShape, std::vector< SMESH_subMesh * > &theSubMeshes) const |
| sort submeshes according to stored mesh order More... | |
| typedef boost::shared_ptr< SMDS_Iterator<SMESH_Group*> > SMESH_Mesh::GroupIteratorPtr |
| typedef TopTools_IndexedDataMapOfShapeListOfShape SMESH_Mesh::TAncestorMap |
Return data map of descendant to ancestor shapes.
| SMESH_Mesh::SMESH_Mesh | ( | int | theLocalId, |
| int | theStudyId, | ||
| SMESH_Gen * | theGen, | ||
| bool | theIsEmbeddedMode, | ||
| SMESHDS_Document * | theDocument | ||
| ) |
|
virtual |
References studyContextStruct::mapMesh, SMESH_subMesh::MESH_ENTITY_REMOVED, MESSAGE, and MYDEBUG.
|
protected |
Constructor of SMESH_Mesh being a base of some descendant class.
References _subMeshHolder.
|
protected |
| SMESH_Group* SMESH_Mesh::AddGroup | ( | const SMDSAbs_ElementType | theType, |
| const char * | theName, | ||
| int & | theId, | ||
| const TopoDS_Shape & | theShape = TopoDS_Shape(), |
||
| const SMESH_PredicatePtr & | thePredicate = SMESH_PredicatePtr() |
||
| ) |
| SMESH_Group * SMESH_Mesh::AddGroup | ( | SMESHDS_GroupBase * | groupDS | ) | throw (SALOME_Exception) |
Creates a group based on an existing SMESHDS group.
Group ID should be unique
| SMESH_Hypothesis::Hypothesis_Status SMESH_Mesh::AddHypothesis | ( | const TopoDS_Shape & | aSubShape, |
| int | anHypId, | ||
| std::string * | error = 0 |
||
| ) | throw (SALOME_Exception) |
| int SMESH_Mesh::CGNSToMesh | ( | const char * | theFileName, |
| const int | theMeshIndex, | ||
| std::string & | theMeshName | ||
| ) |
Reads the given mesh from the CGNS file.
| theFileName | - name of the file |
| int | - Driver_Mesh::Status |
References Driver_Mesh::DRS_FAIL, Driver_Mesh::GetMeshName(), DriverCGNS_Read::Perform(), Driver_Mesh::SetFile(), Driver_SMESHDS_Mesh::SetMesh(), and Driver_Mesh::SetMeshId().
| void SMESH_Mesh::Clear | ( | ) |
Remove all nodes and elements.
Referenced by SMESH_MeshEditor_i::getPreviewMesh().
| void SMESH_Mesh::ClearLog | ( | ) | throw (SALOME_Exception) |
| void SMESH_Mesh::ClearMeshOrder | ( | ) |
remove submesh order from Mesh
| void SMESH_Mesh::ClearSubMesh | ( | const int | theShapeId | ) |
Remove all nodes and elements of indicated shape.
References SMESH_subMesh::CHECK_COMPUTE_STATE, and SMESH_subMesh::CLEAN.
| SMESH_Group * SMESH_Mesh::ConvertToStandalone | ( | int | theGroupID | ) |
Convert group on geometry into standalone group.
References SMESHDS_Group::Add(), SMESHDS_GroupBase::GetColor(), SMESHDS_GroupBase::GetElements(), SMESHDS_GroupBase::GetType(), and SMESHDS_GroupBase::SetColor().
| ostream & SMESH_Mesh::Dump | ( | ostream & | save | ) |
References ORDER_LINEAR, and ORDER_QUADRATIC.
| void SMESH_Mesh::ExportCGNS | ( | const char * | file, |
| const SMESHDS_Mesh * | mesh, | ||
| const char * | meshName = 0 |
||
| ) |
| void SMESH_Mesh::ExportDAT | ( | const char * | file, |
| const SMESHDS_Mesh * | meshPart = 0 |
||
| ) | throw (SALOME_Exception) |
| void SMESH_Mesh::ExportGMF | ( | const char * | file, |
| const SMESHDS_Mesh * | mesh, | ||
| bool | withRequiredGroups = true |
||
| ) |
| void SMESH_Mesh::ExportMED | ( | const char * | theFile, |
| const char * | theMeshName = NULL, |
||
| bool | theAutoGroups = true, |
||
| int | theVersion = 0, |
||
| const SMESHDS_Mesh * | theMeshPart = 0, |
||
| bool | theAutoDimension = false, |
||
| bool | theAddODOnVertices = false, |
||
| bool | theAllElemsToGroup = false |
||
| ) | throw (SALOME_Exception) |
| void SMESH_Mesh::ExportSAUV | ( | const char * | file, |
| const char * | theMeshName = NULL, |
||
| bool | theAutoGroups = true |
||
| ) | throw (SALOME_Exception) |
| void SMESH_Mesh::ExportSTL | ( | const char * | file, |
| const bool | isascii, | ||
| const char * | name = 0, |
||
| const SMESHDS_Mesh * | meshPart = 0 |
||
| ) | throw (SALOME_Exception) |
| void SMESH_Mesh::ExportUNV | ( | const char * | file, |
| const SMESHDS_Mesh * | meshPart = 0 |
||
| ) | throw (SALOME_Exception) |
|
private |
fill _mapAncestors
| SMESH_Mesh * SMESH_Mesh::FindMesh | ( | int | meshId | ) | const |
Return a mesh by id.
| const TAncestorMap& SMESH_Mesh::GetAncestorMap | ( | ) | const |
| const TopTools_ListOfShape & SMESH_Mesh::GetAncestors | ( | const TopoDS_Shape & | theSubShape | ) | const |
Return list of ancestors of theSubShape in the order that lower dimension shapes come first.
Referenced by SMESH_ProxyMesh::GetProxyNode().
|
private |
sort submeshes according to stored mesh order
| theListToSort | in out list to be sorted |
| bool SMESH_Mesh::GetAutoColor | ( | ) | throw (SALOME_Exception) |
| double SMESH_Mesh::GetComputeProgress | ( | ) | const |
| SMDSAbs_ElementType SMESH_Mesh::GetElementType | ( | const int | id, |
| const bool | iselem | ||
| ) |
| SMESH_Gen* SMESH_Mesh::GetGen | ( | ) |
| SMESH_Group * SMESH_Mesh::GetGroup | ( | const int | theGroupID | ) |
Return a group by ID.
| list< int > SMESH_Mesh::GetGroupIds | ( | ) | const |
Return IDs of all groups.
| GroupIteratorPtr SMESH_Mesh::GetGroups | ( | ) | const |
| list< SMESH_subMesh * > SMESH_Mesh::GetGroupSubMeshesContaining | ( | const TopoDS_Shape & | shape | ) | const throw (SALOME_Exception) |
Return submeshes of groups containing the given subshape.
Return sub-meshes of groups containing the given sub-shape.
References SMESHDS_SubMesh::IsComplexSubmesh(), and SMESH_MesherHelper::IsSubShape().
| int SMESH_Mesh::GetHypotheses | ( | const TopoDS_Shape & | aSubShape, |
| const SMESH_HypoFilter & | aFilter, | ||
| std::list< const SMESHDS_Hypothesis * > & | aHypList, | ||
| const bool | andAncestors, | ||
| std::list< TopoDS_Shape > * | assignedTo = 0 |
||
| ) | const |
| int SMESH_Mesh::GetHypotheses | ( | const SMESH_subMesh * | aSubMesh, |
| const SMESH_HypoFilter & | aFilter, | ||
| std::list< const SMESHDS_Hypothesis * > & | aHypList, | ||
| const bool | andAncestors, | ||
| std::list< TopoDS_Shape > * | assignedTo = 0 |
||
| ) | const |
| const SMESH_Hypothesis* SMESH_Mesh::GetHypothesis | ( | const TopoDS_Shape & | aSubShape, |
| const SMESH_HypoFilter & | aFilter, | ||
| const bool | andAncestors, | ||
| TopoDS_Shape * | assignedTo = 0 |
||
| ) | const |
| const SMESH_Hypothesis* SMESH_Mesh::GetHypothesis | ( | const SMESH_subMesh * | aSubMesh, |
| const SMESH_HypoFilter & | aFilter, | ||
| const bool | andAncestors, | ||
| TopoDS_Shape * | assignedTo = 0 |
||
| ) | const |
| SMESH_Hypothesis* SMESH_Mesh::GetHypothesis | ( | const int | aHypID | ) | const |
| const std::list<const SMESHDS_Hypothesis * >& SMESH_Mesh::GetHypothesisList | ( | const TopoDS_Shape & | aSubShape | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::GetId | ( | ) | const |
| bool SMESH_Mesh::GetIsModified | ( | ) | const |
| const list< SMESHDS_Command * > & SMESH_Mesh::GetLog | ( | ) | throw (SALOME_Exception) |
| SMESHDS_Mesh* SMESH_Mesh::GetMeshDS | ( | ) |
| const SMESHDS_Mesh* SMESH_Mesh::GetMeshDS | ( | ) | const |
| const TListOfListOfInt& SMESH_Mesh::GetMeshOrder | ( | ) | const |
| double SMESH_Mesh::GetShapeDiagonalSize | ( | ) | const |
Return diagonal size of bounding box of shape to mesh.
Referenced by SMESH_Gen_i::GetHypothesisParameterValues().
|
static |
Return diagonal size of bounding box of a shape.
| TopoDS_Shape SMESH_Mesh::GetShapeToMesh | ( | ) | const |
Return geometry to be meshed.
(It may be a PseudoShape()!)
Referenced by SMESH_ProxyMesh::NbFaces().
| SMESH_subMesh * SMESH_Mesh::GetSubMesh | ( | const TopoDS_Shape & | aSubShape | ) | throw (SALOME_Exception) |
Get or Create the SMESH_subMesh object implementation.
Referenced by StdMeshers_UseExisting_2D::Compute(), and StdMeshers_UseExisting_1D::Compute().
| SMESH_subMesh* SMESH_Mesh::GetSubMeshContaining | ( | const TopoDS_Shape & | aSubShape | ) | const throw (SALOME_Exception) |
| SMESH_subMesh* SMESH_Mesh::GetSubMeshContaining | ( | const int | aShapeID | ) | const throw (SALOME_Exception) |
| SMESH_ComputeErrorPtr SMESH_Mesh::GMFToMesh | ( | const char * | theFileName, |
| bool | theMakeRequiredGroups = true |
||
| ) |
Fill its data by reading a GMF file.
References Driver_Mesh::GetError(), DriverGMF_Read::Perform(), Driver_Mesh::SetFile(), DriverGMF_Read::SetMakeRequiredGroups(), and Driver_SMESHDS_Mesh::SetMesh().
| bool SMESH_Mesh::HasDuplicatedGroupNamesMED | ( | ) |
Check group names for duplications.
Consider maximum group name length stored in MED file
| bool SMESH_Mesh::HasModificationsToDiscard | ( | ) | const |
Return true if the mesh has been edited since a total re-compute and those modifications may prevent successful partial re-compute.
As a side effect reset _isModified flag if mesh is empty
| bool SMESH_Mesh::HasShapeToMesh | ( | ) | const |
Return true if there is a geometry to be meshed, not PseudoShape()
Referenced by SMESH_ProxyMesh::GetFaces(), SMESH_ProxyMesh::NbFaces(), and SMESH_ProxyMesh::shapeIndex().
| bool SMESH_Mesh::IsMainShape | ( | const TopoDS_Shape & | theShape | ) | const |
| bool SMESH_Mesh::IsNotConformAllowed | ( | ) | const |
check if a hypothesis allowing notconform mesh is present
References SMESH_HypoFilter::HasName(), MESSAGE, and MYDEBUG.
| bool SMESH_Mesh::IsOrderOK | ( | const SMESH_subMesh * | smBefore, |
| const SMESH_subMesh * | smAfter | ||
| ) | const |
Return true if given order of sub-meshes is OK.
| bool SMESH_Mesh::IsUsedHypothesis | ( | SMESHDS_Hypothesis * | anHyp, |
| const SMESH_subMesh * | aSubMesh | ||
| ) |
Return True if anHyp is used to mesh aSubShape.
References SMESHDS_Hypothesis::GetType(), and SMESHDS_Hypothesis::PARAM_ALGO.
| void SMESH_Mesh::Load | ( | ) |
Load mesh from study file.
| int SMESH_Mesh::MEDToMesh | ( | const char * | theFileName, |
| const char * | theMeshName | ||
| ) |
References SMESH::AddGroup(), Driver_Mesh::GetError(), DriverMED_R_SMESHDS_Mesh::GetGroup(), DriverMED_R_SMESHDS_Mesh::GetGroupNamesAndTypes(), DriverMED_R_SMESHDS_Mesh::Perform(), Driver_Mesh::SetFile(), Driver_SMESHDS_Mesh::SetMesh(), Driver_Mesh::SetMeshId(), DriverMED_R_SMESHDS_Mesh::SetMeshName(), and SMESHDS_GroupBase::SetStoreName().
| int SMESH_Mesh::Nb0DElements | ( | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbBalls | ( | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbBiQuadQuadrangles | ( | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbBiQuadTriangles | ( | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbEdges | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbFaces | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const throw (SALOME_Exception) |
Referenced by SMESH_ProxyMesh::GetFaces().
| int SMESH_Mesh::NbGroup | ( | ) | const |
| int SMESH_Mesh::NbHexagonalPrisms | ( | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbHexas | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbMeshes | ( | ) | const |
Returns number of meshes in the Study, that is supposed to be equal to SMESHDS_Document::NbMeshes()
| int SMESH_Mesh::NbNodes | ( | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbPolygons | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbPolyhedrons | ( | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbPrisms | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbPyramids | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbQuadrangles | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbSubMesh | ( | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbTetras | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbTriangles | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbTriQuadraticHexas | ( | ) | const throw (SALOME_Exception) |
| int SMESH_Mesh::NbVolumes | ( | SMDSAbs_ElementOrder | order = ORDER_ANY | ) | const throw (SALOME_Exception) |
| void SMESH_Mesh::NotifySubMeshesHypothesisModification | ( | const SMESH_Hypothesis * | theChangedHyp | ) |
Say all submeshes that theChangedHyp has been modified.
References SMESH_subMesh::COMPUTE_OK, SMESH_subMesh::FAILED_TO_COMPUTE, SMESH_HypoFilter::IsOk(), SMESH_subMesh::MISSING_HYP, and SMESH_subMesh::MODIF_HYP.
|
static |
Return a solid which is returned by GetShapeToMesh() if a real geometry to be meshed was not set.
Referenced by SMESH_Gen_i::CancelCompute(), SMESH_Gen_i::Compute(), SMESH_Gen_i::Evaluate(), SMESH_Gen_i::GetAlgoState(), SMESH_Gen_i::GetComputeErrors(), SMESH_Gen_i::GetMeshOrSubmeshByShape(), SMESH_Gen_i::Load(), and SMESH_Mesh().
| SMESH_Hypothesis::Hypothesis_Status SMESH_Mesh::RemoveHypothesis | ( | const TopoDS_Shape & | aSubShape, |
| int | anHypId | ||
| ) | throw (SALOME_Exception) |
References SMESH_Gen::GetShapeDim(), SMESH_Hypothesis::HYP_CONCURENT, SMESH_Hypothesis::HYP_OK, SMESH_Hypothesis::IsStatusFatal(), studyContextStruct::mapHypothesis, MESSAGE, MYDEBUG, SMESHDS_Hypothesis::PARAM_ALGO, SMESH_subMesh::REMOVE_ALGO, SMESH_subMesh::REMOVE_FATHER_ALGO, SMESH_subMesh::REMOVE_FATHER_HYP, and SMESH_subMesh::REMOVE_HYP.
| void SMESH_Mesh::SetAutoColor | ( | bool | theAutoColor | ) | throw (SALOME_Exception) |
Auto color functionality.
| void SMESH_Mesh::SetCallUp | ( | TCallUp * | upCaller | ) |
Set a caller of methods at level of CORBA API implementation.
The set upCaller will be deleted by SMESH_Mesh
| void SMESH_Mesh::SetIsModified | ( | bool | isModified | ) |
Set the flag meaning that the mesh has been edited "manually".
It is to set to false after Clear() and to set to true by MeshEditor
| void SMESH_Mesh::SetMeshOrder | ( | const TListOfListOfInt & | theOrder | ) |
remove submesh order from Mesh
| void SMESH_Mesh::ShapeToMesh | ( | const TopoDS_Shape & | aShape | ) |
| bool SMESH_Mesh::SortByMeshOrder | ( | std::vector< SMESH_subMesh * > & | theListToSort | ) | const |
sort submeshes according to stored mesh order
| theListToSort | in out list to be sorted |
References SMESHDS_SubMesh::GetID().
| std::string SMESH_Mesh::STLToMesh | ( | const char * | theFileName | ) |
| bool SMESH_Mesh::SynchronizeGroups | ( | ) |
Creates SMESH_Groups for not wrapped SMESHDS_Groups.
| bool | - true if new SMESH_Groups have been created |
References SMESHDS_GroupBase::GetID().
| int SMESH_Mesh::UNVToMesh | ( | const char * | theFileName | ) |
consult DriverMED_R_SMESHDS_Mesh::ReadStatus for returned value
References SMDS_MeshGroup::Add(), SMESH::AddGroup(), DriverUNV_R_SMDS_Mesh::GetGroup(), DriverUNV_R_SMDS_Mesh::GetGroupNamesMap(), SMDS_MeshGroup::GetType(), SMDS_MeshElement::GetType(), SMDS_MeshGroup::InitIterator(), SMDS_MeshGroup::More(), SMDS_MeshGroup::Next(), SMDS_MeshGroup::NextSubGroup(), DriverUNV_R_SMDS_Mesh::Perform(), Driver_Mesh::SetFile(), Driver_SMDS_Mesh::SetMesh(), Driver_Mesh::SetMeshId(), SMESHDS_GroupBase::SetStoreName(), SMESHDS_Group::SetType(), and SMESHDS_Group::SMDSGroup().
|
mutableprotected |
|
protected |
Referenced by SMESH_Mesh().
|
protected |
Referenced by SMESH_Mesh().
|
protected |
|
protected |
Referenced by SMESH_Mesh().
|
protected |
Referenced by SMESH_Mesh().
|
protected |
modified since last total re-compute, issue 0020693
Referenced by SMESH_Mesh().
|
protected |
Referenced by SMESH_Mesh().
|
protected |
|
protected |
|
protected |
Referenced by SMESH_Mesh().
|
protected |
Referenced by SMESH_Mesh().
|
protected |
|
protected |
|
protected |
diagonal size of bounding box of shape to mesh
Referenced by SMESH_Mesh().
|
protected |
Referenced by SMESH_Mesh().
|
protected |
Referenced by SMESH_Mesh().