SMESHDS_GroupBase Class Referenceabstract

#include <SMESHDS_GroupBase.hxx>

Public Member Functions

virtual bool Contains (const int theID)
 
virtual bool Contains (const SMDS_MeshElement *elem)
 
virtual int Extent () const
 
Quantity_Color GetColor () const
 
int GetColorGroup () const
 
virtual SMDS_ElemIteratorPtr GetElements () const =0
 
int GetID () const
 
virtual int GetID (const int theIndex)
 
const SMESHDS_MeshGetMesh () const
 
const char * GetStoreName () const
 
virtual VTK_MTIME_TYPE GetTic () const =0
 
SMDSAbs_ElementType GetType () const
 
virtual bool IsEmpty ()
 
void SetColor (const Quantity_Color &theColor)
 
void SetColorGroup (int theColorGroup)
 
void SetStoreName (const char *theName)
 
virtual void SetType (SMDSAbs_ElementType theType)
 
 SMESHDS_GroupBase (const int theID, const SMESHDS_Mesh *theMesh, const SMDSAbs_ElementType theType)
 
virtual ~SMESHDS_GroupBase ()
 

Static Public Member Functions

static void SetDefaultColor (const Quantity_Color &theColor)
 

Protected Member Functions

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

Constructor & Destructor Documentation

◆ SMESHDS_GroupBase()

SMESHDS_GroupBase::SMESHDS_GroupBase ( const int  theID,
const SMESHDS_Mesh theMesh,
const SMDSAbs_ElementType  theType 
)

◆ ~SMESHDS_GroupBase()

virtual SMESHDS_GroupBase::~SMESHDS_GroupBase ( )
virtual

Member Function Documentation

◆ Contains() [1/2]

bool SMESHDS_GroupBase::Contains ( const int  theID)
virtual

◆ Contains() [2/2]

bool SMESHDS_GroupBase::Contains ( const SMDS_MeshElement elem)
virtual

◆ Extent()

int SMESHDS_GroupBase::Extent ( ) const
virtual

◆ findInMesh()

◆ GetColor()

Quantity_Color SMESHDS_GroupBase::GetColor ( ) const

◆ GetColorGroup()

int SMESHDS_GroupBase::GetColorGroup ( ) const

References GetColor().

◆ GetElements()

◆ GetID() [1/2]

◆ GetID() [2/2]

int SMESHDS_GroupBase::GetID ( const int  theIndex)
virtual

References GetElements().

◆ GetMesh()

◆ GetStoreName()

const char * SMESHDS_GroupBase::GetStoreName ( ) const

◆ GetTic()

virtual VTK_MTIME_TYPE SMESHDS_GroupBase::GetTic ( ) const
pure virtual

◆ GetType()

◆ IsEmpty()

◆ resetIterator()

void SMESHDS_GroupBase::resetIterator ( )
protected

Internal method: resets cached iterator, should be called by ancestors when they are modified (ex: Add() or Remove() )

Referenced by SMESHDS_Group::Add(), SMESHDS_Group::Clear(), and SMESHDS_Group::Remove().

◆ SetColor()

void SMESHDS_GroupBase::SetColor ( const Quantity_Color &  theColor)

◆ SetColorGroup()

void SMESHDS_GroupBase::SetColorGroup ( int  theColorGroup)

◆ SetDefaultColor()

static void SMESHDS_GroupBase::SetDefaultColor ( const Quantity_Color &  theColor)
static

◆ SetStoreName()

void SMESHDS_GroupBase::SetStoreName ( const char *  theName)

◆ SetType()

void SMESHDS_GroupBase::SetType ( SMDSAbs_ElementType  theType)
virtual

Reimplemented in SMESHDS_Group.

Referenced by SMESHDS_Group::SetType().


The documentation for this class was generated from the following files: