Define a container for SALOME PV3D view window. More...
#include <SPV3D_ViewWindow.h>

Public Slots | |
| virtual void | showEvent (QShowEvent *) |
| virtual void | hideEvent (QHideEvent *) |
| void | showCenterAxes (bool) |
| void | pickCenterOfRotation (int posx, int posy) |
| void | goSelect (bool val) |
Public Slots inherited from SUIT_ViewWindow | |
| virtual void | onDumpView () |
| void | setVisible (bool) |
Signals | |
| void | Show (QShowEvent *) |
| void | Hide (QHideEvent *) |
Signals inherited from SUIT_ViewWindow | |
| void | tryClosing (SUIT_ViewWindow *) |
| void | closing (SUIT_ViewWindow *) |
| void | mousePressed (SUIT_ViewWindow *, QMouseEvent *) |
| void | mouseReleased (SUIT_ViewWindow *, QMouseEvent *) |
| void | mouseDoubleClicked (SUIT_ViewWindow *, QMouseEvent *) |
| void | mouseMoving (SUIT_ViewWindow *, QMouseEvent *) |
| void | wheeling (SUIT_ViewWindow *, QWheelEvent *) |
| void | keyPressed (SUIT_ViewWindow *, QKeyEvent *) |
| void | keyReleased (SUIT_ViewWindow *, QKeyEvent *) |
| void | contextMenuRequested (QContextMenuEvent *e) |
| void | viewModified (SUIT_ViewWindow *) |
| void | vpStartRotate (int, int, qint64) |
| void | vpRotate (int, int, qint64) |
| void | vpEndRotate (int, int, qint64) |
Public Member Functions | |
| SPV3D_ViewWindow (SUIT_Desktop *theDesktop, SPV3D_ViewModel *theModel) | |
| To construct SPV3D_ViewWindow instance. More... | |
| SPV3D_Prs * | findOrCreatePrs (const char *entry) |
| unsigned int | isEntryAlreadyExist (const char *entry) const |
| void | ExportToSPV3D (vtkPolyData *ds, const char *) |
| void | init () |
| virtual | ~SPV3D_ViewWindow () |
| bool | isVisible (const Handle(SALOME_InteractiveObject)&theIObject) |
| virtual void | Display (const Handle(SALOME_InteractiveObject)&theIObject, bool theImmediatly=true) |
| Redirect the request to #SPV3D_View::Display (to support old code) More... | |
| virtual void | DisplayOnly (const Handle(SALOME_InteractiveObject)&theIObject) |
| Redirect the request to #SPV3D_View::DisplayOnly (to support old code) More... | |
| virtual void | Erase (const Handle(SALOME_InteractiveObject)&theIObject, bool theImmediatly=true) |
| Redirect the request to #SPV3D_View::Erase (to support old code) More... | |
| virtual void | DisplayAll () |
| Redirect the request to #SPV3D_View::DisplayAll (to support old code) More... | |
| virtual void | EraseAll () |
| Redirect the request to #SPV3D_View::EraseAll (to support old code) More... | |
| virtual void | Repaint (bool theUpdateTrihedron=true) |
| To repaint the viewer. More... | |
| virtual void | SetSelectionEnabled (bool) |
| Enable/disable selection. More... | |
Public Member Functions inherited from PV3DViewer_ViewWindow | |
| PV3DViewer_ViewWindow (SUIT_Desktop *, PV3DViewer_ViewModel *) | |
| Constructor. More... | |
| virtual | ~PV3DViewer_ViewWindow () |
| Destructor. As pqViewManager persists through the whole session, the destructor first removes it from the children of this PV3DViewer_ViewWindow to prevent its unexpected deletion. More... | |
| pqTabbedMultiViewWidget * | getMultiViewManager () const |
| Returns the ParaView multi-view manager previously set with setPVManager() More... | |
Public Member Functions inherited from SUIT_ViewWindow | |
| SUIT_ViewWindow (SUIT_Desktop *) | |
| virtual | ~SUIT_ViewWindow () |
| virtual void | setViewManager (SUIT_ViewManager *) |
| SUIT_ViewManager * | getViewManager () const |
| bool | event (QEvent *) |
| virtual QImage | dumpView () |
| bool | dumpViewToFormat (const QString &fileName, const QString &format) |
| bool | onAccelAction (int) |
| bool | closable () const |
| bool | setClosable (const bool) |
| virtual QString | getVisualParameters () |
| virtual void | setVisualParameters (const QString ¶meters) |
| void | setDestructiveClose (const bool) |
| int | getId () const |
| QtxActionToolMgr * | toolMgr () const |
| virtual void | setDropDownButtons (bool) |
Set buttons mode to drop-down (on = true) or ligned (on = false) More... | |
| bool | dropDownButtons () const |
| Get current buttons mode. More... | |
| virtual void | enableAutoRotation (const bool) |
| virtual bool | isAutoRotationEnabled () const |
| virtual SUIT_CameraProperties | cameraProperties () |
Protected Slots | |
| void | onKeyPressed (QKeyEvent *event) |
| void | onKeyReleased (QKeyEvent *event) |
| void | onMousePressed (QMouseEvent *event) |
| void | onMouseDoubleClicked (QMouseEvent *event) |
| void | onMouseReleased (QMouseEvent *event) |
| void | onMouseMoving (QMouseEvent *event) |
Protected Slots inherited from SUIT_ViewWindow | |
| void | updateSyncViews () |
| void | onSynchronizeView (bool) |
| virtual void | synchronize (SUIT_ViewWindow *) |
| void | emitViewModified () |
Protected Attributes | |
| SPV3D_CADSelection * | mySelection = nullptr |
| int | myToolBar = -1 |
| SPV3D_ViewModel * | myModel |
| std::list< std::pair< std::string, SPV3D_Prs * > > | Prs |
| std::unique_ptr< SPV3D_EXPORTSPV3DData > | myPrs |
Protected Attributes inherited from SUIT_ViewWindow | |
| SUIT_Desktop * | myDesktop |
| SUIT_ViewManager * | myManager |
Additional Inherited Members | |
Static Public Member Functions inherited from PV3DViewer_ViewWindow | |
| static void | removePVMgr () |
Protected Member Functions inherited from SUIT_ViewWindow | |
| void | closeEvent (QCloseEvent *) |
| virtual void | contextMenuEvent (QContextMenuEvent *) |
| virtual QString | filter () const |
| virtual bool | action (const int) |
| virtual bool | dumpViewToFormat (const QImage &, const QString &fileName, const QString &format) |
| virtual QAction * | synchronizeAction () |
Static Protected Member Functions inherited from SUIT_ViewWindow | |
| static void | synchronizeView (SUIT_ViewWindow *viewWindow, int id) |
Define a container for SALOME PV3D view window.
| SPV3D_ViewWindow::SPV3D_ViewWindow | ( | SUIT_Desktop * | theDesktop, |
| SPV3D_ViewModel * | theModel | ||
| ) |
To construct SPV3D_ViewWindow instance.
Constructor
|
virtual |
Destructor
|
virtual |
Redirect the request to #SPV3D_View::Display (to support old code)
Display object
| theIO | - object |
| theImmediatly | - update viewer |
|
virtual |
Redirect the request to #SPV3D_View::DisplayAll (to support old code)
Display all objects in view
|
virtual |
Redirect the request to #SPV3D_View::DisplayOnly (to support old code)
Display only passed object
| theIO | - object |
|
virtual |
Redirect the request to #SPV3D_View::Erase (to support old code)
Erase object
| theIO | - object |
| theImmediatly | - update viewer |
|
virtual |
Redirect the request to #SPV3D_View::EraseAll (to support old code)
Erase all objects in view
References myModel, myPrs, and SPV3D_ViewModel::render().
| void SPV3D_ViewWindow::ExportToSPV3D | ( | vtkPolyData * | ds, |
| const char * | entry | ||
| ) |
References myPrs.
| SPV3D_Prs * SPV3D_ViewWindow::findOrCreatePrs | ( | const char * | entry | ) |
References myPrs, and SPV3D_Prs::SetPVRenderInfo().
|
slot |
References SPV3D_CADSelection::actionTriggered(), SPV3D_ViewModel::getView(), myModel, myPrs, and mySelection.
|
signal |
|
virtualslot |
Custom hide event handler
References Hide().
| void SPV3D_ViewWindow::init | ( | ) |
| unsigned int SPV3D_ViewWindow::isEntryAlreadyExist | ( | const char * | entry | ) | const |
References myPrs.
| bool SPV3D_ViewWindow::isVisible | ( | const Handle(SALOME_InteractiveObject)& | theIObject | ) |
References myPrs.
|
protectedslot |
Emits key pressed
References SUIT_ViewWindow::event(), and SUIT_ViewWindow::keyPressed().
|
protectedslot |
Emits key released
References SUIT_ViewWindow::event(), and SUIT_ViewWindow::keyReleased().
|
protectedslot |
Emits mouse double clicked
References SUIT_ViewWindow::event(), and SUIT_ViewWindow::mouseDoubleClicked().
|
protectedslot |
Emits mouse moving
References SUIT_ViewWindow::event(), and SUIT_ViewWindow::mouseMoving().
|
protectedslot |
Emits mouse pressed
References SUIT_ViewWindow::event(), and SUIT_ViewWindow::mousePressed().
|
protectedslot |
Emits mouse released
References SUIT_ViewWindow::event(), and SUIT_ViewWindow::mouseReleased().
|
slot |
References SPV3D_ViewModel::getView(), and myModel.
|
virtual |
|
virtual |
Enable/disable selection.
Enables/disables selection.
| theEnable | if true - selection will be enabled |
|
signal |
|
slot |
References SPV3D_ViewModel::getView(), and myModel.
|
virtualslot |
Custom show event handler
References Show().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |