#include <SMESHGUI_RevolutionDlg.h>
Enumerator |
---|
NONE_SELECT |
|
POINT_SELECT |
|
FACE_SELECT |
|
SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg |
( |
SMESHGUI * |
theModule | ) |
|
References buttonApply, buttonCancel, buttonHelp, buttonOk, CheckIsEnable(), ClickOnApply(), ClickOnHelp(), ClickOnOk(), SMESHGUI_PreviewDlg::connectPreviewControl(), COORD_MAX, COORD_MIN, DeactivateActiveDialog(), FACE_SELECT, SMESHGUI_3TypesSelector::GetButtonGroup(), SMESH::GetResourceMgr(), SMESH::GetSelector(), SMESH::GetViewWindow(), GroupAngle, GroupAngleBox, GroupArguments, GroupAxis, GroupButtons, Init(), MakeGroupsCheck, MARGIN, myHelpFileName, myMenuActions, SMESHGUI_PreviewDlg::myPreviewCheckBox, mySelectionMgr, mySelector, SMESHGUI_PreviewDlg::mySMESHGUI, onAngleTextChange(), onCloseView(), onOpenView(), onSelectVectorButton(), onSelectVectorMenu(), POINT_SELECT, RadioButton3, RadioButton4, SMESHGUI_SpinBox::RangeStepAndValidator(), reject(), SelectionIntoArgument(), SelectorWdg, SelectPointButton, SelectVectorButton, SelectVectorMenu, SMESHGUI::SetActiveDialogBox(), SetEditCurrentArgument(), SPACING, SpinBox_Angle, SpinBox_DX, SpinBox_DY, SpinBox_DZ, SpinBox_NbSteps, SpinBox_Tolerance, SpinBox_X, SpinBox_Y, SpinBox_Z, TextLabelAngle, TextLabelDX, TextLabelDY, TextLabelDZ, TextLabelNbSteps, TextLabelPoint, TextLabelTolerance, TextLabelVector, TextLabelX, TextLabelY, TextLabelZ, and SMESHGUI_PreviewDlg::toDisplaySimulation().
SMESHGUI_RevolutionDlg::~SMESHGUI_RevolutionDlg |
( |
| ) |
|
void SMESHGUI_RevolutionDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
void SMESHGUI_RevolutionDlg::CheckIsEnable |
( |
| ) |
|
|
privateslot |
bool SMESHGUI_RevolutionDlg::ClickOnApply |
( |
| ) |
|
|
privateslot |
References SMESHGUI_SelectionOp::actor(), SMESHGUI_3TypesSelector::Clear(), SMESH::EDGE, SMESH_Actor::eEdge, SMESH_Actor::eEdges, SMESH_Actor::eFaces, SMESH_Actor::eSurface, SMESH_Actor::eVolumes, SMESH::FACE, SMESHGUI_3TypesSelector::GetActor(), SMESH_Actor::GetEntityMode(), SMESHGUI_3TypesSelector::GetMesh(), SMESHGUI_3TypesSelector::GetSelected(), SMESHGUI_SpinBox::GetValue(), GroupAngle, Init(), SMESHGUI::isActiveStudyLocked(), SMESHGUI_3TypesSelector::IsAnythingSelected(), IsAxisOk(), isValid(), MakeGroupsCheck, SMESHGUI_SelectionOp::mesh(), SMESHGUI::Modified(), mySelectionMgr, SMESHGUI_PreviewDlg::mySMESHGUI, SMESH::NODE, SelectorWdg, SMESH_Actor::SetEntityMode(), SpinBox_Angle, SpinBox_DX, SpinBox_DY, SpinBox_DZ, SpinBox_NbSteps, SpinBox_Tolerance, SpinBox_X, SpinBox_Y, SpinBox_Z, SMESH::Update(), SMESH::AxisStruct::vx, SMESH::AxisStruct::vy, SMESH::AxisStruct::vz, SMESH::AxisStruct::x, SMESH::AxisStruct::y, and SMESH::AxisStruct::z.
Referenced by ClickOnOk(), and SMESHGUI_RevolutionDlg().
void SMESHGUI_RevolutionDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
void SMESHGUI_RevolutionDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
void SMESHGUI_PreviewDlg::connectPreviewControl |
( |
| ) |
|
|
protectedinherited |
void SMESHGUI_RevolutionDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
void SMESHGUI_RevolutionDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
int SMESHGUI_RevolutionDlg::GetConstructorId |
( |
| ) |
|
|
private |
void SMESHGUI_PreviewDlg::hidePreview |
( |
| ) |
|
|
inherited |
void SMESHGUI_RevolutionDlg::Init |
( |
bool |
ResetControls = true | ) |
|
|
private |
References SMESHGUI_3TypesSelector::Clear(), SMESHGUI_PreviewDlg::myPreviewCheckBox, onDisplaySimulation(), SelectorWdg, SMESHGUI_SpinBox::SetValue(), SpinBox_Angle, SpinBox_DX, SpinBox_DY, SpinBox_DZ, SpinBox_NbSteps, SpinBox_Tolerance, SpinBox_X, SpinBox_Y, and SpinBox_Z.
Referenced by ClickOnApply(), and SMESHGUI_RevolutionDlg().
bool SMESHGUI_PreviewDlg::isApplyAndClose |
( |
| ) |
const |
|
protectedvirtualinherited |
bool SMESHGUI_RevolutionDlg::IsAxisOk |
( |
| ) |
|
|
private |
bool SMESHGUI_RevolutionDlg::isValid |
( |
| ) |
|
|
private |
void SMESHGUI_RevolutionDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
void SMESHGUI_RevolutionDlg::onAngleTextChange |
( |
const QString & |
theNewText | ) |
|
|
privateslot |
void SMESHGUI_RevolutionDlg::onCloseView |
( |
| ) |
|
|
privateslot |
void SMESHGUI_RevolutionDlg::onDisplaySimulation |
( |
bool |
toDisplayPreview | ) |
|
|
protectedvirtualslot |
References SMESHGUI_3TypesSelector::GetMesh(), SMESHGUI_3TypesSelector::GetSelected(), SMESHGUI_SpinBox::GetValue(), GroupAngle, SMESHGUI_3TypesSelector::IsAnythingSelected(), IsAxisOk(), SMESHGUI_SelectionOp::mesh(), SMESHGUI_PreviewDlg::myPreviewCheckBox, SMESHGUI_PreviewDlg::mySimulation, SelectorWdg, SMESHGUI_MeshEditPreview::SetData(), SMESHGUI_MeshEditPreview::SetVisibility(), SpinBox_Angle, SpinBox_DX, SpinBox_DY, SpinBox_DZ, SpinBox_NbSteps, SpinBox_Tolerance, SpinBox_X, SpinBox_Y, SpinBox_Z, SMESH::AxisStruct::vx, SMESH::AxisStruct::vy, SMESH::AxisStruct::vz, SMESH::AxisStruct::x, SMESH::AxisStruct::y, and SMESH::AxisStruct::z.
Referenced by Init(), and SelectionIntoArgument().
void SMESHGUI_RevolutionDlg::onOpenView |
( |
| ) |
|
|
privateslot |
void SMESHGUI_RevolutionDlg::onSelectVectorButton |
( |
| ) |
|
|
privateslot |
void SMESHGUI_RevolutionDlg::onSelectVectorMenu |
( |
QAction * |
action | ) |
|
|
privateslot |
References FACE_SELECT, SMESH::GetViewWindow(), myEditCurrentArgument, myMenuActions, mySelectionMgr, SMESHGUI_PreviewDlg::mySMESHGUI, myVectorDefinition, POINT_SELECT, SelectionIntoArgument(), SMESH::SetPointRepresentation(), and SpinBox_DX.
Referenced by SMESHGUI_RevolutionDlg().
void SMESHGUI_RevolutionDlg::reject |
( |
| ) |
|
|
protectedvirtualslot |
void SMESHGUI_RevolutionDlg::SelectionIntoArgument |
( |
| ) |
|
|
privateslot |
References CheckIsEnable(), FACE_SELECT, SMESH::FindActorByEntry(), SMESH::getNormale(), SMESH_Actor::GetObject(), SMESHGUI_SpinBox::GetValue(), GroupButtons, Handle(), myEditCurrentArgument, mySelectionMgr, mySelector, myVectorDefinition, onDisplaySimulation(), POINT_SELECT, SelectPointButton, SelectVectorButton, SMESHGUI_SpinBox::SetValue(), SpinBox_DX, SpinBox_DY, SpinBox_DZ, SpinBox_X, SpinBox_Y, SpinBox_Z, SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
Referenced by onSelectVectorMenu(), SetEditCurrentArgument(), and SMESHGUI_RevolutionDlg().
void SMESHGUI_RevolutionDlg::SetEditCurrentArgument |
( |
| ) |
|
|
privateslot |
void SMESHGUI_PreviewDlg::setIsApplyAndClose |
( |
const bool |
theFlag | ) |
|
|
protectedvirtualinherited |
void SMESHGUI_PreviewDlg::showPreview |
( |
| ) |
|
|
inherited |
void SMESHGUI_PreviewDlg::toDisplaySimulation |
( |
| ) |
|
|
protectedslotinherited |
QPushButton* SMESHGUI_RevolutionDlg::buttonApply |
|
private |
QPushButton* SMESHGUI_RevolutionDlg::buttonCancel |
|
private |
QPushButton* SMESHGUI_RevolutionDlg::buttonHelp |
|
private |
QPushButton* SMESHGUI_RevolutionDlg::buttonOk |
|
private |
QButtonGroup* SMESHGUI_RevolutionDlg::GroupAngle |
|
private |
QGroupBox* SMESHGUI_RevolutionDlg::GroupAngleBox |
|
private |
QGroupBox* SMESHGUI_RevolutionDlg::GroupArguments |
|
private |
QGroupBox* SMESHGUI_RevolutionDlg::GroupButtons |
|
private |
QCheckBox* SMESHGUI_RevolutionDlg::MakeGroupsCheck |
|
private |
QWidget* SMESHGUI_RevolutionDlg::myEditCurrentArgument |
|
private |
QString SMESHGUI_RevolutionDlg::myHelpFileName |
|
private |
bool SMESHGUI_PreviewDlg::myIsApplyAndClose |
|
protectedinherited |
QMap<QAction*,int> SMESHGUI_RevolutionDlg::myMenuActions |
|
private |
QCheckBox* SMESHGUI_PreviewDlg::myPreviewCheckBox |
|
protectedinherited |
Referenced by SMESHGUI_PreviewDlg::connectPreviewControl(), SMESHGUI_ExtrusionAlongPathDlg::Init(), Init(), SMESHGUI_ExtrusionDlg::Init(), SMESHGUI_ExtrusionAlongPathDlg::onDisplaySimulation(), onDisplaySimulation(), SMESHGUI_UnionOfTrianglesDlg::onDisplaySimulation(), SMESHGUI_ExtrusionDlg::onDisplaySimulation(), SMESHGUI_ExtrusionAlongPathDlg::SMESHGUI_ExtrusionAlongPathDlg(), SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg(), and SMESHGUI_RevolutionDlg().
LightApp_SelectionMgr* SMESHGUI_RevolutionDlg::mySelectionMgr |
|
private |
SVTK_Selector* SMESHGUI_RevolutionDlg::mySelector |
|
private |
Referenced by SMESHGUI_PreviewDlg::hidePreview(), SMESHGUI_PreviewDlg::onCloseView(), SMESHGUI_ExtrusionAlongPathDlg::onDisplaySimulation(), onDisplaySimulation(), SMESHGUI_UnionOfTrianglesDlg::onDisplaySimulation(), SMESHGUI_ExtrusionDlg::onDisplaySimulation(), SMESHGUI_PreviewDlg::onOpenView(), onOpenView(), SMESHGUI_SplitVolumesDlg::showFacetByElement(), SMESHGUI_PreviewDlg::showPreview(), SMESHGUI_PreviewDlg::SMESHGUI_PreviewDlg(), SMESHGUI_SplitVolumesDlg::updateNormalPreview(), and SMESHGUI_PreviewDlg::~SMESHGUI_PreviewDlg().
SMESHGUI* SMESHGUI_PreviewDlg::mySMESHGUI |
|
protectedinherited |
Referenced by SMESHGUI_ExtrusionAlongPathDlg::ActivateThisDialog(), ActivateThisDialog(), SMESHGUI_ExtrusionDlg::ActivateThisDialog(), SMESHGUI_ExtrusionAlongPathDlg::ClickOnApply(), ClickOnApply(), SMESHGUI_ExtrusionDlg::ClickOnApply(), SMESHGUI_ExtrusionAlongPathDlg::ClickOnHelp(), ClickOnHelp(), SMESHGUI_ExtrusionDlg::ClickOnHelp(), SMESHGUI_ExtrusionAlongPathDlg::DeactivateActiveDialog(), DeactivateActiveDialog(), SMESHGUI_ExtrusionDlg::DeactivateActiveDialog(), SMESHGUI_ExtrusionAlongPathDlg::enterEvent(), enterEvent(), SMESHGUI_ExtrusionDlg::enterEvent(), SMESHGUI_PreviewDlg::onOpenView(), SMESHGUI_ExtrusionAlongPathDlg::onOpenView(), onOpenView(), SMESHGUI_ExtrusionDlg::onOpenView(), onSelectVectorMenu(), SMESHGUI_ExtrusionAlongPathDlg::onTextChange(), SMESHGUI_ExtrusionAlongPathDlg::reject(), reject(), SMESHGUI_ExtrusionDlg::reject(), SMESHGUI_ExtrusionAlongPathDlg::SetEditCurrentArgument(), SetEditCurrentArgument(), SMESHGUI_ExtrusionDlg::SetEditCurrentArgument(), SMESHGUI_ExtrusionAlongPathDlg::SMESHGUI_ExtrusionAlongPathDlg(), SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg(), SMESHGUI_PreviewDlg::SMESHGUI_PreviewDlg(), and SMESHGUI_RevolutionDlg().
int SMESHGUI_RevolutionDlg::myVectorDefinition |
|
private |
QRadioButton* SMESHGUI_RevolutionDlg::RadioButton3 |
|
private |
QRadioButton* SMESHGUI_RevolutionDlg::RadioButton4 |
|
private |
QPushButton* SMESHGUI_RevolutionDlg::SelectPointButton |
|
private |
QPushButton* SMESHGUI_RevolutionDlg::SelectVectorButton |
|
private |
QMenu* SMESHGUI_RevolutionDlg::SelectVectorMenu |
|
private |
SalomeApp_IntSpinBox* SMESHGUI_RevolutionDlg::SpinBox_NbSteps |
|
private |
QLabel* SMESHGUI_RevolutionDlg::TextLabelAngle |
|
private |
QLabel* SMESHGUI_RevolutionDlg::TextLabelDX |
|
private |
QLabel* SMESHGUI_RevolutionDlg::TextLabelDY |
|
private |
QLabel* SMESHGUI_RevolutionDlg::TextLabelDZ |
|
private |
QLabel* SMESHGUI_RevolutionDlg::TextLabelNbSteps |
|
private |
QLabel* SMESHGUI_RevolutionDlg::TextLabelPoint |
|
private |
QLabel* SMESHGUI_RevolutionDlg::TextLabelTolerance |
|
private |
QLabel* SMESHGUI_RevolutionDlg::TextLabelVector |
|
private |
QLabel* SMESHGUI_RevolutionDlg::TextLabelX |
|
private |
QLabel* SMESHGUI_RevolutionDlg::TextLabelY |
|
private |
QLabel* SMESHGUI_RevolutionDlg::TextLabelZ |
|
private |