NorMIT-nav
16.5
An IGT application
|
Listens to the start render event in a vtkRenderer. More...
#include <cxViewportListener.h>
Public Member Functions | |
ViewportPreRenderListener () | |
virtual | ~ViewportPreRenderListener () |
virtual void | callback () |
void | setModified () |
Public Member Functions inherited from cx::ViewportListenerBase | |
ViewportListenerBase () | |
virtual | ~ViewportListenerBase () |
void | startListen (vtkRendererPtr renderer) |
void | stopListen () |
bool | isListening () const |
void | setCallback (boost::function< void()> func) |
double | getVpnZoom () |
Protected Member Functions | |
virtual void | addObservers () |
virtual void | removeObservers () |
Additional Inherited Members | |
Protected Types inherited from cx::ViewportListenerBase | |
typedef vtkSmartPointer< class ViewportObserverPrivate > | ViewportObserverPrivatePtr |
Protected Attributes inherited from cx::ViewportListenerBase | |
ViewportObserverPrivatePtr | mObserver |
vtkRendererPtr | mRenderer |
Listens to the start render event in a vtkRenderer.
A callback function is called when render is about to start. Use to perform special processing prior to a render operation.
The callback is called only of setModified() has been called since last callback.
Definition at line 110 of file cxViewportListener.h.
cx::ViewportPreRenderListener::ViewportPreRenderListener | ( | ) |
Definition at line 180 of file cxViewportListener.cpp.
|
virtual |
Definition at line 206 of file cxViewportListener.cpp.
|
protectedvirtual |
Implements cx::ViewportListenerBase.
Definition at line 197 of file cxViewportListener.cpp.
|
virtual |
Reimplemented from cx::ViewportListenerBase.
Definition at line 189 of file cxViewportListener.cpp.
|
protectedvirtual |
Implements cx::ViewportListenerBase.
Definition at line 201 of file cxViewportListener.cpp.
void cx::ViewportPreRenderListener::setModified | ( | ) |
Definition at line 184 of file cxViewportListener.cpp.