SALOME - SMESH
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::SMESHDS_GroupOnGeom ( const int  theID,
const SMESHDS_Mesh theMesh,
const SMDSAbs_ElementType  theType,
const TopoDS_Shape &  theShape 
)

Member Function Documentation

◆ SetShape()

void SMESHDS_GroupOnGeom::SetShape ( const TopoDS_Shape &  theShape)

◆ GetShape()

TopoDS_Shape SMESHDS_GroupOnGeom::GetShape ( ) const

Definition at line 47 of file SMESHDS_GroupOnGeom.hxx.

◆ Contains() [1/2]

virtual bool SMESHDS_GroupOnGeom::Contains ( const int  theID)
virtual

Reimplemented from SMESHDS_GroupBase.

◆ Contains() [2/2]

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

Reimplemented from SMESHDS_GroupBase.

◆ GetElements()

virtual SMDS_ElemIteratorPtr SMESHDS_GroupOnGeom::GetElements ( )
virtual

Implements SMESHDS_GroupBase.

◆ GetID() [1/2]

int SMESHDS_GroupBase::GetID ( ) const
inherited

Definition at line 48 of file SMESHDS_GroupBase.hxx.

◆ GetID() [2/2]

int SMESHDS_GroupBase::GetID ( const int  theIndex)
inherited

◆ GetMesh()

const SMESHDS_Mesh* SMESHDS_GroupBase::GetMesh ( ) const
inherited

Definition at line 50 of file SMESHDS_GroupBase.hxx.

◆ SetType()

virtual void SMESHDS_GroupBase::SetType ( SMDSAbs_ElementType  theType)
virtualinherited

Reimplemented in SMESHDS_Group.

◆ GetType()

SMDSAbs_ElementType SMESHDS_GroupBase::GetType ( ) const
inherited

Definition at line 54 of file SMESHDS_GroupBase.hxx.

◆ SetStoreName()

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

Definition at line 56 of file SMESHDS_GroupBase.hxx.

◆ GetStoreName()

const char* SMESHDS_GroupBase::GetStoreName ( ) const
inherited

Definition at line 58 of file SMESHDS_GroupBase.hxx.

◆ Extent()

virtual int SMESHDS_GroupBase::Extent ( )
virtualinherited

Reimplemented in SMESHDS_Group.

◆ IsEmpty()

virtual bool SMESHDS_GroupBase::IsEmpty ( )
virtualinherited

Reimplemented in SMESHDS_Group.

◆ SetColor()

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

Definition at line 75 of file SMESHDS_GroupBase.hxx.

◆ GetColor()

Quantity_Color SMESHDS_GroupBase::GetColor ( ) const
inherited

Definition at line 78 of file SMESHDS_GroupBase.hxx.

◆ SetColorGroup()

void SMESHDS_GroupBase::SetColorGroup ( int  theColorGroup)
inherited

◆ GetColorGroup()

int SMESHDS_GroupBase::GetColorGroup ( ) const
inherited

◆ findInMesh()

const SMDS_MeshElement* SMESHDS_GroupBase::findInMesh ( const int  theID) const
protectedinherited

◆ resetIterator()

void SMESHDS_GroupBase::resetIterator ( )
protectedinherited

Field Documentation

◆ myShape

TopoDS_Shape SMESHDS_GroupOnGeom::myShape
private

Definition at line 57 of file SMESHDS_GroupOnGeom.hxx.

◆ mySubMesh

const SMESHDS_SubMesh* SMESHDS_GroupOnGeom::mySubMesh
private

Definition at line 58 of file SMESHDS_GroupOnGeom.hxx.