ParaView
Public Slots | Public Member Functions | Protected Member Functions
pqQVTKWidget Class Reference

pqQVTKWidget extends QVTKWidget to add awareness for view proxies. More...

#include <pqQVTKWidget.h>

List of all members.

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 ()

Detailed Description

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.


Constructor & Destructor Documentation

pqQVTKWidget::pqQVTKWidget ( QWidget *  parent = NULL,
Qt::WFlags  f = 0 
)
virtual pqQVTKWidget::~pqQVTKWidget ( ) [virtual]

Member Function Documentation

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.

void pqQVTKWidget::paintMousePointer ( int  x,
int  y 
) [slot]
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]

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