#include <SMESHDS_GroupOnGeom.hxx>
Public Member Functions | |
SMESHDS_GroupOnGeom (const int theID, const SMESHDS_Mesh *theMesh, const SMDSAbs_ElementType theType, const TopoDS_Shape &theShape) | |
void | SetShape (const TopoDS_Shape &theShape) |
TopoDS_Shape | GetShape () const |
virtual bool | Contains (const int theID) |
virtual bool | Contains (const SMDS_MeshElement *elem) |
virtual SMDS_ElemIteratorPtr | GetElements () const |
virtual int | GetTic () const |
Return a value allowing to find out if a group has changed or not. More... | |
int | GetID () const |
virtual int | GetID (const int theIndex) |
const SMESHDS_Mesh * | GetMesh () const |
virtual void | SetType (SMDSAbs_ElementType theType) |
SMDSAbs_ElementType | GetType () const |
void | SetStoreName (const char *theName) |
const char * | GetStoreName () const |
virtual int | Extent () const |
virtual bool | IsEmpty () |
void | SetColor (const Quantity_Color &theColor) |
Quantity_Color | GetColor () const |
void | SetColorGroup (int theColorGroup) |
int | GetColorGroup () const |
Static Public Member Functions | |
static void | SetDefaultColor (const Quantity_Color &theColor) |
Protected Member Functions | |
const SMDS_MeshElement * | findInMesh (const int theID) const |
void | resetIterator () |
Internal method: resets cached iterator, should be called by ancestors when they are modified (ex: Add() or Remove() ) More... | |
Private Attributes | |
TopoDS_Shape | myShape |
const SMESHDS_SubMesh * | mySubMesh |
SMESHDS_GroupOnGeom::SMESHDS_GroupOnGeom | ( | const int | theID, |
const SMESHDS_Mesh * | theMesh, | ||
const SMDSAbs_ElementType | theType, | ||
const TopoDS_Shape & | theShape | ||
) |
References SetShape().
Reimplemented from SMESHDS_GroupBase.
References SMESHDS_SubMesh::Contains(), SMESHDS_GroupBase::findInMesh(), and mySubMesh.
|
virtual |
Reimplemented from SMESHDS_GroupBase.
References SMESHDS_SubMesh::Contains(), and mySubMesh.
|
virtualinherited |
Reimplemented in SMESHDS_GroupOnFilter, and SMESHDS_Group.
References SMESHDS_GroupBase::GetElements().
Referenced by SMESH_GroupBase_i::GetListOfID(), DriverUNV_W_SMDS_Mesh::Perform(), DriverCGNS_Write::Perform(), DriverGMF_Write::Perform(), SMESH::Controls::GroupColor::SetMesh(), and SMESH_GroupBase_i::Size().
|
protectedinherited |
|
inherited |
|
inherited |
References SMESHDS_GroupBase::GetColor().
Referenced by SMESH_GroupBase_i::GetColorNumber().
|
virtual |
Implements SMESHDS_GroupBase.
References SMESHDS_GroupBase::GetType(), and mySubMesh.
|
inherited |
|
inherited |
Referenced by ChangeByPredicate(), StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), SMESH_Mesh_i::CreateDimGroup(), SMESHDS_GroupBase::findInMesh(), SMESHDS_GroupOnFilter::GetElements(), SMESH_GroupOnFilter_i::GetListOfID(), StdMeshers_ImportSource1D::GetSourceMeshes(), StdMeshers_ImportSource1D::GetSourceSubMeshes(), GetTic(), SMESHDS_GroupOnFilter::GetTic(), SMESHDS_GroupOnFilter::IsUpToDate(), SMESHDS_GroupOnFilter::setChanged(), SMESH::Controls::BelongToMeshGroup::SetMesh(), SMESHDS_GroupOnFilter::setNbElemToSkip(), SMESHDS_GroupOnFilter::SetPredicate(), and SetShape().
TopoDS_Shape SMESHDS_GroupOnGeom::GetShape | ( | ) | const |
Referenced by SMESH_Mesh_i::CheckGeomGroupModif(), and SMESH_GroupOnGeom_i::GetShape().
|
inherited |
|
virtual |
Return a value allowing to find out if a group has changed or not.
Implements SMESHDS_GroupBase.
References SMESHDS_GroupBase::GetMesh(), and SMDS_Mesh::GetMTime().
|
inherited |
Referenced by StdMeshers_QuadToTriaAdaptor::Compute(), SMESH_Mesh::ConvertToStandalone(), SMESH_Gen_i::CopyMesh(), SMESH_MeshEditor::CreateHoleSkin(), SMESHDS_GroupBase::findInMesh(), SMESH_MeshEditor::generateGroups(), GetElements(), SMESHDS_GroupOnFilter::GetElements(), SMESH_Mesh_i::GetElements(), DriverMED_R_SMESHDS_Mesh::GetGroup(), SMESH_GroupOnFilter_i::GetListOfID(), SMESH_GroupBase_i::GetType(), SMESH::Controls::BelongToMeshGroup::GetType(), StdMeshers_Import_1D::importMesh(), DriverMED_Family::Init(), DriverUNV_W_SMDS_Mesh::Perform(), DriverCGNS_Write::Perform(), SMESH::Controls::GroupColor::SetMesh(), SMESHDS_GroupOnFilter::setNbElemToSkip(), and SMESHDS_Group::SetType().
|
virtualinherited |
Reimplemented in SMESHDS_GroupOnFilter, and SMESHDS_Group.
References SMESHDS_GroupBase::GetElements(), SMDS_Mesh::GetMeshInfo(), SMESHDS_GroupBase::myMesh, SMESHDS_GroupBase::myType, and SMDS_MeshInfo::NbElements().
Referenced by StdMeshers_QuadToTriaAdaptor::Compute(), SMESH_MeshEditor::CreateHoleSkin(), SMESH_MeshEditor::generateGroups(), SMESH_Mesh_i::IntersectGroups(), SMESH_GroupBase_i::IsEmpty(), and SMESH::Controls::BelongToMeshGroup::SetMesh().
|
protectedinherited |
Internal method: resets cached iterator, should be called by ancestors when they are modified (ex: Add() or Remove() )
References SMESHDS_GroupBase::myCurID, and SMESHDS_GroupBase::myCurIndex.
Referenced by SMESHDS_Group::Add(), SMESHDS_Group::Clear(), and SMESHDS_Group::Remove().
|
inherited |
|
inherited |
References SMESHDS_GroupBase::SetColor().
Referenced by DriverMED_R_SMESHDS_Mesh::GetGroup(), and SMESH_GroupBase_i::SetColorNumber().
|
staticinherited |
Referenced by SMESH_Gen_i::SetOption().
void SMESHDS_GroupOnGeom::SetShape | ( | const TopoDS_Shape & | theShape | ) |
References SMESHDS_Mesh::AddCompoundSubmesh(), SMESHDS_GroupBase::GetMesh(), SMESHDS_Mesh::MeshElements(), myShape, and mySubMesh.
Referenced by SMESH_Mesh_i::CheckGeomGroupModif(), and SMESHDS_GroupOnGeom().
|
inherited |
|
virtualinherited |
Reimplemented in SMESHDS_Group.
References SMESHDS_GroupBase::myType.
Referenced by SMESHDS_Group::SetType().
|
private |
Referenced by SetShape().
|
private |
Referenced by Contains(), GetElements(), and SetShape().