Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Qt specific implementation of mitk::RenderingManager. More...
#include <QmitkRenderingManager.h>
Public Member Functions | |
mitkClassMacro (QmitkRenderingManager, mitk::RenderingManager) | |
virtual | ~QmitkRenderingManager () |
virtual void | DoMonitorRendering () override |
virtual void | DoFinishAbortRendering () override |
virtual bool | event (QEvent *event) override |
Public Member Functions inherited from mitk::RenderingManager | |
virtual std::vector< std::string > | GetClassHierarchy () const |
virtual const char * | GetClassName () const |
void | AddRenderWindow (vtkRenderWindow *renderWindow) |
void | RemoveRenderWindow (vtkRenderWindow *renderWindow) |
const RenderWindowVector & | GetAllRegisteredRenderWindows () |
void | RequestUpdate (vtkRenderWindow *renderWindow) |
void | ForceImmediateUpdate (vtkRenderWindow *renderWindow) |
void | RequestUpdateAll (RequestType type=REQUEST_UPDATE_ALL) |
void | ForceImmediateUpdateAll (RequestType type=REQUEST_UPDATE_ALL) |
virtual bool | InitializeViews (const BaseGeometry *geometry, RequestType type=REQUEST_UPDATE_ALL, bool preserveRoughOrientationInWorldSpace=false) |
virtual bool | InitializeViews (const TimeGeometry *geometry, RequestType type=REQUEST_UPDATE_ALL, bool preserveRoughOrientationInWorldSpace=false) |
virtual bool | InitializeViews (RequestType type=REQUEST_UPDATE_ALL) |
virtual bool | InitializeView (vtkRenderWindow *renderWindow, const BaseGeometry *geometry, bool initializeGlobalTimeSNC=false) |
virtual bool | InitializeView (vtkRenderWindow *renderWindow, const TimeGeometry *geometry, bool initializeGlobalTimeSNC=false) |
virtual bool | InitializeView (vtkRenderWindow *renderWindow) |
virtual void | InitializeViewsByBoundingObjects (const DataStorage *) |
Initializes the renderwindows by the aggregated geometry of all objects that are held in the data storage. This is basically a global reinit. More... | |
const SliceNavigationController * | GetTimeNavigationController () const |
SliceNavigationController * | GetTimeNavigationController () |
virtual | ~RenderingManager () |
virtual void | ExecutePendingRequests () |
bool | IsRendering () const |
void | AbortRendering () |
virtual void | SetLODIncreaseBlocked (bool _arg) |
virtual bool | GetLODIncreaseBlocked () |
virtual void | LODIncreaseBlockedOn () |
virtual void | LODIncreaseBlockedOff () |
virtual void | SetLODAbortMechanismEnabled (bool _arg) |
virtual bool | GetLODAbortMechanismEnabled () |
virtual void | LODAbortMechanismEnabledOn () |
virtual void | LODAbortMechanismEnabledOff () |
void | ExecutePendingHighResRenderingRequest () |
virtual void | DoStartRendering () |
int | GetNextLOD (BaseRenderer *renderer) |
void | SetMaximumLOD (unsigned int max) |
void | SetShading (bool state, unsigned int lod) |
bool | GetShading (unsigned int lod) |
void | SetClippingPlaneStatus (bool status) |
bool | GetClippingPlaneStatus () |
void | SetShadingValues (float ambient, float diffuse, float specular, float specpower) |
FloatVector & | GetShadingValues () |
PropertyList::Pointer | GetPropertyList () const |
BaseProperty * | GetProperty (const char *propertyKey) const |
void | SetProperty (const char *propertyKey, BaseProperty *propertyValue) |
void | SetDataStorage (mitk::DataStorage *storage) |
Setter / Getter for internal DataStorage. More... | |
mitk::DataStorage * | GetDataStorage () |
Setter / Getter for internal DataStorage. More... | |
void | SetRenderWindowFocus (vtkRenderWindow *focusWindow) |
Sets a flag to the given renderwindow to indicated that it has the focus e.g. has been clicked recently. More... | |
virtual vtkRenderWindow * | GetFocusedRenderWindow () |
virtual void | SetConstrainedPanningZooming (bool _arg) |
Protected Slots | |
void | TimerCallback () |
Protected Member Functions | |
QmitkRenderingManager () | |
virtual void | GenerateRenderingRequestEvent () override |
virtual void | StartOrResetTimer () override |
Protected Member Functions inherited from mitk::RenderingManager | |
RenderingManager () | |
virtual void | InitializePropertyList () |
Static Protected Member Functions | |
static Pointer | New () |
Static Protected Member Functions inherited from mitk::RenderingManager | |
static void | RenderingStartCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata) |
static void | RenderingProgressCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata) |
static void | RenderingEndCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata) |
Qt specific implementation of mitk::RenderingManager.
This implementation defines a QmitkRenderingRequestEvent to realize the rendering request process. The event must be handled by the Qmitk interface to Qt (QmitkRenderWindow).
Note: it may be necessary to remove all pending RenderingRequestEvents from the system's event processing pipeline during system shutdown to make sure that dangling events do not lead to unexpected behavior.
Definition at line 42 of file QmitkRenderingManager.h.
|
virtual |
Definition at line 39 of file QmitkRenderingManager.cpp.
|
protected |
Definition at line 26 of file QmitkRenderingManager.cpp.
References pendingTimerCallbacks.
|
overridevirtual |
Reimplemented from mitk::RenderingManager.
Definition at line 35 of file QmitkRenderingManager.cpp.
|
overridevirtual |
Reimplemented from mitk::RenderingManager.
Definition at line 31 of file QmitkRenderingManager.cpp.
|
overridevirtual |
Definition at line 60 of file QmitkRenderingManager.cpp.
References mitk::RenderingManager::ExecutePendingRequests(), and QmitkRenderingRequestEvent::RenderingRequest.
|
overrideprotectedvirtual |
Abstract method for generating a system specific event for rendering request. This method is called whenever an update is requested
Implements mitk::RenderingManager.
Definition at line 43 of file QmitkRenderingManager.cpp.
QmitkRenderingManager::mitkClassMacro | ( | QmitkRenderingManager | , |
mitk::RenderingManager | |||
) |
|
staticprotected |
Referenced by QmitkRenderingManagerFactory::CreateRenderingManager().
|
overrideprotectedvirtual |
Force a sub-class to start a timer for a pending hires-rendering request
Reimplemented from mitk::RenderingManager.
Definition at line 48 of file QmitkRenderingManager.cpp.
References pendingTimerCallbacks, and TimerCallback().
|
protectedslot |
Definition at line 54 of file QmitkRenderingManager.cpp.
References mitk::RenderingManager::ExecutePendingHighResRenderingRequest(), and pendingTimerCallbacks.
Referenced by StartOrResetTimer().
|
protected |
Definition at line 64 of file QmitkRenderingManager.h.
Referenced by QmitkRenderingManager(), StartOrResetTimer(), and TimerCallback().