#include <VisuGUI_CutLinesDlg.h>

Public Member Functions | |
| VisuGUI_CutLinesDlg (SalomeApp_Module *theModule) | |
| ~VisuGUI_CutLinesDlg () | |
| virtual void | initFromPrsObject (VISU::ColoredPrs3d_i *thePrs, bool theInit) |
| virtual int | storeToPrsObject (VISU::ColoredPrs3d_i *thePrs) |
| bool | isGenerateTable () |
| bool | isGenerateCurves () |
Protected Slots | |
| void | accept () |
| void | reject () |
| void | onHelp () |
Protected Member Functions | |
| virtual QString | GetContextHelpFilePath () |
| VisuGUI_ScalarBarPane * | GetScalarPane () |
Private Slots | |
| void | onPlaneSelect (int theId) |
| void | onCutSelect (int theId, bool theUpdate=true) |
| void | setBaseDefault (bool theUpdate=true) |
| void | setDefault (int all=-1) |
| void | DrawTable () |
| void | onValueChanged (int theRow, int theCol) |
| void | onPreviewCheck (bool thePreview) |
| void | onAllCurvesInvertedCheck (bool theInvert) |
| void | onRotation (double theValue) |
| void | onPlanePos (const QString &theValue) |
Private Member Functions | |
| void | createPlanes () |
| void | deletePlanes () |
| void | updateGlyphs (bool update) |
| VISU::CutPlanes::Orientation | getOrientaion (bool IsBasePlane=true) |
| void | setOrientation (const VISU::CutPlanes::Orientation orient) |
| void | setOrientation2 (const VISU::CutPlanes::Orientation orient) |
Private Attributes | |
| QButtonGroup * | mySelPlane |
| SalomeApp_DoubleSpinBox * | myRotXSpn |
| SalomeApp_DoubleSpinBox * | myRotYSpn |
| QLabel * | myRotXLbl |
| QLabel * | myRotYLbl |
| SalomeApp_DoubleSpinBox * | myPosSpn |
| QLineEdit * | myBasePlanePos |
| QCheckBox * | myCBSetDef |
| QCheckBox * | myCreateTable |
| QCheckBox * | myCurvesCheck |
| QButtonGroup * | mySelPlane2 |
| SalomeApp_DoubleSpinBox * | myNbSpn |
| SalomeApp_DoubleSpinBox * | myRotXSpn2 |
| SalomeApp_DoubleSpinBox * | myRotYSpn2 |
| QLabel * | myRotXLbl2 |
| QLabel * | myRotYLbl2 |
| SalomeApp_DoubleSpinBox * | myPosSpn2 |
| QTableWidget * | myPosTable |
| bool | hasInit |
| QDoubleValidator * | mydvalidator |
| SALOME::GenericObjPtr < VISU::CutLines_i > | myCutLines |
| QTabWidget * | myTabBox |
| VisuGUI_InputPane * | myInputPane |
| SALOME_Actor * | myPreviewActor |
| SALOME_Actor * | myPreviewActorGlyphs |
| QCheckBox * | myPreviewCheck |
| QCheckBox * | myAllCurvesInvertedCheck |
| QCheckBox * | myUseAbsoluteLengthCheck |
| SALOME::GenericObjPtr < VISU::CutLines_i > | myPrsCopy |
| VisuGUI_CutLinesDlg::VisuGUI_CutLinesDlg | ( | SalomeApp_Module * | theModule | ) |
References accept(), visu_pointmap3d.aLabels, DrawTable(), VISU.GetResourceMgr(), VisuGUI_ScalarBarBaseDlg.GetScalarPane(), hasInit, VISU.initSpinBox(), myAllCurvesInvertedCheck, myBasePlanePos, myCBSetDef, myCreateTable, myCurvesCheck, mydvalidator, myInputPane, myNbSpn, myPosSpn, myPosSpn2, myPosTable, myPreviewCheck, myRotXLbl, myRotXLbl2, myRotXSpn, myRotXSpn2, myRotYLbl, myRotYLbl2, myRotYSpn, myRotYSpn2, mySelPlane, mySelPlane2, myTabBox, myUseAbsoluteLengthCheck, NumDelegateItem.NV_Real, onAllCurvesInvertedCheck(), onCutSelect(), VisuGUI_Prs3dDlg.onHelp(), onPlanePos(), onPlaneSelect(), onPreviewCheck(), onRotation(), onValueChanged(), reject(), setBaseDefault(), setDefault(), and VISU.TCUTLINES.
| VisuGUI_CutLinesDlg::~VisuGUI_CutLinesDlg | ( | ) |
Destructor
References deletePlanes().
| void VisuGUI_CutLinesDlg::initFromPrsObject | ( | VISU::ColoredPrs3d_i * | thePrs, |
| bool | theInit | ||
| ) | [virtual] |
Reimplemented from VisuGUI_ScalarBarBaseDlg.
References createPlanes(), DrawTable(), VISU.ColoredPrs3d_i.EDoNotPublish, hasInit, VisuGUI_InputPane.initFromPrsObject(), myAllCurvesInvertedCheck, myBasePlanePos, myCBSetDef, myCutLines, myInputPane, myNbSpn, myPosSpn, myPosSpn2, myPreviewCheck, myPrsCopy, myRotXSpn, myRotXSpn2, myRotYSpn, myRotYSpn2, myTabBox, myUseAbsoluteLengthCheck, setOrientation(), and setOrientation2().
| int VisuGUI_CutLinesDlg::storeToPrsObject | ( | VISU::ColoredPrs3d_i * | thePrs | ) | [virtual] |
Implements VisuGUI_Prs3dDlg.
References VisuGUI_ScalarBarPane.check(), VisuGUI_InputPane.check(), getOrientaion(), VisuGUI_ScalarBarBaseDlg.GetScalarPane(), myAllCurvesInvertedCheck, myBasePlanePos, myCBSetDef, myInputPane, myNbSpn, myPosSpn, myPosSpn2, myPosTable, myPrsCopy, myRotXSpn, myRotXSpn2, myRotYSpn, myRotYSpn2, myUseAbsoluteLengthCheck, VisuGUI_ScalarBarPane.storeToPrsObject(), and VisuGUI_InputPane.storeToPrsObject().
| bool VisuGUI_CutLinesDlg.isGenerateTable | ( | ) |
References myCreateTable.
| bool VisuGUI_CutLinesDlg.isGenerateCurves | ( | ) |
References myCreateTable, and myCurvesCheck.
| QString VisuGUI_CutLinesDlg::GetContextHelpFilePath | ( | ) | [protected, virtual] |
Implements VisuGUI_Prs3dDlg.
| void VisuGUI_CutLinesDlg::accept | ( | ) | [protected, slot] |
Called when <OK> button is clicked, validates data and closes dialog
Reimplemented from VisuGUI_ScalarBarBaseDlg.
| void VisuGUI_CutLinesDlg::reject | ( | ) | [protected, slot] |
Called when <Cancel> button is clicked, remove preview and closes dialog
Reimplemented from VisuGUI_ScalarBarBaseDlg.
| void VisuGUI_CutLinesDlg::onPlaneSelect | ( | int | theId | ) | [private, slot] |
References DrawTable(), myRotXLbl, myRotYLbl, mySelPlane2, onCutSelect(), and setBaseDefault().
| void VisuGUI_CutLinesDlg::onCutSelect | ( | int | theId, |
| bool | theUpdate = true |
||
| ) | [private, slot] |
References visu_pointmap3d.aView, createPlanes(), deletePlanes(), myCutLines, myPreviewCheck, myRotXLbl2, and myRotYLbl2.
| void VisuGUI_CutLinesDlg::setBaseDefault | ( | bool | theUpdate = true | ) | [private, slot] |
References visu_pointmap3d.aView, createPlanes(), deletePlanes(), hasInit, myBasePlanePos, myCBSetDef, myCutLines, myPosSpn, and myPreviewCheck.
| void VisuGUI_CutLinesDlg::setDefault | ( | int | all = -1 | ) | [private, slot] |
References myCutLines, myNbSpn, and myPosTable.
| void VisuGUI_CutLinesDlg::DrawTable | ( | ) | [private, slot] |
References visu_pointmap3d.aLabels, batchmode_visu_view3d.aMin, batchmode_visu_view3d.aNbPlanes, visu_pointmap3d.aView, createPlanes(), deletePlanes(), getOrientaion(), hasInit, myCutLines, myNbSpn, myPosSpn2, myPosTable, myPreviewCheck, myRotXSpn, myRotXSpn2, myRotYSpn, myRotYSpn2, and VISU_Example_02.str.
| void VisuGUI_CutLinesDlg::onValueChanged | ( | int | theRow, |
| int | theCol | ||
| ) | [private, slot] |
References createPlanes(), deletePlanes(), myCutLines, myPosTable, and myPreviewCheck.
| void VisuGUI_CutLinesDlg::onPreviewCheck | ( | bool | thePreview | ) | [private, slot] |
References createPlanes(), and deletePlanes().
| void VisuGUI_CutLinesDlg::onAllCurvesInvertedCheck | ( | bool | theInvert | ) | [private, slot] |
Inverting all curves in the table
References myAllCurvesInvertedCheck, myCutLines, myPrsCopy, and updateGlyphs().
| void VisuGUI_CutLinesDlg::onRotation | ( | double | theValue | ) | [private, slot] |
References visu_pointmap3d.aView, createPlanes(), deletePlanes(), myCutLines, and myPreviewCheck.
| void VisuGUI_CutLinesDlg::onPlanePos | ( | const QString & | theValue | ) | [private, slot] |
References visu_pointmap3d.aView, createPlanes(), deletePlanes(), myCutLines, and myPreviewCheck.
| void VisuGUI_CutLinesDlg::createPlanes | ( | ) | [private] |
References visu_pointmap3d.aView, myCutLines, myPreviewActor, myPreviewActorGlyphs, storeToPrsObject(), and updateGlyphs().
| void VisuGUI_CutLinesDlg::deletePlanes | ( | ) | [private] |
References myPreviewActor, and myPreviewActorGlyphs.
| void VisuGUI_CutLinesDlg::updateGlyphs | ( | bool | update | ) | [private] |
References myAllCurvesInvertedCheck, myCutLines, and myPreviewActorGlyphs.
| VISU::CutPlanes::Orientation VisuGUI_CutLinesDlg::getOrientaion | ( | bool | IsBasePlane = true | ) | [private] |
References mySelPlane, mySelPlane2, VISU.XY, VISU.YZ, and VISU.ZX.
| void VisuGUI_CutLinesDlg::setOrientation | ( | const VISU::CutPlanes::Orientation | orient | ) | [private] |
References mySelPlane, onPlaneSelect(), VISU.CutPlanes.XY, VISU.CutPlanes.YZ, and VISU.CutPlanes.ZX.
| void VisuGUI_CutLinesDlg::setOrientation2 | ( | const VISU::CutPlanes::Orientation | orient | ) | [private] |
References mySelPlane2, onCutSelect(), VISU.CutPlanes.XY, VISU.CutPlanes.YZ, and VISU.CutPlanes.ZX.
| VisuGUI_ScalarBarPane * VisuGUI_ScalarBarBaseDlg::GetScalarPane | ( | ) | [protected, inherited] |
References VisuGUI_ScalarBarBaseDlg.myScalarPane.
| void VisuGUI_Prs3dDlg::onHelp | ( | ) | [protected, slot, inherited] |
Called when <Help> button is clicked, shows the corresponding help page in defined browser
References VisuGUI_Prs3dDlg.GetContextHelpFilePath().
QButtonGroup* VisuGUI_CutLinesDlg.mySelPlane [private] |
SalomeApp_DoubleSpinBox* VisuGUI_CutLinesDlg.myRotXSpn [private] |
SalomeApp_DoubleSpinBox* VisuGUI_CutLinesDlg.myRotYSpn [private] |
QLabel* VisuGUI_CutLinesDlg.myRotXLbl [private] |
QLabel* VisuGUI_CutLinesDlg.myRotYLbl [private] |
SalomeApp_DoubleSpinBox* VisuGUI_CutLinesDlg.myPosSpn [private] |
QLineEdit* VisuGUI_CutLinesDlg.myBasePlanePos [private] |
QCheckBox* VisuGUI_CutLinesDlg.myCBSetDef [private] |
QCheckBox* VisuGUI_CutLinesDlg.myCreateTable [private] |
QCheckBox* VisuGUI_CutLinesDlg.myCurvesCheck [private] |
QButtonGroup* VisuGUI_CutLinesDlg.mySelPlane2 [private] |
SalomeApp_DoubleSpinBox* VisuGUI_CutLinesDlg.myNbSpn [private] |
SalomeApp_DoubleSpinBox* VisuGUI_CutLinesDlg.myRotXSpn2 [private] |
SalomeApp_DoubleSpinBox* VisuGUI_CutLinesDlg.myRotYSpn2 [private] |
QLabel* VisuGUI_CutLinesDlg.myRotXLbl2 [private] |
QLabel* VisuGUI_CutLinesDlg.myRotYLbl2 [private] |
SalomeApp_DoubleSpinBox* VisuGUI_CutLinesDlg.myPosSpn2 [private] |
QTableWidget* VisuGUI_CutLinesDlg.myPosTable [private] |
bool VisuGUI_CutLinesDlg.hasInit [private] |
QDoubleValidator* VisuGUI_CutLinesDlg.mydvalidator [private] |
QTabWidget* VisuGUI_CutLinesDlg.myTabBox [private] |
VisuGUI_InputPane* VisuGUI_CutLinesDlg.myInputPane [private] |
SALOME_Actor* VisuGUI_CutLinesDlg.myPreviewActor [private] |
QCheckBox* VisuGUI_CutLinesDlg.myPreviewCheck [private] |
QCheckBox* VisuGUI_CutLinesDlg.myAllCurvesInvertedCheck [private] |
QCheckBox* VisuGUI_CutLinesDlg.myUseAbsoluteLengthCheck [private] |