#include <VisuGUI_DeformedShapeDlg.h>

Public Member Functions | |
| VisuGUI_DeformedShapeDlg (SalomeApp_Module *theModule) | |
| ~VisuGUI_DeformedShapeDlg () | |
| double | getFactor () |
| void | setFactor (double theFactor) |
| bool | isColored () |
| virtual void | initFromPrsObject (VISU::ColoredPrs3d_i *thePrs, bool theInit) |
| virtual int | storeToPrsObject (VISU::ColoredPrs3d_i *thePrs) |
| void | updatePrsCopy (VISU::Prs3d_i *thePrs) |
Static Public Member Functions | |
| static VISU::Prs3d_i * | CreatePrs3d (VisuGUI *theModule) |
| static void | EditPrs3d (VisuGUI *theModule, VISU::Prs3d_i *thePrs3d, Handle(SALOME_InteractiveObject)&theIO) |
Protected Slots | |
| void | accept () |
| bool | onApply () |
| void | reject () |
| void | onHelp () |
Protected Member Functions | |
| virtual QString | GetContextHelpFilePath () |
| int | isValid () |
| VisuGUI_ScalarBarPane * | GetScalarPane () |
Private Attributes | |
| SalomeApp_DoubleSpinBox * | ScalFact |
| QCheckBox * | UseMagn |
| QTabWidget * | myTabBox |
| VisuGUI_InputPane * | myInputPane |
| SalomeApp_Module * | myModule |
| SALOME::GenericObjPtr < VISU::DeformedShape_i > | myPrsCopy |
| bool | isApplyed |
| VisuGUI_DeformedShapeDlg::VisuGUI_DeformedShapeDlg | ( | SalomeApp_Module * | theModule | ) |
Constructor
References accept(), VisuGUI_ScalarBarBaseDlg.GetScalarPane(), VISU.initSpinBox(), isApplyed, myInputPane, myModule, myTabBox, onApply(), VisuGUI_Prs3dDlg.onHelp(), reject(), ScalFact, VISU.TDEFORMEDSHAPE, and UseMagn.
| VisuGUI_DeformedShapeDlg::~VisuGUI_DeformedShapeDlg | ( | ) |
| double VisuGUI_DeformedShapeDlg.getFactor | ( | ) |
References ScalFact.
| void VisuGUI_DeformedShapeDlg::setFactor | ( | double | theFactor | ) |
References ScalFact.
| bool VisuGUI_DeformedShapeDlg.isColored | ( | ) |
References UseMagn.
| void VisuGUI_DeformedShapeDlg::initFromPrsObject | ( | VISU::ColoredPrs3d_i * | thePrs, |
| bool | theInit | ||
| ) | [virtual] |
Reimplemented from VisuGUI_ScalarBarBaseDlg.
References VISU.ColoredPrs3d_i.EDoNotPublish, VisuGUI_InputPane.initFromPrsObject(), myInputPane, myPrsCopy, myTabBox, setFactor(), and UseMagn.
| int VisuGUI_DeformedShapeDlg::storeToPrsObject | ( | VISU::ColoredPrs3d_i * | thePrs | ) | [virtual] |
| VISU::Prs3d_i * VisuGUI_DeformedShapeDlg::CreatePrs3d | ( | VisuGUI * | theModule | ) | [static] |
References _PTR(), VISU.AddScalarBarPosition(), visu_cache.aFieldName, batchmode_visu_view3d.aMeshName, batchmode_visu_view3d.anEntity, batchmode_visu_view3d.aTimeStampId, VISU.CheckTimeStamp(), VISU.DeletePrs3d(), VISU.GetFreePositionOfDefaultScalarBar(), VISU.GetResourceMgr(), VISU.Storable.GetStorableMap(), Handle(), initFromPrsObject(), VISU.PublishInView(), VISU.Storable.RestoringMap2Type(), VisuGUI_DialogRunner.run(), storeToPrsObject(), VISU.TTIMESTAMP, VISU.UpdateObjBrowser(), UseMagn, and VisuGUI_DeformedShapeDlg().
| void VisuGUI_DeformedShapeDlg::EditPrs3d | ( | VisuGUI * | theModule, |
| VISU::Prs3d_i * | thePrs3d, | ||
| Handle(SALOME_InteractiveObject)& | theIO | ||
| ) | [static] |
| void VisuGUI_DeformedShapeDlg::updatePrsCopy | ( | VISU::Prs3d_i * | thePrs | ) |
| QString VisuGUI_DeformedShapeDlg::GetContextHelpFilePath | ( | ) | [protected, virtual] |
Implements VisuGUI_Prs3dDlg.
| int VisuGUI_DeformedShapeDlg::isValid | ( | ) | [protected] |
| void VisuGUI_DeformedShapeDlg::accept | ( | ) | [protected, slot] |
Called when <OK> button is clicked, validates data and closes dialog
Reimplemented from VisuGUI_ScalarBarBaseDlg.
References isValid().
| bool VisuGUI_DeformedShapeDlg::onApply | ( | ) | [protected, slot] |
References isApplyed, myPrsCopy, storeToPrsObject(), and updatePrsCopy().
| void VisuGUI_DeformedShapeDlg::reject | ( | ) | [protected, slot] |
Called when <Cancel> button is clicked, remove preview and closes dialog
Reimplemented from VisuGUI_ScalarBarBaseDlg.
References isApplyed.
| 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().
SalomeApp_DoubleSpinBox* VisuGUI_DeformedShapeDlg.ScalFact [private] |
QCheckBox* VisuGUI_DeformedShapeDlg.UseMagn [private] |
QTabWidget* VisuGUI_DeformedShapeDlg.myTabBox [private] |
bool VisuGUI_DeformedShapeDlg.isApplyed [private] |