#include <VisuGUI_VectorsDlg.h>

| VisuGUI_VectorsDlg::VisuGUI_VectorsDlg | ( | SalomeApp_Module * | theModule | ) |
Constructor
References VisuGUI_ScalarBarBaseDlg.accept(), buttonCancel, buttonHelp, buttonOk, enableGlyphType(), enableSetColor(), VisuGUI_ScalarBarBaseDlg.GetScalarPane(), GroupButtons, VISU.initSpinBox(), LineWidLabel, LinWid, myInputPane, myTabBox, VisuGUI_Prs3dDlg.onHelp(), PosGB, PosGlyph, RBArrows, RBCent, RBCones2, RBCones6, RBHead, RBTail, VisuGUI_ScalarBarBaseDlg.reject(), ScaleLabel, ScalFact, SelColor, setColor(), TopGroup, VISU.TVECTORS, TypeGB, TypeGlyph, UseGlyph, and UseMagn.
| VisuGUI_VectorsDlg::~VisuGUI_VectorsDlg | ( | ) |
| void VisuGUI_VectorsDlg::setScaleFactor | ( | double | theFactor | ) |
| double VisuGUI_VectorsDlg::getScaleFactor | ( | ) |
Gets Scale factor
References ScalFact.
| void VisuGUI_VectorsDlg::setLineWidth | ( | int | lw | ) |
Sets Line width
References LinWid.
| int VisuGUI_VectorsDlg::getLineWidth | ( | ) |
Gets Line width
References LinWid.
| void VisuGUI_VectorsDlg::setUseMagnColor | ( | bool | on | ) |
Sets "Use Magnitude Coloring" flag
References enableSetColor(), and UseMagn.
| bool VisuGUI_VectorsDlg::getUseMagnColor | ( | ) |
Gets "Use Magnitude Coloring" flag state
References UseMagn.
| void VisuGUI_VectorsDlg::setUseGlyphs | ( | bool | on | ) |
Sets "Use Glyphs" flag
References enableGlyphType(), and UseGlyph.
| bool VisuGUI_VectorsDlg::getUseGlyphs | ( | ) |
Gets "Use Glyphs" flag state
References UseGlyph.
| void VisuGUI_VectorsDlg::setColor | ( | QColor | color | ) |
Sets color
References SelColor.
| QColor VisuGUI_VectorsDlg.getColor | ( | ) |
| void VisuGUI_VectorsDlg::setGlyphType | ( | VISU::Vectors::GlyphType | type | ) |
Sets glyphs type : 0 - arrows, 1 - cones2, 2 - cones6
References VISU.Vectors.CONE2, VISU.Vectors.CONE6, RBArrows, RBCones2, and RBCones6.
| VISU::Vectors::GlyphType VisuGUI_VectorsDlg::getGlyphType | ( | ) |
Gets glyphs type : 0 - arrows, 1 - cones2, 2 - cones6
References VISU.Vectors.ARROW, VISU.Vectors.CONE2, VISU.Vectors.CONE6, RBCones2, and RBCones6.
| void VisuGUI_VectorsDlg::setGlyphPos | ( | VISU::Vectors::GlyphPos | pos | ) |
Sets glyph position : -1 - tail, 0 - center, 1 - head
References VISU.Vectors.HEAD, RBCent, RBHead, RBTail, and VISU.Vectors.TAIL.
| VISU::Vectors::GlyphPos VisuGUI_VectorsDlg::getGlyphPos | ( | ) |
Gets glyph position : -1 - tail, 0 - center, 1 - head
References VISU.Vectors.CENTER, VISU.Vectors.HEAD, RBHead, RBTail, and VISU.Vectors.TAIL.
| void VisuGUI_VectorsDlg::enableMagnColor | ( | bool | enable | ) |
Enbled/disables magnitude coloring
References enableSetColor(), and UseMagn.
| void VisuGUI_VectorsDlg::initFromPrsObject | ( | VISU::ColoredPrs3d_i * | thePrs, |
| bool | theInit | ||
| ) | [virtual] |
Reimplemented from VisuGUI_ScalarBarBaseDlg.
References batchmode_visu_view3d.aColor, VISU.ColoredPrs3d_i.EDoNotPublish, enableSetColor(), VisuGUI_InputPane.initFromPrsObject(), myInputPane, myPrsCopy, myTabBox, VISU.NONE, setColor(), setGlyphPos(), setGlyphType(), setLineWidth(), setScaleFactor(), setUseGlyphs(), and setUseMagnColor().
| int VisuGUI_VectorsDlg::storeToPrsObject | ( | VISU::ColoredPrs3d_i * | thePrs | ) | [virtual] |
Implements VisuGUI_Prs3dDlg.
References batchmode_visu_view3d.aColor, VisuGUI_ScalarBarPane.check(), VisuGUI_InputPane.check(), getGlyphPos(), getGlyphType(), getLineWidth(), VisuGUI_ScalarBarBaseDlg.GetScalarPane(), getScaleFactor(), getUseGlyphs(), getUseMagnColor(), myInputPane, myPrsCopy, VISU.Vectors.NONE, SelColor, VisuGUI_ScalarBarPane.storeToPrsObject(), and VisuGUI_InputPane.storeToPrsObject().
| QString VisuGUI_VectorsDlg::GetContextHelpFilePath | ( | ) | [protected, virtual, slot] |
Implements VisuGUI_Prs3dDlg.
| void VisuGUI_VectorsDlg::enableGlyphType | ( | ) | [private, slot] |
| void VisuGUI_VectorsDlg::enableSetColor | ( | ) | [private, slot] |
| void VisuGUI_ScalarBarBaseDlg::accept | ( | ) | [protected, slot, inherited] |
Called when <OK> button is clicked, validates data and closes dialog
Reimplemented in VisuGUI_CutLinesDlg, VisuGUI_CutPlanesDlg, VisuGUI_CutSegmentDlg, VisuGUI_DeformedShapeAndScalarMapDlg, VisuGUI_DeformedShapeDlg, VisuGUI_IsoSurfacesDlg, VisuGUI_Plot3DDlg, and VisuGUI_StreamLinesDlg.
References VisuGUI_ScalarBarBaseDlg.GetScalarPane().
| void VisuGUI_ScalarBarBaseDlg::reject | ( | ) | [protected, slot, inherited] |
Called when <Cancel> button is clicked, remove preview and closes dialog
Reimplemented in VisuGUI_CutLinesDlg, VisuGUI_CutPlanesDlg, VisuGUI_CutSegmentDlg, VisuGUI_DeformedShapeAndScalarMapDlg, VisuGUI_DeformedShapeDlg, VisuGUI_Plot3DDlg, and VisuGUI_StreamLinesDlg.
| 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().
QGroupBox* VisuGUI_VectorsDlg.TopGroup [private] |
QCheckBox* VisuGUI_VectorsDlg.UseMagn [private] |
QtxColorButton* VisuGUI_VectorsDlg.SelColor [private] |
QLabel* VisuGUI_VectorsDlg.LineWidLabel [private] |
SalomeApp_IntSpinBox* VisuGUI_VectorsDlg.LinWid [private] |
QLabel* VisuGUI_VectorsDlg.ScaleLabel [private] |
SalomeApp_DoubleSpinBox* VisuGUI_VectorsDlg.ScalFact [private] |
QCheckBox* VisuGUI_VectorsDlg.UseGlyph [private] |
QButtonGroup* VisuGUI_VectorsDlg.TypeGlyph [private] |
QGroupBox* VisuGUI_VectorsDlg.TypeGB [private] |
QRadioButton* VisuGUI_VectorsDlg.RBCones6 [private] |
QRadioButton* VisuGUI_VectorsDlg.RBCones2 [private] |
QRadioButton* VisuGUI_VectorsDlg.RBArrows [private] |
QButtonGroup* VisuGUI_VectorsDlg.PosGlyph [private] |
QGroupBox* VisuGUI_VectorsDlg.PosGB [private] |
QRadioButton* VisuGUI_VectorsDlg.RBTail [private] |
QRadioButton* VisuGUI_VectorsDlg.RBCent [private] |
QRadioButton* VisuGUI_VectorsDlg.RBHead [private] |
QGroupBox* VisuGUI_VectorsDlg.GroupButtons [private] |
QPushButton* VisuGUI_VectorsDlg.buttonOk [private] |
QPushButton* VisuGUI_VectorsDlg.buttonCancel [private] |
QPushButton* VisuGUI_VectorsDlg.buttonHelp [private] |
QColor VisuGUI_VectorsDlg.myColor [private] |
QTabWidget* VisuGUI_VectorsDlg.myTabBox [private] |
Reimplemented from VisuGUI_ScalarBarBaseDlg.
VisuGUI_InputPane* VisuGUI_VectorsDlg.myInputPane [private] |