PARAVIS is a light SALOME module that wraps ParaView GUI and makes it available in
SALOME GUI.
-As any other SALOME module, PARAVIS requires PARAVIS_ROOT_DIR environment variable to be set to PARAVIS
+Like any other SALOME module, PARAVIS requires PARAVIS_ROOT_DIR environment variable to be set to PARAVIS
installation directory.
Specific prerequisites:
ParaView should not be installed, its build directory is used instead).
It also requires common SALOME environment including GUI_ROOT_DIR and
-other standard SALOME prerequsites.
+other standard SALOME prerequisites.
As soon as the environment is set, execute the following commands in a shell:
menu and toolbar commands using SALOME menu and toolbar managers, connecting the actions to %pqMainWindowCore slots or to the module's
slots in some cases. It also sets up dock widgets for ParaView widgets, such as object inspector, pipeline browser, etc.
- As both SALOME destop and ParaView main winodw classes inherit QMainWindow and %pqMainWindowCore deals with QMainWindow API to control
+ ParaView GUI resources (icons) are reused directly from the ParaView resource directory, they are loaded into SALOME GUI
+ resource manager, the path to these icons is specified in PARAVIS configuration XML files (LightApp.xml and SlomeApp.xml).
+
+ As both SALOME destop and ParaView main window classes inherit QMainWindow and %pqMainWindowCore deals with QMainWindow API to control
menus, tollbars and dock widgets, its integration into SALOME GUI is straightforward and smooth.
<h3>Multi-view manager</h3>
on its own if needed.
*/
-/*
- A link to the file documentation PVGUI_Module_actions.cxx
-
- A link to the file documentation PVGUI_Module_impl.h
-
- A link to the class documentation PVGUI_Module
-
- The class name as a text (not a link to its documentation) %PVGUI_Module
-
- A link to the constructor of the class PVGUI_ViewWindow#PVGUI_ViewWindow or PVGUI_Module::PVGUI_Module()
-
- A link to the destructor of the class PVGUI_ViewWindow#~PVGUI_ViewWindow
-
- A link to the member function PVGUI_ViewWindow::getVisualParameters or PVGUI_ViewWindow#getVisualParameters
-
- Arguments of a function should be specified only for the overloaded functions PVGUI_Module::initialize(CAM_Application*)
-
- A link to some enumeration values PVGUI_Module::OpenFileId and PVGUI_Module::CreateLookmarkId
-
- A link to a protected member variable of the class PVGUI_ViewWindow#myModel
-
- A link to a variable \link PVGUI_ViewWindow#myModel using another text\endlink as a link
-
-*/
-
/*!
\class PVGUI_Module
\brief Implementation of light (no-CORBA-engine)
AboutParaViewId,
ParaViewHelpId,
EnableTooltipsId
-
- /*
- lgLoadFile = 931, //!< load text file
- lgSaveFile, //!< save text file
- lgDisplayLine, //!< display selected line
- lgEraseLine, //!< erase selected line
- lgEditLine, //!< edit selected line
- lgAddLine, //!< insert new line
- lgDelLine, //!< delete selected line
- lgClear //!< clear all contents
- */
};
public:
virtual void initialize( CAM_Application* );
virtual void windows( QMap<int, int>& ) const;
- //virtual LightApp_Selection* createSelection() const;
-
pqViewManager* getMultiViewManager() const;
virtual bool eventFilter( QObject*, QEvent* );
//! Create actions for ParaView GUI operations
void pvCreateActions();
- //! Create menus for ParaView GUI operations
- //! duplicating menus in pqMainWindow ParaView class
+ //! Create menus for ParaView GUI operations duplicating menus in pqMainWindow ParaView class
void pvCreateMenus();
- //! Create toolbars for ParaView GUI operations
- //! duplicating toolbars in pqMainWindow ParaView class
+ //! Create toolbars for ParaView GUI operations duplicating toolbars in pqMainWindow ParaView class
void pvCreateToolBars();
//! Create dock widgets for ParaView widgets