#include <SMESHGUI_Selection.h>
◆ SMESHGUI_Selection()
| SMESHGUI_Selection::SMESHGUI_Selection |
( |
| ) |
|
◆ ~SMESHGUI_Selection()
| SMESHGUI_Selection::~SMESHGUI_Selection |
( |
| ) |
|
|
virtual |
◆ canBreakLink()
| bool SMESHGUI_Selection::canBreakLink |
( |
int |
ind | ) |
const |
|
virtual |
◆ controlMode() [1/2]
| QString SMESHGUI_Selection::controlMode |
( |
| ) |
const |
|
virtual |
◆ controlMode() [2/2]
| QString SMESHGUI_Selection::controlMode |
( |
int |
ind | ) |
const |
|
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::eCustomControl, SMESH_Actor::eDeflection2D, 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::eScaledJacobian, SMESH_Actor::eSkew, SMESH_Actor::eTaper, SMESH_Actor::eVolume3D, SMESH_Actor::eWarping, SMESH_Actor::eWarping3D, getActor(), and SMESH_Actor::GetControlMode().
◆ dim()
| 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 SMESH::_PTR(), SMESH::BALL, dim(), SMESH::EDGE, SMESH::ELEM0D, SMESH::FACE, myTypes, SMESH::SObjectToObject(), and SMESH::VOLUME.
Referenced by dim(), isPreComputable(), and parameter().
◆ displayMode()
| QString SMESHGUI_Selection::displayMode |
( |
int |
ind | ) |
const |
|
virtual |
◆ elemTypes()
| QList< QVariant > SMESHGUI_Selection::elemTypes |
( |
int |
ind, |
|
|
bool |
fromObj |
|
) |
| const |
|
virtual |
References SMESH::_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, SMESH::SObjectToObject(), and SMESH::VOLUME.
Referenced by parameter().
◆ entityMode()
| QList< QVariant > SMESHGUI_Selection::entityMode |
( |
int |
ind | ) |
const |
|
virtual |
◆ facesOrientationMode()
| QString SMESHGUI_Selection::facesOrientationMode |
( |
int |
ind | ) |
const |
|
virtual |
◆ getActor()
| 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().
◆ groupType()
| QString SMESHGUI_Selection::groupType |
( |
int |
ind | ) |
const |
|
virtual |
◆ guiState()
| int SMESHGUI_Selection::guiState |
( |
| ) |
|
|
static |
◆ hasAlgo()
| bool SMESHGUI_Selection::hasAlgo |
( |
int |
ind | ) |
const |
|
virtual |
◆ hasChildren()
| bool SMESHGUI_Selection::hasChildren |
( |
int |
ind | ) |
const |
|
virtual |
◆ hasErrors()
| bool SMESHGUI_Selection::hasErrors |
( |
int |
ind | ) |
const |
|
virtual |
◆ hasGeomReference()
| bool SMESHGUI_Selection::hasGeomReference |
( |
int |
ind | ) |
const |
|
virtual |
◆ init()
| void SMESHGUI_Selection::init |
( |
const QString & |
client, |
|
|
LightApp_SelectionMgr * |
mgr |
|
) |
| |
|
virtual |
◆ isAutoColor()
| bool SMESHGUI_Selection::isAutoColor |
( |
int |
ind | ) |
const |
|
virtual |
◆ isComputable()
| bool SMESHGUI_Selection::isComputable |
( |
int |
ind | ) |
const |
|
virtual |
◆ isContainer()
| bool SMESHGUI_Selection::isContainer |
( |
int |
ind | ) |
const |
|
virtual |
◆ isDistributionVisible()
| bool SMESHGUI_Selection::isDistributionVisible |
( |
int |
ind | ) |
const |
|
virtual |
◆ isEditableHyp()
| bool SMESHGUI_Selection::isEditableHyp |
( |
int |
ind | ) |
const |
|
virtual |
◆ isImported()
| bool SMESHGUI_Selection::isImported |
( |
const int |
ind | ) |
const |
◆ isNumFunctor()
| bool SMESHGUI_Selection::isNumFunctor |
( |
int |
ind | ) |
const |
|
virtual |
References SMESH_Actor::eArea, SMESH_Actor::eAspectRatio, SMESH_Actor::eAspectRatio3D, SMESH_Actor::eDeflection2D, SMESH_Actor::eLength, SMESH_Actor::eLength2D, SMESH_Actor::eMaxElementLength2D, SMESH_Actor::eMaxElementLength3D, SMESH_Actor::eMinimumAngle, SMESH_Actor::eMultiConnection, SMESH_Actor::eMultiConnection2D, SMESH_Actor::eScaledJacobian, SMESH_Actor::eSkew, SMESH_Actor::eTaper, SMESH_Actor::eVolume3D, SMESH_Actor::eWarping, SMESH_Actor::eWarping3D, getActor(), and SMESH_Actor::GetControlMode().
Referenced by parameter().
◆ isPreComputable()
| bool SMESHGUI_Selection::isPreComputable |
( |
int |
ind | ) |
const |
|
virtual |
◆ isQuadratic()
| bool SMESHGUI_Selection::isQuadratic |
( |
int |
ind | ) |
const |
|
virtual |
◆ isScalarBarVisible()
| bool SMESHGUI_Selection::isScalarBarVisible |
( |
int |
ind | ) |
const |
|
virtual |
◆ isVisible()
| bool SMESHGUI_Selection::isVisible |
( |
int |
ind | ) |
const |
|
virtual |
◆ labeledTypes()
| QList< QVariant > SMESHGUI_Selection::labeledTypes |
( |
int |
ind | ) |
const |
|
virtual |
◆ nbChildren()
| int SMESHGUI_Selection::nbChildren |
( |
int |
ind | ) |
const |
|
virtual |
◆ numberOfNodes()
| int SMESHGUI_Selection::numberOfNodes |
( |
int |
ind | ) |
const |
|
virtual |
◆ parameter() [1/2]
| QVariant SMESHGUI_Selection::parameter |
( |
const int |
ind, |
|
|
const QString & |
p |
|
) |
| const |
|
virtual |
References canBreakLink(), dim(), displayMode(), elemTypes(), entityMode(), facesOrientationMode(), getActor(), groupType(), guiState(), hasAlgo(), hasChildren(), hasErrors(), hasGeomReference(), isAutoColor(), isComputable(), isContainer(), isDistributionVisible(), isEditableHyp(), isImported(), isNumFunctor(), isPreComputable(), isQuadratic(), isScalarBarVisible(), labeledTypes(), myTypes, nbChildren(), numberOfNodes(), quadratic2DMode(), and shrinkMode().
◆ parameter() [2/2]
| QVariant SMESHGUI_Selection::parameter |
( |
const QString & |
p | ) |
const |
|
virtual |
◆ processOwner()
| bool SMESHGUI_Selection::processOwner |
( |
const LightApp_DataOwner * |
ow | ) |
|
|
virtual |
◆ quadratic2DMode()
| QString SMESHGUI_Selection::quadratic2DMode |
( |
int |
ind | ) |
const |
|
virtual |
◆ shrinkMode()
| QString SMESHGUI_Selection::shrinkMode |
( |
int |
ind | ) |
const |
|
virtual |
◆ type()
| int SMESHGUI_Selection::type |
( |
const QString & |
entry | ) |
|
|
static |
References SMESH::_PTR(), SMESH::ALGORITHM, SMESH::COMPONENT, SMESH::GROUP, SMESH::HYPOTHESIS, SMESH::MESH, 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 SMESHGUI_CopyMeshDlg::getErrorMsg(), init(), SMESHGUI::renameAllowed(), SMESHGUI::renameObject(), and SMESHGUI_SelectionOp::typeById().
◆ typeName()
| QString SMESHGUI_Selection::typeName |
( |
const int |
t | ) |
|
|
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().
◆ myActors
◆ myControls
| QStringList SMESHGUI_Selection::myControls |
|
private |
◆ myTypes
| QStringList SMESHGUI_Selection::myTypes |
|
private |
Referenced by dim(), elemTypes(), hasAlgo(), hasErrors(), hasGeomReference(), init(), isAutoColor(), isComputable(), isContainer(), isEditableHyp(), isPreComputable(), isVisible(), numberOfNodes(), and parameter().