Version: 9.15.0
PVViewer_ViewWindow Class Reference

PVGUI view window. More...

#include <PVViewer_ViewWindow.h>

Inheritance diagram for PVViewer_ViewWindow:
Inheritance graph

Public Member Functions

 PVViewer_ViewWindow (SUIT_Desktop *, PVViewer_Viewer *)
 Constructor. More...
 
virtual ~PVViewer_ViewWindow ()
 Destructor. As pqViewManager persists through the whole session, the destructor first removes it from the children of this PVViewer_ViewWindow to prevent its unexpected deletion. More...
 
virtual QString getVisualParameters ()
 Get the visual parameters of the view window. More...
 
virtual void setVisualParameters (const QString &)
 Restore visual parameters of the view window from the formated string. More...
 
pqTabbedMultiViewWidget * getMultiViewManager () const
 Returns the ParaView multi-view manager previously set with setMultiViewManager() More...
 
- Public Member Functions inherited from SUIT_ViewWindow
 SUIT_ViewWindow (SUIT_Desktop *)
 
virtual ~SUIT_ViewWindow ()
 
virtual void setViewManager (SUIT_ViewManager *)
 
SUIT_ViewManagergetViewManager () 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)
 
void setDestructiveClose (const bool)
 
int getId () const
 
QtxActionToolMgrtoolMgr () 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 ()
 

Static Public Member Functions

static void removePVMgr ()
 

Private Attributes

SUIT_DesktopmyDesktop
 
PVViewer_ViewermyModel
 
pqTabbedMultiViewWidget * myPVMgr
 

Additional Inherited Members

- Public Slots inherited from SUIT_ViewWindow
virtual void onDumpView ()
 
void setVisible (bool)
 
- 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)
 
- Protected Slots inherited from SUIT_ViewWindow
void updateSyncViews ()
 
void onSynchronizeView (bool)
 
virtual void synchronize (SUIT_ViewWindow *)
 
void emitViewModified ()
 
- 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 QActionsynchronizeAction ()
 
- Static Protected Member Functions inherited from SUIT_ViewWindow
static void synchronizeView (SUIT_ViewWindow *viewWindow, int id)
 
- Protected Attributes inherited from SUIT_ViewWindow
SUIT_DesktopmyDesktop
 
SUIT_ViewManagermyManager
 

Detailed Description

PVGUI view window.

Constructor & Destructor Documentation

◆ PVViewer_ViewWindow()

◆ ~PVViewer_ViewWindow()

PVViewer_ViewWindow::~PVViewer_ViewWindow ( )
virtual

Destructor. As pqViewManager persists through the whole session, the destructor first removes it from the children of this PVViewer_ViewWindow to prevent its unexpected deletion.

References PVViewer_GUIElements::GetInstance(), myDesktop, myPVMgr, and PVViewer_GUIElements::setToolBarEnabled().

Member Function Documentation

◆ getMultiViewManager()

pqTabbedMultiViewWidget * PVViewer_ViewWindow::getMultiViewManager ( ) const

Returns the ParaView multi-view manager previously set with setMultiViewManager()

References myPVMgr.

◆ getVisualParameters()

QString PVViewer_ViewWindow::getVisualParameters ( )
virtual

Get the visual parameters of the view window.

Returns
visual parameters of this view window formatted to the string

Reimplemented from SUIT_ViewWindow.

References SUIT_ViewWindow::getVisualParameters().

◆ removePVMgr()

void PVViewer_ViewWindow::removePVMgr ( )
static

◆ setVisualParameters()

void PVViewer_ViewWindow::setVisualParameters ( const QString &  parameters)
virtual

Restore visual parameters of the view window from the formated string.

Parameters
parametersview window visual parameters

Reimplemented from SUIT_ViewWindow.

References SUIT_ViewWindow::setVisualParameters().

Member Data Documentation

◆ myDesktop

SUIT_Desktop* PVViewer_ViewWindow::myDesktop
private

◆ myModel

PVViewer_Viewer* PVViewer_ViewWindow::myModel
private

◆ myPVMgr

pqTabbedMultiViewWidget* PVViewer_ViewWindow::myPVMgr
private

The documentation for this class was generated from the following files: