Operation to make a mesh pass through a point. More...
#include <SMESHGUI_MakeNodeAtPointDlg.h>
Public Types | |
typedef QList< int > | IdList |
Public Member Functions | |
SMESHGUI_MakeNodeAtPointOp () | |
Constructor. More... | |
virtual | ~SMESHGUI_MakeNodeAtPointOp () |
Destructor. More... | |
virtual LightApp_Dialog * | dlg () const |
Gets dialog of this operation. More... | |
Static Public Member Functions | |
static void | extractIds (const QStringList &, IdList &, const QChar) |
Protected Types | |
enum | EntityType { Object, MeshNode, MeshElement } |
Protected Slots | |
virtual bool | onApply () |
perform it's intention action: move or create a node More... | |
virtual void | onActivateObject (int) |
Installs filter corresponding to certain object selection widget. More... | |
virtual void | onDeactivateObject (int) |
Removes filter corresponding to certain object selection widget. More... | |
virtual void | onSelectionChanged (int) |
Empty default implementation. More... | |
virtual void | onTextChanged (int, const QStringList &) |
Default implementation allowing user to edit selected ids "by hands". More... | |
virtual void | onOk () |
virtual void | onCancel () |
void | onHelp () |
Protected Member Functions | |
virtual void | startOperation () |
This enumeration is used in typeById method to distinguish objects, mesh nodes and mesh elements, because node end element ids may overlap. More... | |
virtual void | stopOperation () |
Stops operation. More... | |
virtual void | activateSelection () |
Activate Node selection. More... | |
bool | isValid (QString &) |
Check selected node id validity. More... | |
void | extractIds (const QStringList &, IdList &) const |
Find in QStringList correct node or element ids representation and append integer(id) to IdList. More... | |
virtual void | commitOperation () |
virtual void | abortOperation () |
virtual void | selectionDone () |
virtual void | initDialog () |
sets the dialog widgets to state just after operation start More... | |
virtual SUIT_SelectionFilter * | createFilter (const int) const |
Creates filter being used when certain object selection widget is active If no filter must be used, then function must return 0 if id is negative, then function must return filter for common using independently of active widget. More... | |
void | removeCustomFilters () |
Remove only filters set by this operation (they are in map myFilters ) More... | |
Selection_Mode | selectionMode () const |
Return what selection mode is set in VTK viewer. More... | |
void | setSelectionMode (const Selection_Mode) |
Set selection mode in VTK viewer. More... | |
void | highlight (const Handle(SALOME_InteractiveObject)&, const bool, const bool=true) |
Hilight object in VTK viewer. More... | |
void | addOrRemoveIndex (const Handle(SALOME_InteractiveObject)&, const TColStd_MapOfInteger &, const bool isModeShift) |
Select some nodes or elements in VTK. More... | |
SVTK_ViewWindow * | viewWindow () const |
SVTK_Selector * | selector () const |
virtual void | selected (QStringList &, SMESHGUI_Dialog::TypesList &, QStringList &) const |
Get names, types and ids of selected objects. More... | |
virtual int | typeById (const QString &, const EntityType) const |
Find type by id. More... | |
virtual QChar | idChar () const |
Char using to divide <entry> and <id> in string id representation. By default, '#'. More... | |
void | selectedIds (const int, IdList &) const |
Try to find in certain object selection widget selected node or element ids and return it. More... | |
SMESH::SMESH_Mesh_var | mesh () const |
Return selected mesh if selection mode isn't ActorSelection and only one object is selected. More... | |
SMESH_Actor * | actor () const |
Return actor according to selected mesh if selection mode isn't ActorSelection. More... | |
virtual bool | isReadyToStart () const |
virtual void | setIsApplyAndClose (const bool theFlag) |
virtual bool | isApplyAndClose () const |
virtual void | setDialogActive (const bool) |
Set according dialog active or inactive. More... | |
SMESHGUI * | getSMESHGUI () const |
bool | isStudyLocked (const bool=true) const |
Verifies whether study of operation is locked. More... | |
_PTR (Study) studyDS() const | |
virtual bool | isValid (SUIT_Operation *) const |
Verifies whether given operator is valid for this one. More... | |
Protected Attributes | |
QString | myHelpFileName |
bool | myIsApplyAndClose |
Private Slots | |
void | onSelectionDone () |
SLOT called when selection changed. More... | |
void | redisplayPreview () |
update preview More... | |
void | onTextChange (const QString &) |
SLOT called when the node id is manually changed. More... | |
void | onUpdateDestination () |
void | onDestCoordChanged () |
void | onOpenView () |
SLOT called when the viewer opened. More... | |
void | onCloseView () |
SLOT called when the viewer closed. More... | |
Private Member Functions | |
int | GetConstructorId () |
Operation to make a mesh pass through a point.
|
inherited |
|
protectedinherited |
SMESHGUI_MakeNodeAtPointOp::SMESHGUI_MakeNodeAtPointOp | ( | ) |
Constructor.
References SMESHGUI_MakeNodeAtPointDlg::myButtonGroup, myDestCoordChanged, SMESHGUI_MakeNodeAtPointDlg::myDestDX, SMESHGUI_MakeNodeAtPointDlg::myDestDY, SMESHGUI_MakeNodeAtPointDlg::myDestDZ, SMESHGUI_MakeNodeAtPointDlg::myDestinationX, SMESHGUI_MakeNodeAtPointDlg::myDestinationY, SMESHGUI_MakeNodeAtPointDlg::myDestinationZ, myDlg, myFilter, SMESHGUI_Operation::myHelpFileName, SMESHGUI_MakeNodeAtPointDlg::myId, myNoPreview, SMESHGUI_MakeNodeAtPointDlg::myPreviewChkBox, mySimulation, mySMESHGUI, SMESHGUI_MakeNodeAtPointDlg::myUpdateBtn, myUpdateDestination, onDestCoordChanged(), onTextChange(), onUpdateDestination(), and redisplayPreview().
|
virtual |
Destructor.
References myDlg, myFilter, and mySimulation.
|
protectedinherited |
Referenced by SMESHGUI_ShapeByMeshOp::commitOperation(), SMESHGUI_Make2DFrom3DOp::compute2DMesh(), SMESHGUI_BaseComputeOp::computeMesh(), SMESHGUI_ConvToQuadOp::ConnectRadioButtons(), SMESHGUI_BaseComputeOp::evaluateMesh(), SMESHGUI_PrecomputeOp::getAssignedAlgos(), SMESHGUI_PrecomputeOp::initDialog(), SMESHGUI_ReorientFacesOp::isValid(), SMESHGUI_Make2DFrom3DOp::isValid(), SMESHGUI_ConvToQuadOp::onApply(), SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_SplitBiQuadOp::onApply(), SMESHGUI_BaseComputeOp::onGroupOfBadMesh(), SMESHGUI_PrecomputeOp::onPreview(), SMESHGUI_FindElemByPointOp::onSelectionDone(), SMESHGUI_SelectionOp::selected(), SMESHGUI_GroupOnShapeOp::selectionDone(), SMESHGUI_ConvToQuadOp::selectionDone(), SMESHGUI_Add0DElemsOnAllNodesOp::selectionDone(), SMESHGUI_Make2DFrom3DOp::selectionDone(), SMESHGUI_ShapeByMeshOp::SetMesh(), and SMESHGUI_SelectionOp::typeById().
|
protectedvirtualinherited |
|
protectedvirtual |
Activate Node selection.
References myFilter, SMESH::SetPointRepresentation(), and SMESHGUI_SelectionOp::setSelectionMode().
|
protectedinherited |
Return actor according to selected mesh if selection mode isn't ActorSelection.
References SMESH::FindActorByObject(), and SMESHGUI_SelectionOp::mesh().
Referenced by SMESHGUI_RevolutionDlg::ClickOnApply(), SMESHGUI_Make2DFrom3DOp::compute2DMesh(), SMESHGUI_ShapeByMeshOp::onElemIdChanged(), and SMESHGUI_SelectionOp::onTextChanged().
|
protectedinherited |
Select some nodes or elements in VTK.
References SMESHGUI_SelectionOp::selector().
Referenced by SMESHGUI_FindElemByPointOp::onElemSelected(), and SMESHGUI_ReorientFacesOp::onTextChange().
|
protectedvirtualinherited |
Reimplemented in SMESHGUI_ShapeByMeshOp, and SMESHGUI_MeshOp.
References SMESHGUI_SelectionOp::myOldSelectionMode, SMESHGUI_SelectionOp::removeCustomFilters(), and SMESHGUI_SelectionOp::setSelectionMode().
Referenced by SMESHGUI_MeshOp::commitOperation(), and SMESHGUI_ShapeByMeshOp::commitOperation().
|
protectedvirtualinherited |
Creates filter being used when certain object selection widget is active If no filter must be used, then function must return 0 if id is negative, then function must return filter for common using independently of active widget.
Reimplemented in SMESHGUI_Make2DFrom3DOp, SMESHGUI_Add0DElemsOnAllNodesOp, SMESHGUI_MeshOp, SMESHGUI_SplitBiQuadOp, SMESHGUI_ConvToQuadOp, SMESHGUI_GroupOnShapeOp, and SMESHGUI_ReorientFacesOp.
Referenced by SMESHGUI_SelectionOp::onActivateObject().
|
virtual |
|
staticinherited |
|
protectedinherited |
Find in QStringList correct node or element ids representation and append integer(id) to IdList.
References SMESHGUI_SelectionOp::extractIds(), and SMESHGUI_SelectionOp::idChar().
|
private |
References SMESHGUI_MakeNodeAtPointDlg::myButtonGroup, and myDlg.
Referenced by redisplayPreview(), and startOperation().
|
protectedinherited |
Referenced by SMESHGUI_BaseComputeOp::computeMesh(), SMESHGUI_BaseComputeOp::evaluateMesh(), SMESHGUI_Operation::isReadyToStart(), SMESHGUI_MeshOp::onGeomSelectionByMesh(), SMESHGUI_BaseComputeOp::onGroupOfBadMesh(), SMESHGUI_Operation::onHelp(), SMESHGUI_PrecomputeOp::onPreview(), SMESHGUI_BaseComputeOp::onPublishShape(), SMESHGUI_Add0DElemsOnAllNodesOp::onSetFilter(), SMESHGUI_BaseComputeOp::onShowBadMesh(), SMESHGUI_FindElemByPointOp::startOperation(), startOperation(), and SMESHGUI_SelectionOp::viewWindow().
|
protectedinherited |
Hilight object in VTK viewer.
References SMESHGUI_SelectionOp::viewWindow().
Referenced by SMESHGUI_ReorientFacesOp::onTextChange(), and SMESHGUI_SelectionOp::onTextChanged().
|
protectedvirtualinherited |
Char using to divide <entry> and <id> in string id representation. By default, '#'.
Referenced by SMESHGUI_SelectionOp::extractIds(), SMESHGUI_SelectionOp::selected(), and SMESHGUI_SelectionOp::typeById().
|
protectedvirtualinherited |
sets the dialog widgets to state just after operation start
Reimplemented from SMESHGUI_Operation.
|
protectedvirtualinherited |
References SMESHGUI_Operation::myIsApplyAndClose.
Referenced by SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_MeshOp::onApply(), and SMESHGUI_Make2DFrom3DOp::onApply().
|
protectedvirtualinherited |
References SMESHGUI_Operation::getSMESHGUI(), and SMESHGUI_Operation::isStudyLocked().
Verifies whether study of operation is locked.
theMess | - specifies whether message box must be shown if study is locked |
Verifies whether study of operation is locked. If second parameter is TRUE and study is locked when corresponding message box appears
References SMESHGUI::desktop(), and studyDS().
Referenced by SMESHGUI_Operation::isReadyToStart(), SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_ReorientFacesOp::onApply(), onApply(), SMESHGUI_MeshOp::onApply(), and SMESHGUI_Make2DFrom3DOp::onApply().
|
protected |
Check selected node id validity.
References SMESH_Actor::GetObject(), SMESHGUI_MakeNodeAtPointDlg::myDestinationX, SMESHGUI_MakeNodeAtPointDlg::myDestinationY, SMESHGUI_MakeNodeAtPointDlg::myDestinationZ, myDlg, SMESHGUI_MakeNodeAtPointDlg::myId, myMeshActor, myNoPreview, and SMESHGUI_MakeNodeAtPointDlg::myRButNodeToMove.
Referenced by onApply(), and redisplayPreview().
|
protectedvirtualinherited |
Verifies whether given operator is valid for this one.
theOtherOp | - other operation |
Virtual method redefined from base class verifies whether given operator is valid for this one (i.e. can be started "above" this operator). In current implementation method returns false if theOtherOp operation is not intended for deleting objects or mesh elements.
Reimplemented in SMESHGUI_BaseComputeOp, and SMESHGUI_MeshOp.
Referenced by SMESHGUI_MeshOp::isValid().
|
protectedinherited |
Return selected mesh if selection mode isn't ActorSelection and only one object is selected.
References SMESH::GetMeshByIO(), and SMESHGUI_SelectionOp::selectionMode().
Referenced by SMESHGUI_SelectionOp::actor(), SMESHGUI_RevolutionDlg::ClickOnApply(), SMESHGUI_ConvToQuadOp::ConnectRadioButtons(), SMESHGUI_MeshOp::isSubshapeOk(), SMESHGUI_ConvToQuadOp::onApply(), SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_SplitBiQuadOp::onApply(), SMESHGUI_Add0DElemsOnAllNodesOp::onApply(), SMESHGUI_RevolutionDlg::onDisplaySimulation(), SMESHGUI_Add0DElemsOnAllNodesOp::onSetFilter(), SMESHGUI_ConvToQuadOp::selectionDone(), SMESHGUI_MeshOp::selectionDone(), SMESHGUI_Add0DElemsOnAllNodesOp::selectionDone(), SMESHGUI_SelectionOp::typeById(), and SMESHGUI_Add0DElemsOnAllNodesOp::updateButtons().
|
protectedvirtualslotinherited |
Installs filter corresponding to certain object selection widget.
References SMESHGUI_SelectionOp::createFilter(), SMESHGUI_SelectionOp::myFilters, and SMESHGUI_SelectionOp::selectionDone().
Referenced by SMESHGUI_MeshOp::checkSubMeshConcurrency(), SMESHGUI_GroupOnShapeOp::init(), SMESHGUI_ReorientFacesOp::onActivateObject(), SMESHGUI_GroupOnShapeOp::onButtonClick(), SMESHGUI_MeshOp::onHypoCreated(), SMESHGUI_MeshOp::onHypoEdited(), and SMESHGUI_SelectionOp::startOperation().
|
protectedvirtualslot |
perform it's intention action: move or create a node
References SMESHGUI::desktop(), dlg(), SMESH::GetMeshByIO(), SMESHGUI_SpinBox::GetValue(), SMESHGUI_Operation::isStudyLocked(), isValid(), SMESHGUI::Modified(), SMESHGUI_MakeNodeAtPointDlg::myCurrentX, SMESHGUI_MakeNodeAtPointDlg::myCurrentY, SMESHGUI_MakeNodeAtPointDlg::myCurrentZ, SMESHGUI_MakeNodeAtPointDlg::myDestDX, SMESHGUI_MakeNodeAtPointDlg::myDestDY, SMESHGUI_MakeNodeAtPointDlg::myDestDZ, SMESHGUI_MakeNodeAtPointDlg::myDestinationX, SMESHGUI_MakeNodeAtPointDlg::myDestinationY, SMESHGUI_MakeNodeAtPointDlg::myDestinationZ, myDlg, SMESHGUI_MakeNodeAtPointDlg::myId, myMeshActor, SMESHGUI_SpinBox::SetValue(), and SMESH::UpdateView().
|
protectedvirtualslotinherited |
|
privateslot |
SLOT called when the viewer closed.
References mySimulation.
Referenced by startOperation(), and stopOperation().
|
protectedvirtualslotinherited |
Removes filter corresponding to certain object selection widget.
References SMESHGUI_SelectionOp::removeCustomFilters().
Referenced by SMESHGUI_SelectionOp::startOperation().
|
privateslot |
References myDestCoordChanged, and redisplayPreview().
Referenced by SMESHGUI_MakeNodeAtPointOp().
|
protectedslotinherited |
References SMESHGUI_Operation::getSMESHGUI(), and SMESHGUI_Operation::myHelpFileName.
Referenced by SMESHGUI_Operation::startOperation(), and SMESHGUI_PrecomputeOp::startOperation().
|
protectedvirtualslotinherited |
References SMESHGUI_Operation::onApply(), and SMESHGUI_Operation::setIsApplyAndClose().
Referenced by SMESHGUI_Operation::startOperation(), and SMESHGUI_PrecomputeOp::startOperation().
|
privateslot |
SLOT called when the viewer opened.
References SMESH::GetViewWindow(), mySimulation, mySMESHGUI, SMESH::SetPointRepresentation(), and SMESHGUI_MeshEditPreview::SetVisibility().
Referenced by startOperation(), and stopOperation().
|
protectedvirtualslotinherited |
Empty default implementation.
In successors it may be used for more advanced selection checking. This slot is connected to signal when the selection changed in some object selection widget
Referenced by SMESHGUI_SelectionOp::startOperation().
|
privateslot |
SLOT called when selection changed.
References SMESH::FindActorByEntry(), SMESH::GetNameOfSelectedElements(), SMESH_Actor::GetObject(), SMESHGUI_SpinBox::GetValue(), Handle(), SMESHGUI_MakeNodeAtPointDlg::myCurrentX, SMESHGUI_MakeNodeAtPointDlg::myCurrentY, SMESHGUI_MakeNodeAtPointDlg::myCurrentZ, SMESHGUI_MakeNodeAtPointDlg::myDestBtn, SMESHGUI_MakeNodeAtPointDlg::myDestDX, SMESHGUI_MakeNodeAtPointDlg::myDestDY, SMESHGUI_MakeNodeAtPointDlg::myDestDZ, SMESHGUI_MakeNodeAtPointDlg::myDestinationX, SMESHGUI_MakeNodeAtPointDlg::myDestinationY, SMESHGUI_MakeNodeAtPointDlg::myDestinationZ, myDlg, SMESHGUI_MakeNodeAtPointDlg::myId, SMESHGUI_MakeNodeAtPointDlg::myIdBtn, myMeshActor, SMESHGUI_MakeNodeAtPointDlg::myNodeToMoveGrp, myNoPreview, redisplayPreview(), SMESHGUI_SelectionOp::selector(), and SMESHGUI_SpinBox::SetValue().
Referenced by redisplayPreview(), and startOperation().
|
privateslot |
SLOT called when the node id is manually changed.
References SMESH_Actor::GetObject(), SMESHGUI::GetSMESHGUI(), SMESH::GetViewWindow(), Handle(), myMeshActor, and SMESHGUI_SelectionOp::selector().
Referenced by SMESHGUI_MakeNodeAtPointOp().
|
protectedvirtualslotinherited |
Default implementation allowing user to edit selected ids "by hands".
In order to run default mechanism, you must set for some object selection widget the "name indication" to "ListOfNames", "read only" state to false and connect the dialog's signal "objectChanged" to this slot Warning: this mechanism can process only integer ids, NOT MESH OR GROUP NAMES!!!
References SMESHGUI_SelectionOp::actor(), SMESHGUI_SelectionOp::extractIds(), SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), SMESH_Actor::GetObject(), SMESHGUI_SelectionOp::highlight(), SMESHGUI_SelectionOp::selected(), SMESHGUI_SelectionOp::selectionMode(), and SMESHGUI_SelectionOp::selector().
Referenced by SMESHGUI_Add0DElemsOnAllNodesOp::onTextChanged().
|
privateslot |
References myUpdateDestination, and redisplayPreview().
Referenced by SMESHGUI_MakeNodeAtPointOp().
|
privateslot |
update preview
References GetConstructorId(), SMESH::GetMeshByIO(), SMESHGUI_SpinBox::GetValue(), SMESH::GetViewWindow(), isValid(), SMESHGUI_MakeNodeAtPointDlg::myCurrentX, SMESHGUI_MakeNodeAtPointDlg::myCurrentY, SMESHGUI_MakeNodeAtPointDlg::myCurrentZ, myDestCoordChanged, SMESHGUI_MakeNodeAtPointDlg::myDestDX, SMESHGUI_MakeNodeAtPointDlg::myDestDY, SMESHGUI_MakeNodeAtPointDlg::myDestDZ, SMESHGUI_MakeNodeAtPointDlg::myDestinationX, SMESHGUI_MakeNodeAtPointDlg::myDestinationY, SMESHGUI_MakeNodeAtPointDlg::myDestinationZ, myDlg, SMESHGUI_MakeNodeAtPointDlg::myId, myMeshActor, myNoPreview, SMESHGUI_MakeNodeAtPointDlg::myPreviewChkBox, SMESHGUI_MakeNodeAtPointDlg::myRButMoveWithoutNode, mySimulation, mySMESHGUI, myUpdateDestination, SMESH::NODE, onSelectionDone(), SMESHGUI_MeshEditPreview::SetData(), SMESHGUI_SpinBox::SetValue(), and SMESHGUI_MeshEditPreview::SetVisibility().
Referenced by onDestCoordChanged(), onSelectionDone(), onUpdateDestination(), and SMESHGUI_MakeNodeAtPointOp().
|
protectedinherited |
Remove only filters set by this operation (they are in map myFilters )
References SMESHGUI_SelectionOp::myFilters.
Referenced by SMESHGUI_SelectionOp::abortOperation(), SMESHGUI_SelectionOp::commitOperation(), SMESHGUI_MeshOp::createHypothesis(), SMESHGUI_GroupOnShapeOp::init(), SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_GroupOnShapeOp::onButtonClick(), SMESHGUI_SelectionOp::onDeactivateObject(), SMESHGUI_MeshOp::onEditHyp(), and SMESHGUI_SelectionOp::~SMESHGUI_SelectionOp().
|
protectedvirtualinherited |
Get names, types and ids of selected objects.
References SMESHGUI_Operation::_PTR(), SMESHGUI_SelectionOp::idChar(), SMESHGUI_SelectionOp::MeshElement, SMESHGUI_SelectionOp::MeshNode, SMESHGUI_SelectionOp::Object, SMESHGUI_SelectionOp::selectionMode(), SObject(), and SMESHGUI_SelectionOp::typeById().
Referenced by SMESHGUI_SelectionOp::onTextChanged(), SMESHGUI_MinDistance::selectionChanged(), SMESHGUI_BoundingBox::selectionChanged(), SMESHGUI_BasicProperties::selectionChanged(), SMESHGUI_GroupOnShapeOp::selectionDone(), SMESHGUI_SelectionOp::selectionDone(), and SMESHGUI_Make2DFrom3DOp::selectionDone().
Try to find in certain object selection widget selected node or element ids and return it.
References SMESHGUI_SelectionOp::extractIds().
|
protectedvirtualinherited |
Reimplemented in SMESHGUI_Make2DFrom3DOp, SMESHGUI_Add0DElemsOnAllNodesOp, SMESHGUI_MeshOp, SMESHGUI_ReorientFacesOp, SMESHGUI_ConvToQuadOp, and SMESHGUI_GroupOnShapeOp.
References SMESHGUI_SelectionOp::selected(), and SMESHGUI_SelectionOp::selectionMode().
Referenced by SMESHGUI_SelectionOp::onActivateObject(), SMESHGUI_SplitBiQuadOp::onApply(), SMESHGUI_ConvToQuadOp::selectionDone(), SMESHGUI_ReorientFacesOp::selectionDone(), SMESHGUI_MeshOp::selectionDone(), SMESHGUI_Add0DElemsOnAllNodesOp::selectionDone(), and SMESHGUI_SplitBiQuadOp::startOperation().
|
protectedinherited |
Return what selection mode is set in VTK viewer.
References SMESHGUI_SelectionOp::viewWindow().
Referenced by SMESHGUI_ShapeByMeshOp::activateSelection(), SMESHGUI_SelectionOp::mesh(), SMESHGUI_FindElemByPointOp::onElemSelected(), SMESHGUI_FindElemByPointOp::onElemTypeChange(), SMESHGUI_SelectionOp::onTextChanged(), SMESHGUI_SelectionOp::selected(), SMESHGUI_SelectionOp::selectionDone(), and SMESHGUI_SelectionOp::startOperation().
|
protectedinherited |
References SMESHGUI_SelectionOp::viewWindow().
Referenced by SMESHGUI_SelectionOp::addOrRemoveIndex(), SMESHGUI_MinDistance::firstEdited(), SMESHGUI_Add0DElemsOnAllNodesOp::onApply(), SMESHGUI_ShapeByMeshOp::onElemIdChanged(), onSelectionDone(), SMESHGUI_ShapeByMeshOp::onSelectionDone(), onTextChange(), SMESHGUI_SelectionOp::onTextChanged(), SMESHGUI_MinDistance::secondEdited(), SMESHGUI_MinDistance::selectionChanged(), SMESHGUI_BoundingBox::selectionChanged(), SMESHGUI_ReorientFacesOp::selectionDone(), SMESHGUI_Add0DElemsOnAllNodesOp::selectionDone(), and SMESHGUI_BoundingBox::sourceEdited().
|
protectedvirtualinherited |
Set according dialog active or inactive.
References MESHCUT::d, and SMESHGUI_Dialog::setContentActive().
|
protectedvirtualinherited |
References SMESHGUI_Operation::myIsApplyAndClose.
Referenced by SMESHGUI_Operation::onOk().
|
protectedinherited |
Set selection mode in VTK viewer.
References SMESHGUI_SelectionOp::viewWindow().
Referenced by SMESHGUI_SelectionOp::abortOperation(), activateSelection(), SMESHGUI_ShapeByMeshOp::activateSelection(), SMESHGUI_SelectionOp::commitOperation(), SMESHGUI_ReorientFacesOp::onActivateObject(), SMESHGUI_FindElemByPointOp::onElemSelected(), SMESHGUI_FindElemByPointOp::onElemTypeChange(), SMESHGUI_Add0DElemsOnAllNodesOp::onSelTypeChange(), and SMESHGUI_SelectionOp::startOperation().
|
protectedvirtual |
This enumeration is used in typeById method to distinguish objects, mesh nodes and mesh elements, because node end element ids may overlap.
Reimplemented from SMESHGUI_SelectionOp.
References SMESHGUI_MakeNodeAtPointDlg::ConstructorsClicked(), SMESHGUI_MeshEditPreview::GetActor(), GetConstructorId(), SMESH::GetFloat(), SMESHGUI_Operation::getSMESHGUI(), SMESH::GetViewWindow(), SMESH_LogicalFilter::LO_OR, SMESHGUI_MakeNodeAtPointDlg::myCurrentX, SMESHGUI_MakeNodeAtPointDlg::myCurrentY, SMESHGUI_MakeNodeAtPointDlg::myCurrentZ, SMESHGUI_MakeNodeAtPointDlg::myDestDX, SMESHGUI_MakeNodeAtPointDlg::myDestDY, SMESHGUI_MakeNodeAtPointDlg::myDestDZ, SMESHGUI_MakeNodeAtPointDlg::myDestinationX, SMESHGUI_MakeNodeAtPointDlg::myDestinationY, SMESHGUI_MakeNodeAtPointDlg::myDestinationZ, myDlg, myFilter, SMESHGUI_MakeNodeAtPointDlg::myId, myMeshActor, myNoPreview, SMESHGUI_MakeNodeAtPointDlg::myRButNodeToMove, mySimulation, mySMESHGUI, onCloseView(), onOpenView(), onSelectionDone(), SMESHGUI_SpinBox::SetValue(), SMESHGUI_Dialog::show(), and SMESHGUI_SelectionOp::startOperation().
|
protectedvirtual |
Stops operation.
References myFilter, myMeshActor, myNoPreview, mySimulation, mySMESHGUI, onCloseView(), onOpenView(), SMESH::RepaintCurrentView(), SMESH::SetPointRepresentation(), and SMESHGUI_MeshEditPreview::SetVisibility().
|
protectedvirtualinherited |
Find type by id.
References SMESHGUI_Operation::_PTR(), SMESHGUI_SelectionOp::idChar(), SMESHGUI_SelectionOp::mesh(), SMESHGUI_SelectionOp::MeshElement, SMESHGUI_SelectionOp::Object, SMESHGUI_Dialog::prefix(), SObject(), and SMESHGUI_Selection::type().
Referenced by SMESHGUI_SelectionOp::selected().
|
protectedinherited |
References SMESHGUI_Operation::getSMESHGUI(), and SMESH::GetViewWindow().
Referenced by SMESHGUI_SelectionOp::highlight(), SMESHGUI_ConvToQuadOp::onApply(), SMESHGUI_ShapeByMeshOp::onElemIdChanged(), SMESHGUI_SelectionOp::selectionMode(), SMESHGUI_SelectionOp::selector(), and SMESHGUI_SelectionOp::setSelectionMode().
|
private |
Referenced by onDestCoordChanged(), redisplayPreview(), and SMESHGUI_MakeNodeAtPointOp().
|
private |
|
private |
Referenced by activateSelection(), SMESHGUI_MakeNodeAtPointOp(), startOperation(), stopOperation(), and ~SMESHGUI_MakeNodeAtPointOp().
|
protectedinherited |
Referenced by SMESHGUI_PrecomputeOp::onCompute(), SMESHGUI_Operation::onHelp(), SMESHGUI_Add0DElemsOnAllNodesOp::SMESHGUI_Add0DElemsOnAllNodesOp(), SMESHGUI_BaseComputeOp::SMESHGUI_BaseComputeOp(), SMESHGUI_ComputeOp::SMESHGUI_ComputeOp(), SMESHGUI_EvaluateOp::SMESHGUI_EvaluateOp(), SMESHGUI_FindElemByPointOp::SMESHGUI_FindElemByPointOp(), SMESHGUI_GroupOnShapeOp::SMESHGUI_GroupOnShapeOp(), SMESHGUI_MakeNodeAtPointOp(), SMESHGUI_MeshOrderOp::SMESHGUI_MeshOrderOp(), SMESHGUI_Operation::SMESHGUI_Operation(), SMESHGUI_ReorientFacesOp::SMESHGUI_ReorientFacesOp(), SMESHGUI_ConvToQuadOp::startOperation(), SMESHGUI_SplitBiQuadOp::startOperation(), SMESHGUI_MeshOp::startOperation(), SMESHGUI_Make2DFrom3DOp::startOperation(), and SMESHGUI_PrecomputeOp::startOperation().
|
protectedinherited |
Referenced by SMESHGUI_Operation::isApplyAndClose(), and SMESHGUI_Operation::setIsApplyAndClose().
|
private |
Referenced by isValid(), onApply(), onSelectionDone(), onTextChange(), redisplayPreview(), startOperation(), and stopOperation().
|
private |
|
private |
Referenced by isValid(), onSelectionDone(), redisplayPreview(), SMESHGUI_MakeNodeAtPointOp(), startOperation(), and stopOperation().
|
private |
|
private |
Referenced by onOpenView(), redisplayPreview(), SMESHGUI_MakeNodeAtPointOp(), startOperation(), and stopOperation().
|
private |
Referenced by onUpdateDestination(), redisplayPreview(), and SMESHGUI_MakeNodeAtPointOp().