32 #ifndef CXVIEWPORTLISTENER_H_ 33 #define CXVIEWPORTLISTENER_H_ 35 #include "cxResourceExport.h" 37 #include <boost/function.hpp> 59 bool isListening()
const;
61 void setCallback(boost::function<
void ()> func);
63 virtual void callback();
66 virtual void addObservers() = 0;
67 virtual void removeObservers() = 0;
73 boost::function<void ()> mCallback;
94 virtual void addObservers();
95 virtual void removeObservers();
115 virtual void callback();
119 virtual void addObservers();
120 virtual void removeObservers();
boost::shared_ptr< class ViewportListener > ViewportListenerPtr
ViewportObserverPrivatePtr mObserver
boost::shared_ptr< class ViewportPreRenderListener > ViewportPreRenderListenerPtr
Listens to changes in viewport and camera matrix.
vtkSmartPointer< class vtkRenderer > vtkRendererPtr
Base class for listening to a vtkRenderer.
Listens to the start render event in a vtkRenderer.
vtkSmartPointer< class ViewportObserverPrivate > ViewportObserverPrivatePtr
Namespace for all CustusX production code.