Medical Imaging Interaction Toolkit  2023.12.99-101158b3
Medical Imaging Interaction Toolkit
mitk::RenderingManager Class Referenceabstract

Manager for coordinating the rendering process. More...

#include <mitkRenderingManager.h>

Inheritance diagram for mitk::RenderingManager:
Collaboration diagram for mitk::RenderingManager:

Classes

struct  RenderWindowCallbacks
 

Public Types

enum  RequestType { REQUEST_UPDATE_ALL, REQUEST_UPDATE_2DWINDOWS, REQUEST_UPDATE_3DWINDOWS }
 
typedef RenderingManager Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef std::vector< vtkRenderWindow * > RenderWindowVector
 
typedef std::vector< float > FloatVector
 
typedef std::vector< bool > BoolVector
 
typedef itk::SmartPointer< DataStorageDataStoragePointer
 

Public Member Functions

virtual std::vector< std::string > GetClassHierarchy () const
 
virtual const char * GetClassName () const
 
void AddRenderWindow (vtkRenderWindow *renderWindow)
 
void RemoveRenderWindow (vtkRenderWindow *renderWindow)
 
const RenderWindowVectorGetAllRegisteredRenderWindows ()
 
void RequestUpdate (vtkRenderWindow *renderWindow)
 
void ForceImmediateUpdate (vtkRenderWindow *renderWindow)
 
void RequestUpdateAll (RequestType type=REQUEST_UPDATE_ALL)
 
void ForceImmediateUpdateAll (RequestType type=REQUEST_UPDATE_ALL)
 
virtual void InitializeViewsByBoundingObjects (const DataStorage *dataStorage)
 Initialize the render windows by the aggregated geometry of all objects that are held in the data storage. More...
 
virtual void InitializeViewByBoundingObjects (vtkRenderWindow *renderWindow, const DataStorage *dataStorage, bool resetCamera=true)
 Initialize the given render window by the aggregated geometry of all objects that are held in the data storage. More...
 
virtual bool InitializeViews (const BaseGeometry *geometry, RequestType type=REQUEST_UPDATE_ALL, bool resetCamera=true)
 Initialize the render windows specified by "type" to the given geometry. More...
 
virtual bool InitializeViews (const TimeGeometry *geometry, RequestType type=REQUEST_UPDATE_ALL, bool resetCamera=true)
 Initialize the render windows specified by "type" to the given geometry. More...
 
virtual bool InitializeViews (RequestType type=REQUEST_UPDATE_ALL)
 Initialize the render windows specified by "type" to the default viewing direction without updating the geometry information. More...
 
virtual bool InitializeView (vtkRenderWindow *renderWindow, const BaseGeometry *geometry, bool resetCamera=true)
 Initialize the specified render window to the given geometry. More...
 
virtual bool InitializeView (vtkRenderWindow *renderWindow, const TimeGeometry *geometry, bool resetCamera=true)
 Initialize the specified render window to the given geometry. More...
 
virtual bool InitializeView (vtkRenderWindow *renderWindow)
 Initialize the specified render window to the default viewing direction without updating the geometry information. More...
 
const TimeNavigationControllerGetTimeNavigationController () const
 
TimeNavigationControllerGetTimeNavigationController ()
 
 ~RenderingManager () override
 
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 ()
 
virtual void StartOrResetTimer ()
 
void ExecutePendingHighResRenderingRequest ()
 
virtual void DoStartRendering ()
 
virtual void DoMonitorRendering ()
 
virtual void DoFinishAbortRendering ()
 
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)
 
FloatVectorGetShadingValues ()
 
PropertyList::Pointer GetPropertyList () const
 
BasePropertyGetProperty (const char *propertyKey) const
 
void SetProperty (const char *propertyKey, BaseProperty *propertyValue)
 
void SetDataStorage (DataStorage *storage)
 Setter for internal DataStorage. More...
 
virtual DataStorageGetDataStorage ()
 Getter for internal DataStorage. More...
 
virtual DataStorageGetDataStorage () const
 
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)
 
virtual bool GetConstrainedPanningZooming () const
 
void SetAntiAliasing (AntiAliasing antiAliasing)
 
virtual AntiAliasing GetAntiAliasing () const
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 
static Pointer New ()
 
static void SetFactory (RenderingManagerFactory *factory)
 
static const RenderingManagerFactoryGetFactory ()
 
static bool HasFactory ()
 
static RenderingManagerGetInstance ()
 
static bool IsInstantiated ()
 

Protected Types

enum  { RENDERING_INACTIVE, RENDERING_REQUESTED, RENDERING_INPROGRESS }
 
typedef std::map< BaseRenderer *, unsigned int > RendererIntMap
 
typedef std::map< BaseRenderer *, bool > RendererBoolMap
 
typedef std::map< vtkRenderWindow *, int > RenderWindowList
 
typedef std::map< vtkRenderWindow *, RenderWindowCallbacksRenderWindowCallbacksList
 

Protected Member Functions

 RenderingManager ()
 
virtual void GenerateRenderingRequestEvent ()=0
 
virtual void InitializePropertyList ()
 

Static Protected Member Functions

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)
 

Protected Attributes

bool m_UpdatePending
 
RendererBoolMap m_RenderingAbortedMap
 
RendererIntMap m_NextLODMap
 
unsigned int m_MaxLOD
 
bool m_LODIncreaseBlocked
 
bool m_LODAbortMechanismEnabled
 
BoolVector m_ShadingEnabled
 
bool m_ClippingPlaneEnabled
 
FloatVector m_ShadingValues
 
RenderWindowList m_RenderWindowList
 
RenderWindowVector m_AllRenderWindows
 
RenderWindowCallbacksList m_RenderWindowCallbacksList
 
itk::SmartPointer< TimeNavigationControllerm_TimeNavigationController
 
PropertyList::Pointer m_PropertyList
 
DataStoragePointer m_DataStorage
 
bool m_ConstrainedPanningZooming
 

Static Protected Attributes

static RenderingManager::Pointer s_Instance
 
static RenderingManagerFactorys_RenderingManagerFactory
 

Detailed Description

Manager for coordinating the rendering process.

RenderingManager is a central instance retrieving and executing RenderWindow update requests. Its main purpose is to coordinate distributed requests which cannot be aware of each other - lacking the knowledge of whether they are really necessary or not. For example, two objects might determine that a specific RenderWindow needs to be updated. This would result in one unnecessary update, if both executed the update on their own.

The RenderingManager addresses this by letting each such object request an update, and waiting for other objects to possibly issue the same request. The actual update will then only be executed at a well-defined point in the main event loop (this may be each time after event processing is done).

Convenience methods for updating all RenderWindows which have been registered with the RenderingManager exist. If these methods are not used, it is not required to register (add) RenderWindows prior to using the RenderingManager.

The methods ForceImmediateUpdate() and ForceImmediateUpdateAll() can be used to force the RenderWindow update execution without any delay, bypassing the request functionality.

The interface of RenderingManager is platform independent. Platform specific subclasses have to be implemented, though, to supply an appropriate event issuing for controlling the update execution process. See method documentation for a description of how this can be done.

See also
TestingRenderingManager An "empty" RenderingManager implementation which can be used in tests etc.

Definition at line 74 of file mitkRenderingManager.h.

Member Typedef Documentation

◆ BoolVector

typedef std::vector<bool> mitk::RenderingManager::BoolVector

Definition at line 81 of file mitkRenderingManager.h.

◆ ConstPointer

◆ DataStoragePointer

◆ FloatVector

typedef std::vector<float> mitk::RenderingManager::FloatVector

Definition at line 80 of file mitkRenderingManager.h.

◆ Pointer

◆ RendererBoolMap

typedef std::map<BaseRenderer *, bool> mitk::RenderingManager::RendererBoolMap
protected

Definition at line 387 of file mitkRenderingManager.h.

◆ RendererIntMap

typedef std::map<BaseRenderer *, unsigned int> mitk::RenderingManager::RendererIntMap
protected

Definition at line 386 of file mitkRenderingManager.h.

◆ RenderWindowCallbacksList

typedef std::map<vtkRenderWindow *, RenderWindowCallbacks> mitk::RenderingManager::RenderWindowCallbacksList
protected

Definition at line 419 of file mitkRenderingManager.h.

◆ RenderWindowList

typedef std::map<vtkRenderWindow *, int> mitk::RenderingManager::RenderWindowList
protected

Definition at line 409 of file mitkRenderingManager.h.

◆ RenderWindowVector

typedef std::vector<vtkRenderWindow *> mitk::RenderingManager::RenderWindowVector

Definition at line 77 of file mitkRenderingManager.h.

◆ Self

◆ Superclass

Definition at line 77 of file mitkRenderingManager.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
RENDERING_INACTIVE 
RENDERING_REQUESTED 
RENDERING_INPROGRESS 

Definition at line 369 of file mitkRenderingManager.h.

◆ RequestType

Enumerator
REQUEST_UPDATE_ALL 
REQUEST_UPDATE_2DWINDOWS 
REQUEST_UPDATE_3DWINDOWS 

Definition at line 85 of file mitkRenderingManager.h.

Constructor & Destructor Documentation

◆ ~RenderingManager()

mitk::RenderingManager::~RenderingManager ( )
override

◆ RenderingManager()

mitk::RenderingManager::RenderingManager ( )
protected

Member Function Documentation

◆ AbortRendering()

void mitk::RenderingManager::AbortRendering ( )

◆ AddRenderWindow()

void mitk::RenderingManager::AddRenderWindow ( vtkRenderWindow *  renderWindow)

Adds a RenderWindow. This is required if the methods RequestUpdateAll or ForceImmediateUpdate are to be used.

◆ DoFinishAbortRendering()

virtual void mitk::RenderingManager::DoFinishAbortRendering ( )
inlinevirtual

Reimplemented in QmitkRenderingManager.

Definition at line 308 of file mitkRenderingManager.h.

◆ DoMonitorRendering()

virtual void mitk::RenderingManager::DoMonitorRendering ( )
inlinevirtual

Reimplemented in QmitkRenderingManager.

Definition at line 307 of file mitkRenderingManager.h.

◆ DoStartRendering()

virtual void mitk::RenderingManager::DoStartRendering ( )
inlinevirtual

Definition at line 306 of file mitkRenderingManager.h.

◆ ExecutePendingHighResRenderingRequest()

void mitk::RenderingManager::ExecutePendingHighResRenderingRequest ( )

To be called by a sub-class from a timer callback

◆ ExecutePendingRequests()

virtual void mitk::RenderingManager::ExecutePendingRequests ( )
virtual

Executes all pending requests. This method has to be called by the system whenever a RenderingManager induced request event occurs in the system pipeline (see concrete RenderingManager implementations).

◆ ForceImmediateUpdate()

void mitk::RenderingManager::ForceImmediateUpdate ( vtkRenderWindow *  renderWindow)

Immediately executes an update of the specified RenderWindow.

◆ ForceImmediateUpdateAll()

void mitk::RenderingManager::ForceImmediateUpdateAll ( RequestType  type = REQUEST_UPDATE_ALL)

Immediately executes an update of all registered RenderWindows. If only 2D or 3D windows should be updated, this can be specified via the parameter requestType.

◆ GenerateRenderingRequestEvent()

virtual void mitk::RenderingManager::GenerateRenderingRequestEvent ( )
protectedpure virtual

Abstract method for generating a system specific event for rendering request. This method is called whenever an update is requested

Implemented in mitk::TestingRenderingManager, and QmitkRenderingManager.

◆ GetAllRegisteredRenderWindows()

const RenderWindowVector& mitk::RenderingManager::GetAllRegisteredRenderWindows ( )

Get a list of all registered RenderWindows

◆ GetAntiAliasing()

virtual AntiAliasing mitk::RenderingManager::GetAntiAliasing ( ) const
virtual

◆ GetClassHierarchy()

virtual std::vector<std::string> mitk::RenderingManager::GetClassHierarchy ( ) const
inlinevirtual

Reimplemented in mitk::TestingRenderingManager.

Definition at line 77 of file mitkRenderingManager.h.

◆ GetClassName()

virtual const char* mitk::RenderingManager::GetClassName ( ) const
virtual

Reimplemented in mitk::TestingRenderingManager.

◆ GetClippingPlaneStatus()

bool mitk::RenderingManager::GetClippingPlaneStatus ( )

◆ GetConstrainedPanningZooming()

virtual bool mitk::RenderingManager::GetConstrainedPanningZooming ( ) const
virtual

◆ GetDataStorage() [1/2]

virtual DataStorage* mitk::RenderingManager::GetDataStorage ( )
virtual

Getter for internal DataStorage.

Returns the DataStorage that is used internally. This instance holds all DataNodes that are rendered by the registered BaseRenderers.

◆ GetDataStorage() [2/2]

virtual DataStorage* mitk::RenderingManager::GetDataStorage ( ) const
virtual

◆ GetFactory()

static const RenderingManagerFactory* mitk::RenderingManager::GetFactory ( )
static

Get the object factory which produces the platform specific RenderingManager instances.

◆ GetFocusedRenderWindow()

virtual vtkRenderWindow* mitk::RenderingManager::GetFocusedRenderWindow ( )
virtual

◆ GetInstance()

static RenderingManager* mitk::RenderingManager::GetInstance ( )
static

◆ GetLODAbortMechanismEnabled()

virtual bool mitk::RenderingManager::GetLODAbortMechanismEnabled ( )
virtual

En-/Disable LOD abort mechanism.

◆ GetLODIncreaseBlocked()

virtual bool mitk::RenderingManager::GetLODIncreaseBlocked ( )
virtual

En-/Disable LOD increase globally.

◆ GetNextLOD()

int mitk::RenderingManager::GetNextLOD ( BaseRenderer renderer)

◆ GetProperty()

BaseProperty* mitk::RenderingManager::GetProperty ( const char *  propertyKey) const

Returns a property from m_PropertyList

◆ GetPropertyList()

PropertyList::Pointer mitk::RenderingManager::GetPropertyList ( ) const

Returns a property list

◆ GetShading()

bool mitk::RenderingManager::GetShading ( unsigned int  lod)

◆ GetShadingValues()

FloatVector& mitk::RenderingManager::GetShadingValues ( )

◆ GetStaticNameOfClass()

static const char* mitk::RenderingManager::GetStaticNameOfClass ( )
inlinestatic

Definition at line 77 of file mitkRenderingManager.h.

◆ GetTimeNavigationController() [1/2]

TimeNavigationController* mitk::RenderingManager::GetTimeNavigationController ( )

Gets the (global) TimeNavigationController responsible for time-slicing.

◆ GetTimeNavigationController() [2/2]

const TimeNavigationController* mitk::RenderingManager::GetTimeNavigationController ( ) const

Gets the (global) TimeNavigationController responsible for time-slicing.

◆ HasFactory()

static bool mitk::RenderingManager::HasFactory ( )
static

Returns true if a factory has already been set.

Referenced by mitk::TestingRenderingManagerFactory::TestingRenderingManagerFactory().

◆ InitializePropertyList()

virtual void mitk::RenderingManager::InitializePropertyList ( )
protectedvirtual

◆ InitializeView() [1/3]

virtual bool mitk::RenderingManager::InitializeView ( vtkRenderWindow *  renderWindow)
virtual

Initialize the specified render window to the default viewing direction without updating the geometry information.

Parameters
renderWindowThe specific render window to update

◆ InitializeView() [2/3]

virtual bool mitk::RenderingManager::InitializeView ( vtkRenderWindow *  renderWindow,
const BaseGeometry geometry,
bool  resetCamera = true 
)
virtual

Initialize the specified render window to the given geometry.

Throws an exception if bounding box has 0 extent due to exceeding double precision range.

Parameters
renderWindowThe specific render window to update
geometryThe geometry to be used to initialize / update the render window's time- and slice navigation controller
resetCameraIf this parameter is set to true, the camera controller will be set / fit to the center of the rendered image. If set to false, only the the slice navigation controller is reset to the geometry without changing the camera view / position.

◆ InitializeView() [3/3]

virtual bool mitk::RenderingManager::InitializeView ( vtkRenderWindow *  renderWindow,
const TimeGeometry geometry,
bool  resetCamera = true 
)
virtual

Initialize the specified render window to the given geometry.

Throws an exception if bounding box has 0 extent due to exceeding double precision range.

Parameters
renderWindowThe specific render window to update
geometryThe geometry to be used to initialize / update the render window's time- and slice navigation controller
resetCameraIf this parameter is set to true, the camera controller will be set / fit to the center of the rendered image. If set to false, only the the slice navigation controller is reset to the geometry without changing the camera view / position.

◆ InitializeViewByBoundingObjects()

virtual void mitk::RenderingManager::InitializeViewByBoundingObjects ( vtkRenderWindow *  renderWindow,
const DataStorage dataStorage,
bool  resetCamera = true 
)
virtual

Initialize the given render window by the aggregated geometry of all objects that are held in the data storage.

Parameters
renderWindowThe specifid render window to update
dataStorageThe data storage from which the bounding object can be retrieved
resetCameraIf this parameter is set to true, the camera controller will be set / fit to the center of the rendered image. If set to false, only the the slice navigation controller is reset to the geometry without changing the camera view / position.

◆ InitializeViews() [1/3]

virtual bool mitk::RenderingManager::InitializeViews ( const BaseGeometry geometry,
RequestType  type = REQUEST_UPDATE_ALL,
bool  resetCamera = true 
)
virtual

Initialize the render windows specified by "type" to the given geometry.

Throws an exception if bounding box has 0 extent due to exceeding double precision range.

Parameters
geometryThe geometry to be used to initialize / update a render window's time and slice navigation controller
typeThe type of update request:
  • REQUEST_UPDATE_ALL will initialize / update the time and slice navigation controller of all retrieved render windows
  • REQUEST_UPDATE_2DWINDOWS will only initialize / update the time and slice navigation controller of 2D render windows
  • REQUEST_UPDATE_3DWINDOWS will only initialize / update the time and slice navigation controller of 3D render windows
resetCameraIf this parameter is set to true, the camera controller will be set / fit to the center of the rendered image. If set to false, only the the slice navigation controller is reset to the geometry without changing the camera view / position.

◆ InitializeViews() [2/3]

virtual bool mitk::RenderingManager::InitializeViews ( const TimeGeometry geometry,
RequestType  type = REQUEST_UPDATE_ALL,
bool  resetCamera = true 
)
virtual

Initialize the render windows specified by "type" to the given geometry.

Throws an exception if bounding box has 0 extent due to exceeding double precision range.

Parameters
geometryThe geometry to be used to initialize / update a render window's time- and slice navigation controller
typeThe type of update request:
  • REQUEST_UPDATE_ALL will initialize / update the time- and slice navigation controller of all retrieved render windows
  • REQUEST_UPDATE_2DWINDOWS will only initialize / update the time- and slice navigation controller of 2D render windows
  • REQUEST_UPDATE_3DWINDOWS will only initialize / update the time- and slice navigation controller of 3D render windows
resetCameraIf this parameter is set to true, the camera controller will be set / fit to the center of the rendered image. If set to false, only the the slice navigation controller is reset to the geometry without changing the camera view / position.

◆ InitializeViews() [3/3]

virtual bool mitk::RenderingManager::InitializeViews ( RequestType  type = REQUEST_UPDATE_ALL)
virtual

Initialize the render windows specified by "type" to the default viewing direction without updating the geometry information.

Parameters
typeThe type of update request:
  • REQUEST_UPDATE_ALL will initialize the slice navigation controller of all retrieved render windows
  • REQUEST_UPDATE_2DWINDOWS will only initialize the slice navigation controller of 2D render windows
  • REQUEST_UPDATE_3DWINDOWS will only initialize the slice navigation controller of 3D render windows

◆ InitializeViewsByBoundingObjects()

virtual void mitk::RenderingManager::InitializeViewsByBoundingObjects ( const DataStorage dataStorage)
virtual

Initialize the render windows by the aggregated geometry of all objects that are held in the data storage.

Parameters
dataStorageThe data storage from which the bounding object can be retrieved

◆ IsInstantiated()

static bool mitk::RenderingManager::IsInstantiated ( )
static

Returns true if the singleton instance does already exist.

◆ IsRendering()

bool mitk::RenderingManager::IsRendering ( ) const

◆ LODAbortMechanismEnabledOff()

virtual void mitk::RenderingManager::LODAbortMechanismEnabledOff ( )
virtual

◆ LODAbortMechanismEnabledOn()

virtual void mitk::RenderingManager::LODAbortMechanismEnabledOn ( )
virtual

En-/Disable LOD abort mechanism.

◆ LODIncreaseBlockedOff()

virtual void mitk::RenderingManager::LODIncreaseBlockedOff ( )
virtual

◆ LODIncreaseBlockedOn()

virtual void mitk::RenderingManager::LODIncreaseBlockedOn ( )
virtual

En-/Disable LOD increase globally.

◆ New()

static Pointer mitk::RenderingManager::New ( )
static

◆ RemoveRenderWindow()

void mitk::RenderingManager::RemoveRenderWindow ( vtkRenderWindow *  renderWindow)

Removes a RenderWindow.

◆ RenderingEndCallback()

static void mitk::RenderingManager::RenderingEndCallback ( vtkObject *  caller,
unsigned long  eid,
void *  clientdata,
void *  calldata 
)
staticprotected

◆ RenderingProgressCallback()

static void mitk::RenderingManager::RenderingProgressCallback ( vtkObject *  caller,
unsigned long  eid,
void *  clientdata,
void *  calldata 
)
staticprotected

◆ RenderingStartCallback()

static void mitk::RenderingManager::RenderingStartCallback ( vtkObject *  caller,
unsigned long  eid,
void *  clientdata,
void *  calldata 
)
staticprotected

◆ RequestUpdate()

void mitk::RenderingManager::RequestUpdate ( vtkRenderWindow *  renderWindow)

Requests an update for the specified RenderWindow, to be executed as soon as the main loop is ready for rendering.

◆ RequestUpdateAll()

void mitk::RenderingManager::RequestUpdateAll ( RequestType  type = REQUEST_UPDATE_ALL)

Requests all currently registered RenderWindows to be updated. If only 2D or 3D windows should be updated, this can be specified via the parameter requestType.

Referenced by QmitkTransferFunctionCanvas::SetX(), and QmitkTransferFunctionCanvas::SetY().

◆ SetAntiAliasing()

void mitk::RenderingManager::SetAntiAliasing ( AntiAliasing  antiAliasing)

◆ SetClippingPlaneStatus()

void mitk::RenderingManager::SetClippingPlaneStatus ( bool  status)

◆ SetConstrainedPanningZooming()

virtual void mitk::RenderingManager::SetConstrainedPanningZooming ( bool  _arg)
virtual

◆ SetDataStorage()

void mitk::RenderingManager::SetDataStorage ( DataStorage storage)

Setter for internal DataStorage.

Sets the DataStorage that is used internally. This instance holds all DataNodes that are rendered by the registered BaseRenderers.

If this DataStorage is changed at runtime by calling SetDataStorage(), all currently registered BaseRenderers are automatically given the correct instance. When a new BaseRenderer is added, it is automatically initialized with the currently active DataStorage.

◆ SetFactory()

static void mitk::RenderingManager::SetFactory ( RenderingManagerFactory factory)
static

Set the object factory which produces the desired platform specific RenderingManager singleton instance.

Referenced by mitk::TestingRenderingManagerFactory::TestingRenderingManagerFactory().

◆ SetLODAbortMechanismEnabled()

virtual void mitk::RenderingManager::SetLODAbortMechanismEnabled ( bool  _arg)
virtual

En-/Disable LOD abort mechanism.

◆ SetLODIncreaseBlocked()

virtual void mitk::RenderingManager::SetLODIncreaseBlocked ( bool  _arg)
virtual

En-/Disable LOD increase globally.

◆ SetMaximumLOD()

void mitk::RenderingManager::SetMaximumLOD ( unsigned int  max)

Set current LOD (nullptr means all renderers)

◆ SetProperty()

void mitk::RenderingManager::SetProperty ( const char *  propertyKey,
BaseProperty propertyValue 
)

Sets or adds (if not present) a property in m_PropertyList

◆ SetRenderWindowFocus()

void mitk::RenderingManager::SetRenderWindowFocus ( vtkRenderWindow *  focusWindow)

Sets a flag to the given renderwindow to indicated that it has the focus e.g. has been clicked recently.

Parameters
focusWindow

◆ SetShading()

void mitk::RenderingManager::SetShading ( bool  state,
unsigned int  lod 
)

◆ SetShadingValues()

void mitk::RenderingManager::SetShadingValues ( float  ambient,
float  diffuse,
float  specular,
float  specpower 
)

◆ StartOrResetTimer()

virtual void mitk::RenderingManager::StartOrResetTimer ( )
inlinevirtual

Force a sub-class to start a timer for a pending hires-rendering request

Reimplemented in QmitkRenderingManager.

Definition at line 301 of file mitkRenderingManager.h.

Member Data Documentation

◆ m_AllRenderWindows

RenderWindowVector mitk::RenderingManager::m_AllRenderWindows
protected

Definition at line 412 of file mitkRenderingManager.h.

◆ m_ClippingPlaneEnabled

bool mitk::RenderingManager::m_ClippingPlaneEnabled
protected

Definition at line 401 of file mitkRenderingManager.h.

◆ m_ConstrainedPanningZooming

bool mitk::RenderingManager::m_ConstrainedPanningZooming
protected

Definition at line 432 of file mitkRenderingManager.h.

◆ m_DataStorage

DataStoragePointer mitk::RenderingManager::m_DataStorage
protected

Definition at line 430 of file mitkRenderingManager.h.

◆ m_LODAbortMechanismEnabled

bool mitk::RenderingManager::m_LODAbortMechanismEnabled
protected

Definition at line 397 of file mitkRenderingManager.h.

◆ m_LODIncreaseBlocked

bool mitk::RenderingManager::m_LODIncreaseBlocked
protected

Definition at line 395 of file mitkRenderingManager.h.

◆ m_MaxLOD

unsigned int mitk::RenderingManager::m_MaxLOD
protected

Definition at line 393 of file mitkRenderingManager.h.

◆ m_NextLODMap

RendererIntMap mitk::RenderingManager::m_NextLODMap
protected

Definition at line 391 of file mitkRenderingManager.h.

◆ m_PropertyList

PropertyList::Pointer mitk::RenderingManager::m_PropertyList
protected

Definition at line 428 of file mitkRenderingManager.h.

◆ m_RenderingAbortedMap

RendererBoolMap mitk::RenderingManager::m_RenderingAbortedMap
protected

Definition at line 389 of file mitkRenderingManager.h.

◆ m_RenderWindowCallbacksList

RenderWindowCallbacksList mitk::RenderingManager::m_RenderWindowCallbacksList
protected

Definition at line 421 of file mitkRenderingManager.h.

◆ m_RenderWindowList

RenderWindowList mitk::RenderingManager::m_RenderWindowList
protected

Definition at line 411 of file mitkRenderingManager.h.

◆ m_ShadingEnabled

BoolVector mitk::RenderingManager::m_ShadingEnabled
protected

Definition at line 399 of file mitkRenderingManager.h.

◆ m_ShadingValues

FloatVector mitk::RenderingManager::m_ShadingValues
protected

Definition at line 403 of file mitkRenderingManager.h.

◆ m_TimeNavigationController

itk::SmartPointer<TimeNavigationController> mitk::RenderingManager::m_TimeNavigationController
protected

Definition at line 423 of file mitkRenderingManager.h.

◆ m_UpdatePending

bool mitk::RenderingManager::m_UpdatePending
protected

Definition at line 384 of file mitkRenderingManager.h.

◆ s_Instance

RenderingManager::Pointer mitk::RenderingManager::s_Instance
staticprotected

Definition at line 425 of file mitkRenderingManager.h.

◆ s_RenderingManagerFactory

RenderingManagerFactory* mitk::RenderingManager::s_RenderingManagerFactory
staticprotected

Definition at line 426 of file mitkRenderingManager.h.


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