![]() |
NorMIT-nav
18.04
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 () |
| double | getVpnZoom (Vector3D focalPoint) |
| ViewportListenerBase::getVpnZoom Calculate the size of a 1mm line at the focal point projected into the normalized viewport space. This method uses a given point as the focal point. More... | |
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 91 of file cxViewportListener.h.
| cx::ViewportPreRenderListener::ViewportPreRenderListener | ( | ) |
Definition at line 175 of file cxViewportListener.cpp.
|
virtual |
Definition at line 201 of file cxViewportListener.cpp.
|
protectedvirtual |
Implements cx::ViewportListenerBase.
Definition at line 192 of file cxViewportListener.cpp.
|
virtual |
Reimplemented from cx::ViewportListenerBase.
Definition at line 184 of file cxViewportListener.cpp.
|
protectedvirtual |
Implements cx::ViewportListenerBase.
Definition at line 196 of file cxViewportListener.cpp.
| void cx::ViewportPreRenderListener::setModified | ( | ) |
Definition at line 179 of file cxViewportListener.cpp.