Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitk::IRenderingManager Struct Referenceabstract

An interface for accessing a mitk::RenderingManager instance. More...

#include <mitkIRenderingManager.h>

Public Member Functions

virtual ~IRenderingManager ()
 
virtual QList< vtkRenderWindow * > GetAllRegisteredVtkRenderWindows () const =0
 
virtual void RequestUpdate (vtkRenderWindow *renderWindow)=0
 
virtual void ForceImmediateUpdate (vtkRenderWindow *renderWindow)=0
 
virtual void RequestUpdateAll (RenderingManager::RequestType type=RenderingManager::REQUEST_UPDATE_ALL)=0
 
virtual void ForceImmediateUpdateAll (RenderingManager::RequestType type=RenderingManager::REQUEST_UPDATE_ALL)=0
 
virtual bool InitializeViews (const BaseGeometry *geometry, RenderingManager::RequestType type=RenderingManager::REQUEST_UPDATE_ALL, bool preserveRoughOrientationInWorldSpace=false)=0
 
virtual bool InitializeViews (const TimeGeometry *geometry, RenderingManager::RequestType type=RenderingManager::REQUEST_UPDATE_ALL, bool preserveRoughOrientationInWorldSpace=false)=0
 
virtual bool InitializeViews (RenderingManager::RequestType type=RenderingManager::REQUEST_UPDATE_ALL)=0
 
virtual bool InitializeView (vtkRenderWindow *renderWindow, const BaseGeometry *geometry, bool initializeGlobalTimeSNC=false)=0
 
virtual bool InitializeView (vtkRenderWindow *renderWindow)=0
 
virtual const TimeNavigationControllerGetTimeNavigationController () const =0
 
virtual TimeNavigationControllerGetTimeNavigationController ()=0
 
virtual bool IsRendering () const =0
 
virtual void AbortRendering ()=0
 
virtual void SetLODIncreaseBlocked (bool blocked)=0
 
virtual bool GetLODIncreaseBlocked () const =0
 
virtual void SetLODAbortMechanismEnabled (bool abort)=0
 
virtual bool GetLODAbortMechanismEnabled () const =0
 
virtual int GetNextLOD (BaseRenderer *renderer) const =0
 
virtual void SetMaximumLOD (unsigned int max)=0
 
virtual void SetShading (bool state, unsigned int lod)=0
 
virtual bool GetShading (unsigned int lod)=0
 
virtual void SetClippingPlaneStatus (bool status)=0
 
virtual bool GetClippingPlaneStatus ()=0
 
virtual void SetShadingValues (float ambient, float diffuse, float specular, float specpower)=0
 
virtual QList< float > GetShadingValues () const =0
 

Detailed Description

An interface for accessing a mitk::RenderingManager instance.

This interface acts as a wrapper to a mitk::RenderingManager instance, hiding some methods from the user.

See also
MakeRenderingManagerInterface

Definition at line 34 of file mitkIRenderingManager.h.

Constructor & Destructor Documentation

◆ ~IRenderingManager()

virtual mitk::IRenderingManager::~IRenderingManager ( )
inlinevirtual

Definition at line 35 of file mitkIRenderingManager.h.

Member Function Documentation

◆ AbortRendering()

virtual void mitk::IRenderingManager::AbortRendering ( )
pure virtual

◆ ForceImmediateUpdate()

virtual void mitk::IRenderingManager::ForceImmediateUpdate ( vtkRenderWindow *  renderWindow)
pure virtual

Immediately executes an update of the specified RenderWindow.

◆ ForceImmediateUpdateAll()

virtual void mitk::IRenderingManager::ForceImmediateUpdateAll ( RenderingManager::RequestType  type = RenderingManager::REQUEST_UPDATE_ALL)
pure virtual

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.

◆ GetAllRegisteredVtkRenderWindows()

virtual QList<vtkRenderWindow*> mitk::IRenderingManager::GetAllRegisteredVtkRenderWindows ( ) const
pure virtual

Get a list of all registered RenderWindows

◆ GetClippingPlaneStatus()

virtual bool mitk::IRenderingManager::GetClippingPlaneStatus ( )
pure virtual

◆ GetLODAbortMechanismEnabled()

virtual bool mitk::IRenderingManager::GetLODAbortMechanismEnabled ( ) const
pure virtual

Get LOD abort mechanism status.

◆ GetLODIncreaseBlocked()

virtual bool mitk::IRenderingManager::GetLODIncreaseBlocked ( ) const
pure virtual

Get LOD blocked status.

◆ GetNextLOD()

virtual int mitk::IRenderingManager::GetNextLOD ( BaseRenderer renderer) const
pure virtual

◆ GetShading()

virtual bool mitk::IRenderingManager::GetShading ( unsigned int  lod)
pure virtual

◆ GetShadingValues()

virtual QList<float> mitk::IRenderingManager::GetShadingValues ( ) const
pure virtual

◆ GetTimeNavigationController() [1/2]

virtual const TimeNavigationController* mitk::IRenderingManager::GetTimeNavigationController ( ) const
pure virtual

Gets the TimeNavigationController responsible for time-slicing.

◆ GetTimeNavigationController() [2/2]

virtual TimeNavigationController* mitk::IRenderingManager::GetTimeNavigationController ( )
pure virtual

Gets the TimeNavigationController responsible for time-slicing.

◆ InitializeView() [1/2]

virtual bool mitk::IRenderingManager::InitializeView ( vtkRenderWindow *  renderWindow)
pure virtual

Initializes the specified window to the default viewing direction (geometry information is NOT changed).

◆ InitializeView() [2/2]

virtual bool mitk::IRenderingManager::InitializeView ( vtkRenderWindow *  renderWindow,
const BaseGeometry geometry,
bool  initializeGlobalTimeSNC = false 
)
pure virtual

Initializes the specified window to the given geometry. Set "initializeGlobalTimeSNC" to true in order to use this geometry as global TimeGeometry.

◆ InitializeViews() [1/3]

virtual bool mitk::IRenderingManager::InitializeViews ( const BaseGeometry geometry,
RenderingManager::RequestType  type = RenderingManager::REQUEST_UPDATE_ALL,
bool  preserveRoughOrientationInWorldSpace = false 
)
pure virtual

Initializes the windows specified by requestType to the given geometry.

◆ InitializeViews() [2/3]

virtual bool mitk::IRenderingManager::InitializeViews ( const TimeGeometry geometry,
RenderingManager::RequestType  type = RenderingManager::REQUEST_UPDATE_ALL,
bool  preserveRoughOrientationInWorldSpace = false 
)
pure virtual

◆ InitializeViews() [3/3]

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

Initializes the windows to the default viewing direction (geometry information is NOT changed).

◆ IsRendering()

virtual bool mitk::IRenderingManager::IsRendering ( ) const
pure virtual

◆ RequestUpdate()

virtual void mitk::IRenderingManager::RequestUpdate ( vtkRenderWindow *  renderWindow)
pure virtual

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

◆ RequestUpdateAll()

virtual void mitk::IRenderingManager::RequestUpdateAll ( RenderingManager::RequestType  type = RenderingManager::REQUEST_UPDATE_ALL)
pure virtual

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.

◆ SetClippingPlaneStatus()

virtual void mitk::IRenderingManager::SetClippingPlaneStatus ( bool  status)
pure virtual

◆ SetLODAbortMechanismEnabled()

virtual void mitk::IRenderingManager::SetLODAbortMechanismEnabled ( bool  abort)
pure virtual

En-/Disable LOD abort mechanism.

◆ SetLODIncreaseBlocked()

virtual void mitk::IRenderingManager::SetLODIncreaseBlocked ( bool  blocked)
pure virtual

En-/Disable LOD increase globally.

◆ SetMaximumLOD()

virtual void mitk::IRenderingManager::SetMaximumLOD ( unsigned int  max)
pure virtual

Set current LOD (nullptr means all renderers)

◆ SetShading()

virtual void mitk::IRenderingManager::SetShading ( bool  state,
unsigned int  lod 
)
pure virtual

◆ SetShadingValues()

virtual void mitk::IRenderingManager::SetShadingValues ( float  ambient,
float  diffuse,
float  specular,
float  specpower 
)
pure virtual

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