class GaussPoints_i;
}
+//! Specific Scalar Bar tab.
+/*! Uses for set up Gauss Points Scalar Bars preferenses. */
class VisuGUI_GaussScalarBarPane : public QVBox
{
Q_OBJECT
void onTextPref();
};
+//! Create Gauss Points Presentation Dialog.
+/*!
+ * Uses for set up initial parameters of the Gauss Points
+ * presentation and edit them interactively.
+ */
class VisuGUI_GaussPointsDlg : public QDialog
{
- Q_OBJECT
+ Q_OBJECT
public:
- VisuGUI_GaussPointsDlg (SalomeApp_Module* theModule, bool SetPref = FALSE);
- ~VisuGUI_GaussPointsDlg() {};
+ VisuGUI_GaussPointsDlg (SalomeApp_Module* theModule, bool SetPref = FALSE);
+ ~VisuGUI_GaussPointsDlg() {};
+ //! Initializing dialog from the Gauss Points presentation.
void initFromPrsObject(VISU::GaussPoints_i* thePrs);
+
+ //! Update Gauss Points presentation using parameters from the dialog.
int storeToPrsObject(VISU::GaussPoints_i* thePrs);
protected slots:
typedef std::map<SUIT_ViewManager*,PViewer> TViewerMap;
}
-
+//! This class inherits base VisuGUI.
+/*! Used to display, erase end edit presentations in the VVTK viewer. */
class VisuGUI_Module: public VisuGUI
{
Q_OBJECT;
virtual
~VisuGUI_Module();
+ //! Redifined method of the module initializing.
virtual
void
initialize( CAM_Application* );
+ //! Redefined method of creating prefernces.
virtual
void
createPreferences();
const bool theIsCreate);
public slots:
+ //! Reimplemented method of the module deactivation.
virtual
bool
deactivateModule( SUIT_Study* );
+ //! Reimplemented method of the module activation.
virtual
bool
activateModule( SUIT_Study* );
protected:
+ //! Create preferences for Gauss Points presentation.
virtual
void
createGaussPointsPreferences();
+ //! Create preferences for Gauss Points Scalar Bars.
virtual
void
createScalarBarPreferences();
+ //! Create preferences for Outside Cursor Gauss Points presentations.
virtual
void
createOutsideCursorPreferences();
+ //! Create preferences for Picking.
virtual
void
createPickingPreferences();
+ //! Create preferences for Space Mouse.
virtual
void
createSpaceMousePreferences();
void
OnViewManagerAdded(SUIT_ViewManager*);
+ //! Reimplemented method of the Gauss Points edition.
virtual
void
OnEditGaussPoints();
+ //! Reimplemented method of the Gauss Points displaying.
virtual
void
OnDisplayPrs();
+ //! Reimplemented method of the Gauss Points displaying only.
virtual
void
OnDisplayOnlyPrs();
+ //! Reimplemented method of the Gauss Points full erasing.
virtual
void
OnEraseAll();
+ //! Reimplemented method of the Gauss Points erasing.
virtual
void
OnErasePrs();
+ //! Reimplemented method of saving view parameters.
virtual
void
OnSaveViewParams();
+ //! Reimplemented method of restoring view parameters.
virtual
void
OnRestoreViewParams();