Version: 8.3.0
MeshEditor_I::TPreviewMesh Struct Reference

Mesh to apply modifications for preview purposes. More...

Inheritance diagram for MeshEditor_I::TPreviewMesh:

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

 TPreviewMesh (SMDSAbs_ElementType previewElements=SMDSAbs_All)
 < Constructor More...
 
void Copy (const TIDSortedElemSet &theElements, TIDSortedElemSet &theCopyElements, SMDSAbs_ElementType theSelectType=SMDSAbs_All, SMDSAbs_ElementType theAvoidType=SMDSAbs_All)
 Copy an element. More...
 
SMDS_MeshElementCopy (const SMDS_MeshElement *anElem)
 Copy a node. More...
 
SMDS_MeshNodeCopy (const SMDS_MeshNode *anElemNode)
 
void RemoveAll ()
 
void Remove (SMDSAbs_ElementType type)
 
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_HypothesisGetHypothesis (const TopoDS_Shape &aSubShape, const SMESH_HypoFilter &aFilter, const bool andAncestors, TopoDS_Shape *assignedTo=0) const
 
const SMESH_HypothesisGetHypothesis (const SMESH_subMesh *aSubMesh, const SMESH_HypoFilter &aFilter, const bool andAncestors, TopoDS_Shape *assignedTo=0) const
 
SMESH_HypothesisGetHypothesis (const int aHypID) 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
 
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
 
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_MeshFindMesh (int meshId) const
 Return a mesh by id. More...
 
SMESHDS_MeshGetMeshDS ()
 
const SMESHDS_MeshGetMeshDS () const
 
SMESH_GenGetGen ()
 
SMESH_subMeshGetSubMesh (const TopoDS_Shape &aSubShape) throw (SALOME_Exception)
 Get or Create the SMESH_subMesh object implementation. More...
 
SMESH_subMeshGetSubMeshContaining (const TopoDS_Shape &aSubShape) const throw (SALOME_Exception)
 
SMESH_subMeshGetSubMeshContaining (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 TAncestorMapGetAncestorMap () 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_GroupAddGroup (const SMDSAbs_ElementType theType, const char *theName, int &theId, const TopoDS_Shape &theShape=TopoDS_Shape(), const SMESH_PredicatePtr &thePredicate=SMESH_PredicatePtr())
 
SMESH_GroupAddGroup (SMESHDS_GroupBase *groupDS) throw (SALOME_Exception)
 Creates a group based on an existing SMESHDS group. More...
 
GroupIteratorPtr GetGroups () const
 
std::list< intGetGroupIds () const
 Return IDs of all groups. More...
 
SMESH_GroupGetGroup (const int theGroupID)
 Return a group by ID. More...
 
bool RemoveGroup (const int theGroupID)
 
SMESH_GroupConvertToStandalone (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 TListOfListOfIntGetMeshOrder () 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...
 

Data Fields

SMDSAbs_ElementType myPreviewType
 

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
 

Detailed Description

Mesh to apply modifications for preview purposes.

Member Typedef Documentation

typedef boost::shared_ptr< SMDS_Iterator<SMESH_Group*> > SMESH_Mesh::GroupIteratorPtr
inherited
typedef TopTools_IndexedDataMapOfShapeListOfShape SMESH_Mesh::TAncestorMap
inherited

Return data map of descendant to ancestor shapes.

Constructor & Destructor Documentation

MeshEditor_I::TPreviewMesh::TPreviewMesh ( SMDSAbs_ElementType  previewElements = SMDSAbs_All)

< Constructor

Copy a set of elements

Member Function Documentation

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() 
)
inherited
SMESH_Group * SMESH_Mesh::AddGroup ( SMESHDS_GroupBase groupDS) throw (SALOME_Exception)
inherited

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)
inherited
int SMESH_Mesh::CGNSToMesh ( const char *  theFileName,
const int  theMeshIndex,
std::string &  theMeshName 
)
inherited

Reads the given mesh from the CGNS file.

Parameters
theFileName- name of the file
Return values
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 ( )
inherited

Remove all nodes and elements.

Referenced by SMESH_MeshEditor_i::getPreviewMesh().

void SMESH_Mesh::ClearLog ( ) throw (SALOME_Exception)
inherited
void SMESH_Mesh::ClearMeshOrder ( )
inherited

remove submesh order from Mesh

void SMESH_Mesh::ClearSubMesh ( const int  theShapeId)
inherited

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)
inherited
SMDS_MeshNode* MeshEditor_I::TPreviewMesh::Copy ( const SMDS_MeshNode anElemNode)
ostream & SMESH_Mesh::Dump ( ostream &  save)
inherited

References ORDER_LINEAR, and ORDER_QUADRATIC.

void SMESH_Mesh::ExportCGNS ( const char *  file,
const SMESHDS_Mesh mesh,
const char *  meshName = 0 
)
inherited
void SMESH_Mesh::ExportDAT ( const char *  file,
const SMESHDS_Mesh meshPart = 0 
) throw (SALOME_Exception)
inherited
void SMESH_Mesh::ExportGMF ( const char *  file,
const SMESHDS_Mesh mesh,
bool  withRequiredGroups = true 
)
inherited
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)
inherited
void SMESH_Mesh::ExportSAUV ( const char *  file,
const char *  theMeshName = NULL,
bool  theAutoGroups = true 
) throw (SALOME_Exception)
inherited
void SMESH_Mesh::ExportSTL ( const char *  file,
const bool  isascii,
const char *  name = 0,
const SMESHDS_Mesh meshPart = 0 
) throw (SALOME_Exception)
inherited
void SMESH_Mesh::ExportUNV ( const char *  file,
const SMESHDS_Mesh meshPart = 0 
) throw (SALOME_Exception)
inherited
SMESH_Mesh * SMESH_Mesh::FindMesh ( int  meshId) const
inherited

Return a mesh by id.

const TAncestorMap& SMESH_Mesh::GetAncestorMap ( ) const
inherited
const TopTools_ListOfShape & SMESH_Mesh::GetAncestors ( const TopoDS_Shape &  theSubShape) const
inherited

Return list of ancestors of theSubShape in the order that lower dimension shapes come first.

Referenced by SMESH_ProxyMesh::GetProxyNode().

bool SMESH_Mesh::GetAutoColor ( ) throw (SALOME_Exception)
inherited
double SMESH_Mesh::GetComputeProgress ( ) const
inherited
SMDSAbs_ElementType SMESH_Mesh::GetElementType ( const int  id,
const bool  iselem 
)
inherited
SMESH_Gen* SMESH_Mesh::GetGen ( )
inherited
SMESH_Group * SMESH_Mesh::GetGroup ( const int  theGroupID)
inherited

Return a group by ID.

list< int > SMESH_Mesh::GetGroupIds ( ) const
inherited

Return IDs of all groups.

GroupIteratorPtr SMESH_Mesh::GetGroups ( ) const
inherited
list< SMESH_subMesh * > SMESH_Mesh::GetGroupSubMeshesContaining ( const TopoDS_Shape &  shape) const throw (SALOME_Exception)
inherited

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
inherited
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
inherited
const SMESH_Hypothesis* SMESH_Mesh::GetHypothesis ( const TopoDS_Shape &  aSubShape,
const SMESH_HypoFilter aFilter,
const bool  andAncestors,
TopoDS_Shape *  assignedTo = 0 
) const
inherited
const SMESH_Hypothesis* SMESH_Mesh::GetHypothesis ( const SMESH_subMesh aSubMesh,
const SMESH_HypoFilter aFilter,
const bool  andAncestors,
TopoDS_Shape *  assignedTo = 0 
) const
inherited
SMESH_Hypothesis* SMESH_Mesh::GetHypothesis ( const int  aHypID) const
inherited
const std::list<const SMESHDS_Hypothesis * >& SMESH_Mesh::GetHypothesisList ( const TopoDS_Shape &  aSubShape) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::GetId ( ) const
inherited
bool SMESH_Mesh::GetIsModified ( ) const
inherited
const list< SMESHDS_Command * > & SMESH_Mesh::GetLog ( ) throw (SALOME_Exception)
inherited
const SMESHDS_Mesh* SMESH_Mesh::GetMeshDS ( ) const
inherited
const TListOfListOfInt& SMESH_Mesh::GetMeshOrder ( ) const
inherited
double SMESH_Mesh::GetShapeDiagonalSize ( ) const
inherited

Return diagonal size of bounding box of shape to mesh.

Referenced by SMESH_Gen_i::GetHypothesisParameterValues().

double SMESH_Mesh::GetShapeDiagonalSize ( const TopoDS_Shape &  aShape)
staticinherited

Return diagonal size of bounding box of a shape.

TopoDS_Shape SMESH_Mesh::GetShapeToMesh ( ) const
inherited

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)
inherited

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)
inherited
SMESH_subMesh* SMESH_Mesh::GetSubMeshContaining ( const int  aShapeID) const throw (SALOME_Exception)
inherited
SMESH_ComputeErrorPtr SMESH_Mesh::GMFToMesh ( const char *  theFileName,
bool  theMakeRequiredGroups = true 
)
inherited
bool SMESH_Mesh::HasDuplicatedGroupNamesMED ( )
inherited

Check group names for duplications.

Consider maximum group name length stored in MED file

bool SMESH_Mesh::HasModificationsToDiscard ( ) const
inherited

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
inherited

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
inherited
bool SMESH_Mesh::IsNotConformAllowed ( ) const
inherited

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
inherited

Return true if given order of sub-meshes is OK.

bool SMESH_Mesh::IsUsedHypothesis ( SMESHDS_Hypothesis anHyp,
const SMESH_subMesh aSubMesh 
)
inherited

Return True if anHyp is used to mesh aSubShape.

References SMESHDS_Hypothesis::GetType(), and SMESHDS_Hypothesis::PARAM_ALGO.

void SMESH_Mesh::Load ( )
inherited

Load mesh from study file.

bool SMESH_Mesh::MeshExists ( int  meshId) const
inherited

Return true if a mesh with given id exists.

int SMESH_Mesh::Nb0DElements ( ) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbBalls ( ) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbBiQuadQuadrangles ( ) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbBiQuadTriangles ( ) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbEdges ( SMDSAbs_ElementOrder  order = ORDER_ANY) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbFaces ( SMDSAbs_ElementOrder  order = ORDER_ANY) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbGroup ( ) const
inherited
int SMESH_Mesh::NbHexagonalPrisms ( ) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbHexas ( SMDSAbs_ElementOrder  order = ORDER_ANY) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbMeshes ( ) const
inherited

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)
inherited
int SMESH_Mesh::NbPolygons ( SMDSAbs_ElementOrder  order = ORDER_ANY) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbPolyhedrons ( ) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbPrisms ( SMDSAbs_ElementOrder  order = ORDER_ANY) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbPyramids ( SMDSAbs_ElementOrder  order = ORDER_ANY) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbQuadrangles ( SMDSAbs_ElementOrder  order = ORDER_ANY) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbSubMesh ( ) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbTetras ( SMDSAbs_ElementOrder  order = ORDER_ANY) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbTriangles ( SMDSAbs_ElementOrder  order = ORDER_ANY) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbTriQuadraticHexas ( ) const throw (SALOME_Exception)
inherited
int SMESH_Mesh::NbVolumes ( SMDSAbs_ElementOrder  order = ORDER_ANY) const throw (SALOME_Exception)
inherited
void SMESH_Mesh::NotifySubMeshesHypothesisModification ( const SMESH_Hypothesis theChangedHyp)
inherited
const TopoDS_Solid & SMESH_Mesh::PseudoShape ( )
staticinherited
void MeshEditor_I::TPreviewMesh::Remove ( SMDSAbs_ElementType  type)
void MeshEditor_I::TPreviewMesh::RemoveAll ( )
bool SMESH_Mesh::RemoveGroup ( const int  theGroupID)
inherited
void SMESH_Mesh::SetAutoColor ( bool  theAutoColor) throw (SALOME_Exception)
inherited

Auto color functionality.

void SMESH_Mesh::SetCallUp ( TCallUp upCaller)
inherited

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)
inherited

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)
inherited

remove submesh order from Mesh

void SMESH_Mesh::ShapeToMesh ( const TopoDS_Shape &  aShape)
inherited

Set geometry to be meshed.

References MESSAGE, and MYDEBUG.

bool SMESH_Mesh::SortByMeshOrder ( std::vector< SMESH_subMesh * > &  theListToSort) const
inherited

sort submeshes according to stored mesh order

Parameters
theListToSortin out list to be sorted
Returns
FALSE if nothing sorted

References SMESHDS_SubMesh::GetID().

std::string SMESH_Mesh::STLToMesh ( const char *  theFileName)
inherited
bool SMESH_Mesh::SynchronizeGroups ( )
inherited

Creates SMESH_Groups for not wrapped SMESHDS_Groups.

Return values
bool- true if new SMESH_Groups have been created

References SMESHDS_GroupBase::GetID().

Field Documentation

std::vector<SMESH_subMesh*> SMESH_Mesh::_ancestorSubMeshes
mutableprotectedinherited
TCallUp* SMESH_Mesh::_callUp
protectedinherited

Referenced by SMESH_Mesh::SMESH_Mesh().

SMESH_Gen* SMESH_Mesh::_gen
protectedinherited

Referenced by SMESH_Mesh::SMESH_Mesh().

int SMESH_Mesh::_groupId
protectedinherited
int SMESH_Mesh::_id
protectedinherited

Referenced by SMESH_Mesh::SMESH_Mesh().

bool SMESH_Mesh::_isAutoColor
protectedinherited

Referenced by SMESH_Mesh::SMESH_Mesh().

bool SMESH_Mesh::_isModified
protectedinherited

modified since last total re-compute, issue 0020693

Referenced by SMESH_Mesh::SMESH_Mesh().

bool SMESH_Mesh::_isShapeToMesh
protectedinherited

Referenced by SMESH_Mesh::SMESH_Mesh().

TopTools_IndexedDataMapOfShapeListOfShape SMESH_Mesh::_mapAncestors
protectedinherited
std::map<int, SMESH_Group*> SMESH_Mesh::_mapGroup
protectedinherited
SMESHDS_Document* SMESH_Mesh::_myDocument
protectedinherited

Referenced by SMESH_Mesh::SMESH_Mesh().

SMESHDS_Mesh* SMESH_Mesh::_myMeshDS
protectedinherited

Referenced by SMESH_Mesh::SMESH_Mesh().

TListOfListOfInt SMESH_Mesh::_mySubMeshOrder
protectedinherited
int SMESH_Mesh::_nbSubShapes
protectedinherited
double SMESH_Mesh::_shapeDiagonal
protectedinherited

diagonal size of bounding box of shape to mesh

Referenced by SMESH_Mesh::SMESH_Mesh().

int SMESH_Mesh::_studyId
protectedinherited

Referenced by SMESH_Mesh::SMESH_Mesh().

SubMeshHolder* SMESH_Mesh::_subMeshHolder
protectedinherited

Referenced by SMESH_Mesh::SMESH_Mesh().

SMDSAbs_ElementType MeshEditor_I::TPreviewMesh::myPreviewType