SALOME - SMESH
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
SMESHDS_GroupOnGeom Class Reference

#include <SMESHDS_GroupOnGeom.hxx>

Inheritance diagram for SMESHDS_GroupOnGeom:
Inheritance graph
Collaboration diagram for SMESHDS_GroupOnGeom:
Collaboration graph

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 ()
int GetID () const
int GetID (const int theIndex)
const SMESHDS_MeshGetMesh () const
virtual void SetType (SMDSAbs_ElementType theType)
SMDSAbs_ElementType GetType () const
void SetStoreName (const char *theName)
const char * GetStoreName () const
virtual int Extent ()
virtual bool IsEmpty ()
void SetColor (const Quantity_Color &theColor)
Quantity_Color GetColor () const
void SetColorGroup (int theColorGroup)
int GetColorGroup () const

Protected Member Functions

const SMDS_MeshElementfindInMesh (const int theID) const
void resetIterator ()

Private Attributes

TopoDS_Shape myShape
const SMESHDS_SubMeshmySubMesh

Detailed Description

Definition at line 36 of file SMESHDS_GroupOnGeom.hxx.


Constructor & Destructor Documentation

SMESHDS_GroupOnGeom::SMESHDS_GroupOnGeom ( const int  theID,
const SMESHDS_Mesh theMesh,
const SMDSAbs_ElementType  theType,
const TopoDS_Shape theShape 
)

Member Function Documentation

void SMESHDS_GroupOnGeom::SetShape ( const TopoDS_Shape theShape)
virtual bool SMESHDS_GroupOnGeom::Contains ( const int  theID) [virtual]

Reimplemented from SMESHDS_GroupBase.

virtual bool SMESHDS_GroupOnGeom::Contains ( const SMDS_MeshElement elem) [virtual]

Reimplemented from SMESHDS_GroupBase.

int SMESHDS_GroupBase::GetID ( ) const [inherited]

Definition at line 48 of file SMESHDS_GroupBase.hxx.

int SMESHDS_GroupBase::GetID ( const int  theIndex) [inherited]
const SMESHDS_Mesh* SMESHDS_GroupBase::GetMesh ( ) const [inherited]

Definition at line 50 of file SMESHDS_GroupBase.hxx.

virtual void SMESHDS_GroupBase::SetType ( SMDSAbs_ElementType  theType) [virtual, inherited]

Reimplemented in SMESHDS_Group.

Definition at line 54 of file SMESHDS_GroupBase.hxx.

void SMESHDS_GroupBase::SetStoreName ( const char *  theName) [inherited]

Definition at line 56 of file SMESHDS_GroupBase.hxx.

const char* SMESHDS_GroupBase::GetStoreName ( ) const [inherited]

Definition at line 58 of file SMESHDS_GroupBase.hxx.

virtual int SMESHDS_GroupBase::Extent ( ) [virtual, inherited]

Reimplemented in SMESHDS_Group.

virtual bool SMESHDS_GroupBase::IsEmpty ( ) [virtual, inherited]

Reimplemented in SMESHDS_Group.

void SMESHDS_GroupBase::SetColor ( const Quantity_Color &  theColor) [inherited]

Definition at line 75 of file SMESHDS_GroupBase.hxx.

Quantity_Color SMESHDS_GroupBase::GetColor ( ) const [inherited]

Definition at line 78 of file SMESHDS_GroupBase.hxx.

void SMESHDS_GroupBase::SetColorGroup ( int  theColorGroup) [inherited]
int SMESHDS_GroupBase::GetColorGroup ( ) const [inherited]
const SMDS_MeshElement* SMESHDS_GroupBase::findInMesh ( const int  theID) const [protected, inherited]
void SMESHDS_GroupBase::resetIterator ( ) [protected, inherited]

Field Documentation

Definition at line 58 of file SMESHDS_GroupOnGeom.hxx.