#include <VisuGUI_StreamLinesDlg.h>

Public Member Functions | |
| VisuGUI_StreamLinesDlg (SalomeApp_Module *theModule) | |
| ~VisuGUI_StreamLinesDlg () | |
| virtual void | initFromPrsObject (VISU::ColoredPrs3d_i *thePrs, bool theInit) |
| virtual int | storeToPrsObject (VISU::ColoredPrs3d_i *thePrs) |
| void | setColor (QColor color) |
| void | enableMagnColor (bool enable) |
Protected Slots | |
| void | accept () |
| void | reject () |
| void | onHelp () |
Protected Member Functions | |
| virtual QString | GetContextHelpFilePath () |
| void | storeToPrsCopy () |
| VisuGUI_ScalarBarPane * | GetScalarPane () |
Private Slots | |
| void | StepLengthChanged (double theValue) |
| void | IntegrationStepChanged (double theValue) |
| void | PropagationTimeChanged (double theValue) |
| void | onSourceTypeChange (int theIndex) |
| void | enableSetColor () |
Private Member Functions | |
| VISU::Mesh_ptr | createMesh (VISU::VISUType theType, QString theName) |
| _PTR (SObject) mySelectionObj | |
Private Attributes | |
| SalomeApp_DoubleSpinBox * | myStepLen |
| SalomeApp_DoubleSpinBox * | myIntegStepLen |
| SalomeApp_DoubleSpinBox * | myPropTime |
| QComboBox * | myDirCombo |
| QCheckBox * | myUseScalar |
| QtxColorButton * | SelColor |
| QComboBox * | myUseSrcCombo |
| SalomeApp_DoubleSpinBox * | myPntPercent |
| QComboBox * | mySrcCombo |
| QTabWidget * | myTabBox |
| VisuGUI_InputPane * | myInputPane |
| QList< VISU::Prs3d_var > | myPrsList |
| QList< VISU::Prs3d_var > | myEntityList |
| QList< VISU::Prs3d_var > | myFamilyList |
| QList< VISU::Prs3d_var > | myGroupList |
| QStringList | myEntitiesLst |
| QStringList | myFamilisLst |
| QStringList | myGroupsLst |
| QStringList | myPrsLst |
| SALOME::GenericObjPtr < VISU::StreamLines_i > | myPrsCopy |
| SalomeApp_Module * | myVisuGUI |
| bool | myStatus |
| VisuGUI_StreamLinesDlg::VisuGUI_StreamLinesDlg | ( | SalomeApp_Module * | theModule | ) |
References _PTR(), accept(), batchmode_visu_table.aName, VISU.ClientSObjectToObject(), enableSetColor(), VISU.GetAppStudy(), VisuGUI_ScalarBarBaseDlg.GetScalarPane(), VISU.GetSelectionMgr(), Handle(), VISU.initSpinBox(), IntegrationStepChanged(), myDirCombo, myEntitiesLst, myEntityList, myFamilisLst, myFamilyList, myGroupList, myGroupsLst, myInputPane, myIntegStepLen, myPntPercent, myPropTime, myPrsList, myPrsLst, mySrcCombo, myStepLen, myTabBox, myUseScalar, myUseSrcCombo, myVisuGUI, VisuGUI_Prs3dDlg.onHelp(), onSourceTypeChange(), PropagationTimeChanged(), reject(), SelColor, VISU.Storable.SObject2Type(), StepLengthChanged(), VISU.TANIMATION, VISU.TENTITY, VISU.TFAMILY, VISU.TFIELD, VISU.TGROUP, VISU.TMESH, VISU.TSTREAMLINES, and VISU.TTIMESTAMP.
| VisuGUI_StreamLinesDlg::~VisuGUI_StreamLinesDlg | ( | ) |
| void VisuGUI_StreamLinesDlg::initFromPrsObject | ( | VISU::ColoredPrs3d_i * | thePrs, |
| bool | theInit | ||
| ) | [virtual] |
Reimplemented from VisuGUI_ScalarBarBaseDlg.
References batchmode_visu_view3d.aColor, batchmode_visu_view3d.aMax, batchmode_visu_view3d.aMin, VISU.StreamLines.BACKWARD, VISU.StreamLines.BOTH, VISU.ColoredPrs3d_i.EDoNotPublish, enableSetColor(), VISU.StreamLines.FORWARD, VISU_StreamLinesPL.GetIntegrationStep(), VISU_StreamLinesPL.GetMaxIntegrationStep(), VISU_StreamLinesPL.GetMaxPropagationTime(), VISU_StreamLinesPL.GetMaxStepLength(), VISU_StreamLinesPL.GetMinIntegrationStep(), VISU_StreamLinesPL.GetMinPropagationTime(), VISU_StreamLinesPL.GetMinStepLength(), VISU_StreamLinesPL.GetPropagationTime(), VISU_StreamLinesPL.GetStepLength(), VisuGUI_InputPane.initFromPrsObject(), INITPRS, myDirCombo, myEntityList, myFamilyList, myGroupList, myInputPane, myIntegStepLen, myPntPercent, myPropTime, myPrsCopy, myPrsList, mySrcCombo, myStepLen, myTabBox, myUseScalar, and setColor().
| int VisuGUI_StreamLinesDlg::storeToPrsObject | ( | VISU::ColoredPrs3d_i * | thePrs | ) | [virtual] |
Implements VisuGUI_Prs3dDlg.
| void VisuGUI_StreamLinesDlg::setColor | ( | QColor | color | ) |
Sets color
References SelColor.
| void VisuGUI_StreamLinesDlg::enableMagnColor | ( | bool | enable | ) |
Called when "Select Color" buttonx clicked
Enbled/disables magnitude coloring
References enableSetColor(), and myUseScalar.
| QString VisuGUI_StreamLinesDlg::GetContextHelpFilePath | ( | ) | [protected, virtual] |
Implements VisuGUI_Prs3dDlg.
| void VisuGUI_StreamLinesDlg::storeToPrsCopy | ( | ) | [protected] |
References batchmode_visu_view3d.aColor, batchmode_visu_table.aName, visu_apply_properties.aPrs, VISU.StreamLines.BACKWARD, VISU.StreamLines.BOTH, VisuGUI_ScalarBarPane.check(), VisuGUI_InputPane.check(), createMesh(), VISU.StreamLines.FORWARD, VisuGUI_ScalarBarBaseDlg.GetScalarPane(), myDirCombo, myEntitiesLst, myEntityList, myFamilisLst, myFamilyList, myGroupList, myGroupsLst, myInputPane, myIntegStepLen, myPntPercent, myPropTime, myPrsCopy, myPrsList, mySrcCombo, myStatus, myStepLen, myUseScalar, myUseSrcCombo, SelColor, VisuGUI_ScalarBarPane.storeToPrsObject(), VisuGUI_InputPane.storeToPrsObject(), VISU.TENTITY, VISU.TFAMILY, and VISU.TGROUP.
| void VisuGUI_StreamLinesDlg::accept | ( | ) | [protected, slot] |
Called when <OK> button is clicked, validates data and closes dialog
Reimplemented from VisuGUI_ScalarBarBaseDlg.
References myPntPercent, myPrsCopy, myStepLen, and storeToPrsCopy().
| void VisuGUI_StreamLinesDlg::reject | ( | ) | [protected, slot] |
Called when <Cancel> button is clicked, remove preview and closes dialog
Reimplemented from VisuGUI_ScalarBarBaseDlg.
| void VisuGUI_StreamLinesDlg::StepLengthChanged | ( | double | theValue | ) | [private, slot] |
| void VisuGUI_StreamLinesDlg::IntegrationStepChanged | ( | double | theValue | ) | [private, slot] |
| void VisuGUI_StreamLinesDlg::PropagationTimeChanged | ( | double | theValue | ) | [private, slot] |
References myStepLen.
| void VisuGUI_StreamLinesDlg::onSourceTypeChange | ( | int | theIndex | ) | [private, slot] |
References myEntitiesLst, myFamilisLst, myGroupsLst, myPrsLst, and mySrcCombo.
| VISU::Mesh_ptr VisuGUI_StreamLinesDlg::createMesh | ( | VISU::VISUType | theType, |
| QString | theName | ||
| ) | [private] |
| VisuGUI_StreamLinesDlg._PTR | ( | SObject | ) | [private] |
| void VisuGUI_StreamLinesDlg::enableSetColor | ( | ) | [private, slot] |
Called when "Magnitude Coloring" check box clicked
References myUseScalar, and SelColor.
| 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_StreamLinesDlg.myStepLen [private] |
SalomeApp_DoubleSpinBox* VisuGUI_StreamLinesDlg.myIntegStepLen [private] |
SalomeApp_DoubleSpinBox* VisuGUI_StreamLinesDlg.myPropTime [private] |
QComboBox* VisuGUI_StreamLinesDlg.myDirCombo [private] |
QCheckBox* VisuGUI_StreamLinesDlg.myUseScalar [private] |
QtxColorButton* VisuGUI_StreamLinesDlg.SelColor [private] |
QComboBox* VisuGUI_StreamLinesDlg.myUseSrcCombo [private] |
SalomeApp_DoubleSpinBox* VisuGUI_StreamLinesDlg.myPntPercent [private] |
QComboBox* VisuGUI_StreamLinesDlg.mySrcCombo [private] |
QTabWidget* VisuGUI_StreamLinesDlg.myTabBox [private] |
QList<VISU::Prs3d_var> VisuGUI_StreamLinesDlg.myPrsList [private] |
QList<VISU::Prs3d_var> VisuGUI_StreamLinesDlg.myEntityList [private] |
QList<VISU::Prs3d_var> VisuGUI_StreamLinesDlg.myFamilyList [private] |
QList<VISU::Prs3d_var> VisuGUI_StreamLinesDlg.myGroupList [private] |
QStringList VisuGUI_StreamLinesDlg.myEntitiesLst [private] |
QStringList VisuGUI_StreamLinesDlg.myFamilisLst [private] |
QStringList VisuGUI_StreamLinesDlg.myGroupsLst [private] |
QStringList VisuGUI_StreamLinesDlg.myPrsLst [private] |
SalomeApp_Module* VisuGUI_StreamLinesDlg.myVisuGUI [private] |
bool VisuGUI_StreamLinesDlg.myStatus [private] |