#include <SMESHGUI_Selection.h>
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_Actor * | getActor (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 |
SMESHGUI_Selection::SMESHGUI_Selection | ( | ) |
|
virtual |
|
virtual |
References SMESH_Actor::eArea, SMESH_Actor::eAspectRatio, SMESH_Actor::eAspectRatio3D, SMESH_Actor::eBareBorderFace, SMESH_Actor::eBareBorderVolume, SMESH_Actor::eCoincidentElems1D, SMESH_Actor::eCoincidentElems2D, SMESH_Actor::eCoincidentElems3D, SMESH_Actor::eCoincidentNodes, SMESH_Actor::eFreeBorders, SMESH_Actor::eFreeEdges, SMESH_Actor::eFreeFaces, SMESH_Actor::eFreeNodes, SMESH_Actor::eLength, SMESH_Actor::eLength2D, SMESH_Actor::eMaxElementLength2D, SMESH_Actor::eMaxElementLength3D, SMESH_Actor::eMinimumAngle, SMESH_Actor::eMultiConnection, SMESH_Actor::eMultiConnection2D, SMESH_Actor::eOverConstrainedFace, SMESH_Actor::eOverConstrainedVolume, SMESH_Actor::eSkew, SMESH_Actor::eTaper, SMESH_Actor::eVolume3D, SMESH_Actor::eWarping, getActor(), and SMESH_Actor::GetControlMode().
|
virtual |
References myControls.
Referenced by init(), and parameter().
return dimension of elements of the selected object
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().
|
virtual |
References SMESH_Actor::eEdge, SMESH_Actor::ePoint, SMESH_Actor::eSurface, and getActor().
Referenced by parameter().
References _PTR(), SMESH::ALL, SMESH::BALL, SMESH::EDGE, SMESH::ELEM0D, SMESH::FACE, getActor(), SMESH_Actor::GetObject(), myTypes, SMESH::NB_ELEMENT_TYPES, SMESH::NODE, SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Volume, SObject(), SMESH::SObjectToObject(), and SMESH::VOLUME.
Referenced by parameter().
|
virtual |
References SMESH_Actor::e0DElements, SMESH_Actor::eBallElem, SMESH_Actor::eEdges, SMESH_Actor::eFaces, SMESH_Actor::eVolumes, getActor(), and SMESH_Actor::GetEntityMode().
Referenced by parameter().
|
virtual |
References getActor(), and SMESH_Actor::GetFacesOriented().
Referenced by parameter().
SMESH_Actor * SMESHGUI_Selection::getActor | ( | int | ind | ) | const |
References myActors.
Referenced by controlMode(), displayMode(), elemTypes(), entityMode(), facesOrientationMode(), isDistributionVisible(), isNumFunctor(), isScalarBarVisible(), labeledTypes(), parameter(), quadratic2DMode(), and shrinkMode().
|
virtual |
References _PTR(), and SObject().
Referenced by parameter().
|
static |
References SMESHGUI::GetSMESHGUI(), and SMESHGUI::GetState().
Referenced by parameter().
References _PTR(), and SObject().
Referenced by parameter().
References _PTR(), SMESH::GetShapeOnMeshOrSubMesh(), myTypes, and SObject().
Referenced by parameter().
|
virtual |
References _PTR(), controlMode(), myControls, myTypes, type(), and typeName().
References _PTR(), myTypes, SObject(), and SMESH::SObjectToObject().
Referenced by parameter().
References _PTR(), SMESHGUI_PrecomputeOp::getAssignedAlgos(), myTypes, and SObject().
Referenced by parameter().
References myTypes.
Referenced by parameter().
References getActor(), SMESH_ScalarBarActor::GetDistributionVisibility(), and SMESH_Actor::GetScalarBarActor().
Referenced by parameter().
References _PTR(), myTypes, and SObject().
Referenced by parameter().
References _PTR(), SObject(), and SMESH::SObjectToObject().
Referenced by parameter().
References SMESH_Actor::eArea, SMESH_Actor::eAspectRatio, SMESH_Actor::eAspectRatio3D, SMESH_Actor::eLength, SMESH_Actor::eLength2D, SMESH_Actor::eMaxElementLength2D, SMESH_Actor::eMaxElementLength3D, SMESH_Actor::eMinimumAngle, SMESH_Actor::eMultiConnection, SMESH_Actor::eMultiConnection2D, SMESH_Actor::eSkew, SMESH_Actor::eTaper, SMESH_Actor::eVolume3D, SMESH_Actor::eWarping, getActor(), and SMESH_Actor::GetControlMode().
Referenced by parameter().
References _PTR(), dim(), SMESH::DIM_2D, SMESH::DIM_3D, SMESHGUI_PrecomputeOp::getAssignedAlgos(), myTypes, and SObject().
Referenced by parameter().
References _PTR(), SMESHGUI_ConvToQuadOp::DestinationMesh(), SMESHGUI_ConvToQuadOp::Linear, and SObject().
Referenced by parameter().
References getActor(), and SMESH_Actor::GetScalarBarActor().
Referenced by parameter().
References SMESH::FindActorByEntry(), SMESH::GetCurrentVtkView(), and myTypes.
|
virtual |
References getActor(), SMESH_Actor::GetCellsLabeled(), and SMESH_Actor::GetPointsLabeled().
Referenced by parameter().
References _PTR(), and SObject().
Referenced by parameter().
References _PTR(), myTypes, SObject(), and SMESH::SObjectToObject().
Referenced by parameter().
|
virtual |
References dim(), displayMode(), elemTypes(), entityMode(), facesOrientationMode(), getActor(), groupType(), guiState(), hasChildren(), hasGeomReference(), isAutoColor(), isComputable(), isContainer(), isDistributionVisible(), isEditableHyp(), isImported(), isNumFunctor(), isPreComputable(), isQuadratic(), isScalarBarVisible(), labeledTypes(), myTypes, nbChildren(), numberOfNodes(), quadratic2DMode(), and shrinkMode().
|
virtual |
References controlMode().
|
virtual |
References SMESH::FindActorByEntry(), and myActors.
|
virtual |
References SMESH_Actor::eArcs, SMESH_Actor::eLines, getActor(), and SMESH_Actor::GetQuadratic2DRepresentation().
Referenced by parameter().
|
virtual |
References getActor().
Referenced by parameter().
References _PTR(), SMESH::ALGORITHM, SMESH::COMPONENT, SMESH::GROUP, SMESH::HYPOTHESIS, SMESH::MESH, SObject(), SMESH::SUBMESH, SMESH::SUBMESH_COMPOUND, SMESH::SUBMESH_EDGE, SMESH::SUBMESH_FACE, SMESH::SUBMESH_SOLID, SMESH::SUBMESH_VERTEX, SMESH::Tag_AlgorithmsRoot, SMESH::Tag_FirstGroup, SMESH::Tag_FirstMeshRoot, SMESH::Tag_HypothesisRoot, SMESH::Tag_SubMeshOnCompound, SMESH::Tag_SubMeshOnEdge, SMESH::Tag_SubMeshOnFace, SMESH::Tag_SubMeshOnSolid, and SMESH::Tag_SubMeshOnVertex.
Referenced by init(), SMESH::ModifiedMesh(), SMESHGUI::renameAllowed(), SMESHGUI::renameObject(), and SMESHGUI_SelectionOp::typeById().
|
static |
References SMESH::ALGORITHM, SMESH::COMPONENT, SMESH::GROUP, SMESH::HYPOTHESIS, SMESH::MESH, SMESH::MESHorSUBMESH, SMESH::SUBMESH, SMESH::SUBMESH_COMPOUND, SMESH::SUBMESH_EDGE, SMESH::SUBMESH_FACE, SMESH::SUBMESH_SOLID, and SMESH::SUBMESH_VERTEX.
Referenced by init(), and SMESHGUI::initialize().
|
private |
Referenced by getActor(), and processOwner().
|
private |
Referenced by controlMode(), and init().
|
private |
Referenced by dim(), elemTypes(), hasGeomReference(), init(), isAutoColor(), isComputable(), isContainer(), isEditableHyp(), isPreComputable(), isVisible(), numberOfNodes(), and parameter().