Version: 8.3.0
SMESHGUI_Selection Class Reference

#include <SMESHGUI_Selection.h>

Inheritance diagram for SMESHGUI_Selection:

Public Member Functions

 SMESHGUI_Selection ()
 
virtual ~SMESHGUI_Selection ()
 
virtual void init (const QString &, LightApp_SelectionMgr *)
 
virtual QVariant parameter (const int, const QString &) const
 
virtual QVariant parameter (const QString &) const
 
virtual bool processOwner (const LightApp_DataOwner *)
 
virtual bool isAutoColor (int) const
 
virtual int numberOfNodes (int) const
 
virtual int dim (int) const
 return dimension of elements of the selected object More...
 
virtual bool isComputable (int) const
 
virtual bool isPreComputable (int) const
 
virtual bool hasGeomReference (int) const
 
virtual bool isEditableHyp (int) const
 
virtual bool isVisible (int) const
 
virtual bool isQuadratic (int) const
 
virtual QString quadratic2DMode (int) const
 
virtual bool isDistributionVisible (int) const
 
virtual bool isScalarBarVisible (int) const
 
virtual bool hasChildren (int) const
 
virtual int nbChildren (int) const
 
virtual bool isContainer (int) const
 
virtual QList< QVariant > elemTypes (int, bool) const
 
virtual QList< QVariant > labeledTypes (int) const
 
virtual QString displayMode (int) const
 
virtual QString shrinkMode (int) const
 
virtual QList< QVariant > entityMode (int) const
 
virtual QString controlMode (int) const
 
virtual QString controlMode () const
 
virtual bool isNumFunctor (int) const
 
virtual QString facesOrientationMode (int) const
 
virtual QString groupType (int) const
 
SMESH_ActorgetActor (int) const
 
bool isImported (const int) const
 

Static Public Member Functions

static int type (const QString &, _PTR(Study))
 
static QString typeName (const int)
 
static int guiState ()
 

Private Attributes

QStringList myTypes
 
QStringList myControls
 
QList< SMESH_Actor * > myActors
 

Constructor & Destructor Documentation

SMESHGUI_Selection::SMESHGUI_Selection ( )
SMESHGUI_Selection::~SMESHGUI_Selection ( )
virtual

Member Function Documentation

QString SMESHGUI_Selection::controlMode ( ) const
virtual

References myControls.

Referenced by init(), and parameter().

int SMESHGUI_Selection::dim ( int  ind) const
virtual

return dimension of elements of the selected object

Return values
int- 0 for 0D elements, -1 for an empty object (the rest as usual)

References _PTR(), SMESH::BALL, SMESH::EDGE, SMESH::ELEM0D, SMESH::FACE, myTypes, SObject(), SMESH::SObjectToObject(), and SMESH::VOLUME.

Referenced by isPreComputable(), and parameter().

QString SMESHGUI_Selection::displayMode ( int  ind) const
virtual
QList< QVariant > SMESHGUI_Selection::entityMode ( int  ind) const
virtual
QString SMESHGUI_Selection::facesOrientationMode ( int  ind) const
virtual

References getActor(), and SMESH_Actor::GetFacesOriented().

Referenced by parameter().

QString SMESHGUI_Selection::groupType ( int  ind) const
virtual

References _PTR(), and SObject().

Referenced by parameter().

int SMESHGUI_Selection::guiState ( )
static

References SMESHGUI::GetSMESHGUI(), and SMESHGUI::GetState().

Referenced by parameter().

bool SMESHGUI_Selection::hasChildren ( int  ind) const
virtual

References _PTR(), and SObject().

Referenced by parameter().

bool SMESHGUI_Selection::hasGeomReference ( int  ind) const
virtual
void SMESHGUI_Selection::init ( const QString &  client,
LightApp_SelectionMgr *  mgr 
)
virtual
bool SMESHGUI_Selection::isAutoColor ( int  ind) const
virtual

References _PTR(), myTypes, SObject(), and SMESH::SObjectToObject().

Referenced by parameter().

bool SMESHGUI_Selection::isComputable ( int  ind) const
virtual
bool SMESHGUI_Selection::isContainer ( int  ind) const
virtual

References myTypes.

Referenced by parameter().

bool SMESHGUI_Selection::isDistributionVisible ( int  ind) const
virtual
bool SMESHGUI_Selection::isEditableHyp ( int  ind) const
virtual

References _PTR(), myTypes, and SObject().

Referenced by parameter().

bool SMESHGUI_Selection::isImported ( const int  ind) const

References _PTR(), SObject(), and SMESH::SObjectToObject().

Referenced by parameter().

bool SMESHGUI_Selection::isPreComputable ( int  ind) const
virtual
bool SMESHGUI_Selection::isQuadratic ( int  ind) const
virtual
bool SMESHGUI_Selection::isScalarBarVisible ( int  ind) const
virtual

References getActor(), and SMESH_Actor::GetScalarBarActor().

Referenced by parameter().

bool SMESHGUI_Selection::isVisible ( int  ind) const
virtual
QList< QVariant > SMESHGUI_Selection::labeledTypes ( int  ind) const
virtual
int SMESHGUI_Selection::nbChildren ( int  ind) const
virtual

References _PTR(), and SObject().

Referenced by parameter().

int SMESHGUI_Selection::numberOfNodes ( int  ind) const
virtual

References _PTR(), myTypes, SObject(), and SMESH::SObjectToObject().

Referenced by parameter().

QVariant SMESHGUI_Selection::parameter ( const QString &  p) const
virtual

References controlMode().

bool SMESHGUI_Selection::processOwner ( const LightApp_DataOwner *  ow)
virtual
QString SMESHGUI_Selection::quadratic2DMode ( int  ind) const
virtual
QString SMESHGUI_Selection::shrinkMode ( int  ind) const
virtual

References getActor().

Referenced by parameter().

Field Documentation

QList<SMESH_Actor*> SMESHGUI_Selection::myActors
private

Referenced by getActor(), and processOwner().

QStringList SMESHGUI_Selection::myControls
private

Referenced by controlMode(), and init().