|
ParaView
|
pqQVTKWidget extends QVTKWidget to add awareness for view proxies. More...
#include <pqQVTKWidget.h>
Public Slots | |
| void | paintMousePointer (int x, int y) |
Public Member Functions | |
| pqQVTKWidget (QWidget *parent=NULL, Qt::WFlags f=0) | |
| virtual | ~pqQVTKWidget () |
| void | setViewProxy (vtkSMProxy *) |
| Set the view proxy. | |
| void | setSession (vtkSMSession *) |
| Set the session. | |
| vtkTypeUInt32 | getProxyId () |
| Retrun the Proxy ID if any, otherwise return 0. | |
Protected Member Functions | |
| virtual void | resizeEvent (QResizeEvent *event) |
| overloaded resize handler | |
| virtual void | moveEvent (QMoveEvent *event) |
| overloaded move handler | |
| virtual bool | paintCachedImage () |
pqQVTKWidget extends QVTKWidget to add awareness for view proxies.
The advantage of doing that is that pqQVTKWidget can automatically update the "ViewSize" propertu on the view proxy whenever the widget's size/position changes.
This class also enables image-caching by default (image caching support is provided by the superclass).
Definition at line 52 of file pqQVTKWidget.h.
| pqQVTKWidget::pqQVTKWidget | ( | QWidget * | parent = NULL, |
| Qt::WFlags | f = 0 |
||
| ) |
| virtual pqQVTKWidget::~pqQVTKWidget | ( | ) | [virtual] |
| void pqQVTKWidget::setViewProxy | ( | vtkSMProxy * | ) |
Set the view proxy.
| void pqQVTKWidget::setSession | ( | vtkSMSession * | ) |
Set the session.
This is only used when ViewProxy is not set.
| vtkTypeUInt32 pqQVTKWidget::getProxyId | ( | ) |
Retrun the Proxy ID if any, otherwise return 0.
| virtual void pqQVTKWidget::resizeEvent | ( | QResizeEvent * | event | ) | [protected, virtual] |
overloaded resize handler
| virtual void pqQVTKWidget::moveEvent | ( | QMoveEvent * | event | ) | [protected, virtual] |
overloaded move handler
| virtual bool pqQVTKWidget::paintCachedImage | ( | ) | [protected, virtual] |
1.7.5.1