Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
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 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 SliceNavigationControllerGetTimeNavigationController () const
 
SliceNavigationControllerGetTimeNavigationController ()
 
 ~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 (mitk::DataStorage *storage)
 Setter / Getter for internal DataStorage. More...
 
mitk::DataStorageGetDataStorage ()
 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)
 
virtual AntiAliasing GetAntiAliasing ()
 
void SetAntiAliasing (AntiAliasing antiAliasing)
 

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< SliceNavigationControllerm_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).

Convinience methods for updating all RenderWindows which have been registered with the RenderingManager exist. If theses 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 issueing 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 76 of file mitkRenderingManager.h.

Member Typedef Documentation

◆ BoolVector

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

Definition at line 83 of file mitkRenderingManager.h.

◆ ConstPointer

◆ DataStoragePointer

◆ FloatVector

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

Definition at line 82 of file mitkRenderingManager.h.

◆ Pointer

◆ RendererBoolMap

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

Definition at line 315 of file mitkRenderingManager.h.

◆ RendererIntMap

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

Definition at line 314 of file mitkRenderingManager.h.

◆ RenderWindowCallbacksList

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

Definition at line 347 of file mitkRenderingManager.h.

◆ RenderWindowList

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

Definition at line 337 of file mitkRenderingManager.h.

◆ RenderWindowVector

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

Definition at line 79 of file mitkRenderingManager.h.

◆ Self

◆ Superclass

Definition at line 79 of file mitkRenderingManager.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
RENDERING_INACTIVE 
RENDERING_REQUESTED 
RENDERING_INPROGRESS 

Definition at line 297 of file mitkRenderingManager.h.

◆ RequestType

Enumerator
REQUEST_UPDATE_ALL 
REQUEST_UPDATE_2DWINDOWS 
REQUEST_UPDATE_3DWINDOWS 

Definition at line 87 of file mitkRenderingManager.h.

Constructor & Destructor Documentation

◆ ~RenderingManager()

mitk::RenderingManager::~RenderingManager ( )
override

Definition at line 57 of file mitkRenderingManager.cpp.

References m_AllRenderWindows, and m_RenderWindowCallbacksList.

◆ RenderingManager()

mitk::RenderingManager::RenderingManager ( )
protected

Member Function Documentation

◆ AbortRendering()

void mitk::RenderingManager::AbortRendering ( )

◆ AddRenderWindow()

◆ DoFinishAbortRendering()

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

Reimplemented in QmitkRenderingManager.

Definition at line 232 of file mitkRenderingManager.h.

References max().

◆ DoMonitorRendering()

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

Reimplemented in QmitkRenderingManager.

Definition at line 231 of file mitkRenderingManager.h.

◆ DoStartRendering()

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

Definition at line 230 of file mitkRenderingManager.h.

◆ ExecutePendingHighResRenderingRequest()

void mitk::RenderingManager::ExecutePendingHighResRenderingRequest ( )

◆ ExecutePendingRequests()

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).

Definition at line 519 of file mitkRenderingManager.cpp.

References ForceImmediateUpdate(), m_RenderWindowList, m_UpdatePending, and RENDERING_REQUESTED.

Referenced by QmitkRenderingManager::event(), QmitkProgressBar::SlotAddStepsToDo(), and QmitkProgressBar::SlotProgress().

◆ ForceImmediateUpdate()

◆ 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.

Definition at line 263 of file mitkRenderingManager.cpp.

References ForceImmediateUpdate(), mitk::BaseRenderer::GetInstance(), mitk::BaseRenderer::GetMapperID(), m_RenderWindowList, REQUEST_UPDATE_2DWINDOWS, REQUEST_UPDATE_3DWINDOWS, and REQUEST_UPDATE_ALL.

Referenced by mitk::GizmoInteractor::SetManipulatedObjectNode().

◆ 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.

Referenced by RequestUpdate().

◆ GetAllRegisteredRenderWindows()

◆ GetAntiAliasing()

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

◆ GetClassHierarchy()

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

Reimplemented in mitk::TestingRenderingManager.

Definition at line 79 of file mitkRenderingManager.h.

◆ GetClassName()

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

Reimplemented in mitk::TestingRenderingManager.

◆ GetClippingPlaneStatus()

bool mitk::RenderingManager::GetClippingPlaneStatus ( )

Definition at line 672 of file mitkRenderingManager.cpp.

References m_ClippingPlaneEnabled.

◆ GetDataStorage()

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

Setter / Getter for internal DataStorage.

Sets / returns the mitk::DataStorage that is used internally. This instance holds all mitk::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.

Definition at line 719 of file mitkRenderingManager.cpp.

References m_DataStorage.

◆ GetFactory()

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

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

Definition at line 78 of file mitkRenderingManager.cpp.

References s_RenderingManagerFactory.

Referenced by New().

◆ GetFocusedRenderWindow()

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

◆ GetInstance()

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

Get the RenderingManager singleton instance.

Examples:
Step1.cpp, Step2.cpp, Step3.cpp, Step6.cpp, and Step7.cpp.

Definition at line 99 of file mitkRenderingManager.cpp.

References mitk::RenderingManagerFactory::CreateRenderingManager(), s_Instance, and s_RenderingManagerFactory.

Referenced by QmitkSliceBasedInterpolatorWidget::AcceptAllInterpolations(), QmitkSlicesInterpolator::AcceptAllInterpolations(), mitk::BinaryThresholdTool::AcceptCurrentThresholdValue(), mitk::BinaryThresholdULTool::AcceptCurrentThresholdValue(), QmitkRenderWindowWidget::ActivateCrosshair(), mitk::PlanarFigureInteractor::AddInitialPoint(), mitk::RenderingTestHelper::AddNodeToStorage(), QmitkOverlayController::AddOverlay(), mitk::SinglePointDataInteractor::AddPoint(), mitk::PlanarFigureInteractor::AddPoint(), mitk::PointSetDataInteractor::AddPoint(), mitk::VtkAnnotation::AddToRenderer(), mitk::RenderingTestHelper::AddToStorage(), QmitkDataStorageTreeModel::AdjustLayerProperty(), mitk::DisplayInteractor::AdjustLevelWindow(), mitk::BaseRenderer::BaseRenderer(), mitk::OtsuTool3D::CalculatePreview(), mitk::SegmentationInteractor::ChangeActiveLabel(), QmitkAdaptiveRegionGrowingToolGUI::ChangeLevelWindow(), QmitkSurfaceBasedInterpolatorWidget::ChangeSurfaceColor(), QmitkSlicesInterpolator::ChangeSurfaceColor(), mitk::PaintbrushTool::CheckIfCurrentSliceHasChanged(), mitk::BoundingShapeInteractor::CheckOverHandles(), mitk::DisplayInteractor::CheckRotationPossible(), mitk::DisplayActionEventBroadcast::CheckRotationPossible(), mitk::DisplayInteractor::CheckSwivelPossible(), mitk::DisplayActionEventBroadcast::CheckSwivelPossible(), QmitkToFPointSetWidget::CleanUpWidget(), QmitkPointListView::ClearPointList(), mitk::LiveWireTool2D::ClearSegmentation(), mitk::PickingTool::ConfirmSegmentation(), mitk::FastMarchingTool3D::ConfirmSegmentation(), mitk::FastMarchingTool::ConfirmSegmentation(), QmitkAdaptiveRegionGrowingToolGUI::ConfirmSegmentation(), mitk::ExampleInteractor::ConnectActionsAndFunctions(), QmitkBoundingObjectWidget::CreateBoundingObject(), mitk::AffineBaseDataInteractor3D::DataNodeChanged(), mitk::BoundingShapeInteractor::DataNodeChanged(), mitk::BinaryThresholdTool::Deactivated(), mitk::BinaryThresholdULTool::Deactivated(), mitk::FastMarchingTool3D::Deactivated(), mitk::FastMarchingTool::Deactivated(), mitk::DisplayInteractor::DecreaseTimeStep(), mitk::DisplayActionEventBroadcast::DecreaseTimeStep(), mitk::SurfaceDeformationDataInteractor3D::DeformObject(), mitk::AffineImageCropperInteractor::DeformObject(), mitk::PlanarFigureInteractor::DeleteFigure(), mitk::BoundingShapeInteractor::DeselectHandles(), mitk::ClippingPlaneInteractor3D::DeselectObject(), mitk::SurfaceDeformationDataInteractor3D::DeselectObject(), mitk::AffineImageCropperInteractor::DeselectObject(), mitk::AffineBaseDataInteractor3D::DeselectObject(), mitk::BoundingShapeInteractor::DeselectObject(), mitk::TubeGraphDataInteractor::DeselectTube(), mitk::RenderWindowBase::Destroy(), mitk::WatershedTool::DoIt(), QmitkColorTransferFunctionCanvas::DoubleClickOnHandle(), QmitkDataStorageTreeModel::dropMimeData(), QmitkAdaptiveRegionGrowingToolGUI::EnableControls(), mitk::PlanarFigureInteractor::EndHovering(), mitk::PlanarFigureInteractor::EndInteraction(), QmitkPropertyDelegate::eventFilter(), mitk::DiffSliceOperationApplier::ExecuteOperation(), mitk::DiffImageApplier::ExecuteOperation(), mitk::PlanarFigureInteractor::FinalizeFigure(), mitk::PointSetDataInteractor::FinishMove(), QmitkRenderWindowWidget::ForceImmediateUpdate(), mitk::BaseRenderer::ForceImmediateUpdate(), mitk::GPUVolumeMapper3D::GenerateDataCPU(), mitk::GPUVolumeMapper3D::GenerateDataRAY(), mitk::RenderWindowLayerController::HideDataNodeInAllRenderer(), mitk::PlanarFigureInteractor::HidePreviewPoint(), mitk::DisplayInteractor::IncreaseTimeStep(), mitk::DisplayActionEventBroadcast::IncreaseTimeStep(), mitk::RenderWindowBase::Initialize(), mitk::InteractionTestHelper::Initialize(), mitk::RenderingTestHelper::Initialize(), QmitkDataNodeShowSelectedNodesAction::InitializeAction(), QmitkDataNodeSurfaceRepresentationAction::InitializeAction(), QmitkDataNodeColorMapAction::InitializeAction(), QmitkDataNodeOpenInAction::InitializeAction(), mitk::RenderWindowViewDirectionController::InitializeViewByBoundingObjects(), InitializeWindows(), QmitkDataNodeTextureInterpolationAction::InitializeWithDataNode(), QmitkDataNodeColorAction::InitializeWithDataNode(), QmitkDataNodeOpacityAction::InitializeWithDataNode(), QmitkSliceWidget::InitWidget(), mitk::SegmentationSink::InsertBelowGroupNode(), mitk::RenderWindowLayerController::InsertLayerNode(), mitk::ContourModelInteractor::IsHovering(), mitk::ContourModelLiveWireInteractor::IsHovering(), QmitkTransferFunctionCanvas::keyPressEvent(), mitk::WorkbenchUtil::LoadFiles(), main(), mitkRenderingManagerTest(), mitkSurfaceVtkMapper3DTest(), mitkViewportRenderingTest(), mitk::PaintbrushTool::MouseMoved(), QmitkTransferFunctionCanvas::mouseMoveEvent(), QmitkSliderLevelWindowWidget::mouseMoveEvent(), QmitkTransferFunctionCanvas::mousePressEvent(), QmitkTransferFunctionCanvas::mouseReleaseEvent(), mitk::DisplayInteractor::Move(), mitk::PlanarFigureInteractor::MoveCurrentPoint(), mitk::RenderWindowLayerController::MoveNodeDown(), mitk::RenderWindowLayerController::MoveNodeToBack(), mitk::RenderWindowLayerController::MoveNodeToFront(), mitk::RenderWindowLayerController::MoveNodeToPosition(), mitk::RenderWindowLayerController::MoveNodeUp(), mitk::PointSetDataInteractor::MovePoint(), QmitkPointListViewWidget::MoveSelectedPointDown(), QmitkPointListModel::MoveSelectedPointDown(), QmitkPointListViewWidget::MoveSelectedPointUp(), QmitkPointListModel::MoveSelectedPointUp(), QmitkSlicesInterpolator::On3DInterpolationActivated(), QmitkSlicesInterpolator::OnAccept3DInterpolationClicked(), QmitkSliceBasedInterpolatorWidget::OnAcceptInterpolationClicked(), QmitkSlicesInterpolator::OnAcceptInterpolationClicked(), mitk::FastMarchingTool3D::OnAddPoint(), mitk::FastMarchingTool::OnAddPoint(), QmitkPropertyListPopup::onBoolPropertyClicked(), QmitkPointListWidget::OnBtnAddPointManually(), QmitkPointListWidget::OnBtnLoadPoints(), QmitkLevelWindowWidgetContextMenu::OnChangeScaleRange(), mitk::ContourModelInteractor::OnCheckPointClick(), mitk::ContourModelLiveWireInteractor::OnCheckPointClick(), QmitkPropertyListPopup::onColorClicked(), QmitkColorPropertyEditor::onColorSelected(), QmitkToFSurfaceGenerationWidget::OnCompute3DDataCheckboxChecked(), mitk::FastMarchingTool3D::OnDelete(), mitk::FastMarchingTool::OnDelete(), mitk::ContourModelLiveWireInteractor::OnDeletePoint(), QmitkTransferFunctionGeneratorWidget::OnDeltaLevelWindow(), QmitkTransferFunctionGeneratorWidget::OnDeltaThreshold(), mitk::ContourModelInteractor::OnFinishEditing(), mitk::ContourModelLiveWireInteractor::OnFinishEditing(), QmitkMxNMultiWidgetEditor::OnInteractionSchemeChanged(), QmitkSlicesInterpolator::OnInterpolationActivated(), mitk::PaintbrushTool::OnInvertLogic(), QmitkBoundingObjectWidget::OnItemDataChanged(), QmitkPointListView::OnListViewSelectionChanged(), QmitkTransferFunctionGeneratorWidget::OnLoadPreset(), QmitkNavigationToolManagementWidget::OnLoadStorage(), QmitkNavigationToolCreationWidget::OnLoadSurface(), QmitkNavigationToolManagementWidget::OnLoadTool(), mitk::ContourTool::OnMouseMoved(), mitk::CorrectorTool2D::OnMouseMoved(), mitk::RegionGrowingTool::OnMouseMoved(), mitk::SetRegionTool::OnMousePressed(), mitk::ContourTool::OnMousePressed(), mitk::RegionGrowingTool::OnMousePressedOutside(), mitk::SetRegionTool::OnMouseReleased(), mitk::ContourTool::OnMouseReleased(), mitk::PaintbrushTool::OnMouseReleased(), mitk::CorrectorTool2D::OnMouseReleased(), mitk::ContourModelInteractor::OnMoveContour(), mitk::ContourModelInteractor::OnMovePoint(), mitk::ContourModelLiveWireInteractor::OnMovePoint(), QmitkAdaptiveRegionGrowingToolGUI::OnPointAdded(), QmitkInteractiveTransformationWidget::OnResetGeometryToIdentity(), QmitkInteractiveTransformationWidget::OnRevertChanges(), QmitkLevelWindowWidgetContextMenu::OnSetDefaultLevelWindow(), QmitkLevelWindowWidgetContextMenu::OnSetDefaultScaleRange(), QmitkLevelWindowWidgetContextMenu::OnSetMaximumWindow(), QmitkLevelWindowWidgetContextMenu::OnSetPreset(), QmitkToFVisualisationSettingsWidget::OnSetXValueColor(), QmitkSliceBasedInterpolatorWidget::OnSliceChanged(), QmitkSurfaceStampWidget::OnStamp(), QmitkMaskStampWidget::OnStamp(), QmitkNavigationToolCreationWidget::OnSurfaceUseToggled(), QmitkSurfaceBasedInterpolatorWidget::OnToggleWidgetActivation(), QmitkSliceBasedInterpolatorWidget::OnToggleWidgetActivation(), QmitkRenderWindowMenu::OnTSNumChanged(), QmitkLevelWindowWidgetContextMenu::OnUseAllGreyvaluesFromImage(), QmitkLevelWindowWidgetContextMenu::OnUseOptimizedLevelWindow(), QmitkNumberPropertySlider::onValueChanged(), QmitkNumberPropertyEditor::onValueChanged(), QmitkPythonVariableStackTableView::OnVariableStackDoubleClicked(), QmitkPropertyListPopup::onVisibleClicked(), QmitkInteractiveTransformationWidget::OnXTranslationValueChanged(), QmitkInteractiveTransformationWidget::OnYTranslationValueChanged(), QmitkInteractiveTransformationWidget::OnZTranslationValueChanged(), mitk::InteractionTestHelper::PlaybackInteraction(), mitk::Dispatcher::ProcessEvent(), QmitkNumberPropertyEditor::PropertyChanged(), QmitkStdMultiWidget::QmitkStdMultiWidget(), mitk::Dispatcher::QueueEvent(), mitk::LimitedLinearUndo::Redo(), mitk::UndoController::Redo(), QmitkFiducialRegistrationWidget::Register(), mitk::VtkAnnotation::RemoveFromRenderer(), mitk::RenderWindowLayerController::RemoveLayerNode(), mitk::PointSetDataInteractor::RemovePoint(), QmitkPointListViewWidget::RemoveSelectedPoint(), QmitkPointListModel::RemoveSelectedPoint(), mitk::PlanarFigureInteractor::RemoveSelectedPoint(), RenderingEndCallback(), RenderingProgressCallback(), RenderingStartCallback(), QmitkRenderWindowWidget::RequestUpdate(), mitk::BaseRenderer::RequestUpdate(), mitk::FastMarchingTool3D::Reset(), mitk::FastMarchingTool::Reset(), QmitkLabelSetWidget::ResetAllTableWidgetItems(), QmitkStdMultiWidget::ResetCrosshair(), QmitkMxNMultiWidget::ResetCrosshair(), mitk::RenderWindowLayerController::ResetRenderer(), mitk::VtkPropRenderer::Resize(), QmitkRenderWindow::resizeGL(), mitk::AffineBaseDataInteractor3D::RestoreNodeProperties(), mitk::BoundingShapeInteractor::RestoreNodeProperties(), QmitkInteractiveTransformationWidget::Rotate(), mitk::DisplayActionEventBroadcast::Rotate(), mitk::DisplayInteractor::Rotate(), mitk::CameraRotationController::RotateCamera(), mitk::AffineBaseDataInteractor3D::RotateGeometry(), mitk::ClippingPlaneInteractor3D::RotateObject(), mitk::AffineImageCropperInteractor::RotateObject(), mitk::AffineBaseDataInteractor3D::RotateObject(), HideAllAction::Run(), GlobalReinitAction::Run(), ToggleVisibilityAction::Run(), ReinitAction::Run(), mitk::OtsuTool3D::RunSegmentation(), QmitkAdaptiveRegionGrowingToolGUI::RunSegmentation(), SaveSliceOrImageAsPNG(), mitk::AffineBaseDataInteractor3D::ScaleGeometry(), mitk::BoundingShapeInteractor::ScaleObject(), mitk::SurfaceDeformationDataInteractor3D::ScaleRadius(), mitk::AffineImageCropperInteractor::ScaleRadius(), mitk::BoundingShapeInteractor::SelectHandle(), mitk::ClippingPlaneInteractor3D::SelectObject(), mitk::SurfaceDeformationDataInteractor3D::SelectObject(), mitk::AffineImageCropperInteractor::SelectObject(), mitk::AffineBaseDataInteractor3D::SelectObject(), mitk::BoundingShapeInteractor::SelectObject(), mitk::PointSetDataInteractor::SelectPoint(), mitk::TubeGraphDataInteractor::SelectTube(), mitk::SliceNavigationController::SendSlice(), mitk::SliceNavigationController::SendTime(), SetAntiAliasing(), mitk::RenderWindowLayerController::SetBaseDataNode(), QmitkDataNodeOpenInAction::SetControlledRenderer(), mitk::DisplayInteractor::SetCrosshair(), QmitkPropertyItemModel::setData(), QmitkRenderWindowDataStorageListModel::setData(), QmitkRenderWindowDataStorageTreeModel::setData(), QmitkDataStorageLayerStackModel::setData(), QmitkDataStorageTreeModel::setData(), QmitkPropertiesTableModel::setData(), QmitkDataStorageTableModel::setData(), QmitkInteractiveTransformationWidget::SetDefaultRotation(), QmitkBoundingObjectWidget::setEnabled(), QmitkLineEditLevelWindowWidget::SetLevelValue(), mitk::GizmoInteractor::SetManipulatedObjectNode(), mitk::RenderingTestHelper::SetMapperIDToRender3D(), QmitkLabelSetWidget::SetOrganColors(), mitk::PlanarFigureInteractor::SetPreviewPointPosition(), mitk::CameraController::SetStandardView(), mitk::InteractionTestHelper::SetTimeStep(), mitk::RenderingTestHelper::SetViewDirection(), mitk::RenderWindowLayerController::SetVisibilityOfDataNode(), QmitkStdMultiWidget::SetWidgetPlanesVisibility(), QmitkLineEditLevelWindowWidget::SetWindowValue(), QmitkTransferFunctionCanvas::SetX(), QmitkTransferFunctionWidget::SetXValueColor(), QmitkTransferFunctionWidget::SetXValueGradient(), QmitkTransferFunctionWidget::SetXValueScalar(), QmitkTransferFunctionCanvas::SetY(), QmitkTransferFunctionWidget::SetYValueGradient(), QmitkTransferFunctionWidget::SetYValueScalar(), QmitkSlicesInterpolator::Show3DInterpolationResult(), QmitkSurfaceBasedInterpolatorWidget::ShowInterpolationResult(), QmitkStdMultiWidgetEditor::ShowLevelWindowWidget(), mitk::OtsuTool3D::ShowMultiLabelResultNode(), QmitkNavigationToolCreationWidget::ShowToolPreview(), QmitkProgressBar::SlotAddStepsToDo(), QmitkProgressBar::SlotProgress(), mitk::PlanarFigureInteractor::StartHovering(), Step7::StartRegionGrowing(), Step6::StartRegionGrowing(), mitk::PickingTool::StartRegionGrowing(), QmitkSurfaceBasedInterpolatorWidget::StopUpdateInterpolationTimer(), QmitkSlicesInterpolator::StopUpdateInterpolationTimer(), mitk::DisplayActionEventBroadcast::Swivel(), mitk::DisplayInteractor::Swivel(), mitk::AffineBaseDataInteractor3D::TranslateGeometry(), mitk::ClippingPlaneInteractor3D::TranslateObject(), mitk::AffineImageCropperInteractor::TranslateObject(), mitk::BoundingShapeInteractor::TranslateObject(), mitk::LimitedLinearUndo::Undo(), mitk::UndoController::Undo(), mitk::PointSetDataInteractor::UnSelectAll(), mitk::PointSetDataInteractor::UnSelectPointAtPosition(), mitk::FastMarchingTool3D::Update(), mitk::FastMarchingTool::Update(), mitk::TubeGraphDataInteractor::UpdateActivation(), QmitkLabelSetWidget::UpdateAllTableWidgetItems(), QmitkLabelSetWidget::UpdateControls(), QmitkSliceWidget::UpdateGL(), mitk::BinaryThresholdTool::UpdatePreview(), mitk::BinaryThresholdULTool::UpdatePreview(), QmitkVideoBackground::UpdateVideo(), QmitkSliceBasedInterpolatorWidget::UpdateVisibleSuggestion(), QmitkSlicesInterpolator::UpdateVisibleSuggestion(), mitk::OtsuTool3D::UpdateVolumePreview(), mitk::SegTool2D::WriteBackSegmentationResult(), mitk::MovieGenerator::WriteCurrentFrameToMovie(), mitk::MovieGenerator::WriteMovie(), mitk::DisplayInteractor::Zoom(), mitk::InteractionTestHelper::~InteractionTestHelper(), mitk::LiveWireTool2D::~LiveWireTool2D(), and QmitkLabelSetWidget::~QmitkLabelSetWidget().

◆ 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)

Definition at line 618 of file mitkRenderingManager.cpp.

References m_NextLODMap.

Referenced by mitk::GPUVolumeMapper3D::GenerateDataCPU().

◆ GetProperty()

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

Returns a property from m_PropertyList

Definition at line 695 of file mitkRenderingManager.cpp.

References m_PropertyList.

◆ GetPropertyList()

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

Returns a property list

Definition at line 694 of file mitkRenderingManager.cpp.

References m_PropertyList.

◆ GetShading()

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

Definition at line 660 of file mitkRenderingManager.cpp.

References m_MaxLOD, and m_ShadingEnabled.

◆ GetShadingValues()

RenderingManager::FloatVector & mitk::RenderingManager::GetShadingValues ( )

Definition at line 681 of file mitkRenderingManager.cpp.

References m_ShadingValues.

◆ GetStaticNameOfClass()

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

Definition at line 79 of file mitkRenderingManager.h.

◆ GetTimeNavigationController() [1/2]

◆ GetTimeNavigationController() [2/2]

SliceNavigationController * mitk::RenderingManager::GetTimeNavigationController ( )

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

Definition at line 514 of file mitkRenderingManager.cpp.

References m_TimeNavigationController.

◆ HasFactory()

bool mitk::RenderingManager::HasFactory ( )
static

Returns true if a factory has already been set.

Definition at line 79 of file mitkRenderingManager.cpp.

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

◆ InitializePropertyList()

void mitk::RenderingManager::InitializePropertyList ( )
protectedvirtual

◆ InitializeView() [1/3]

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

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

Definition at line 417 of file mitkRenderingManager.cpp.

References mitk::BaseGeometry::Clone(), and mitk::ProportionalTimeGeometry::New().

Referenced by QmitkDataNodeOpenInAction::InitializeAction(), mitk::RenderWindowViewDirectionController::InitializeViewByBoundingObjects(), and ReinitAction::Run().

◆ InitializeView() [2/3]

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

◆ InitializeView() [3/3]

◆ InitializeViews() [1/3]

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

◆ InitializeViews() [2/3]

◆ InitializeViews() [3/3]

◆ InitializeViewsByBoundingObjects()

◆ IsInstantiated()

bool mitk::RenderingManager::IsInstantiated ( )
static

Returns true if the singleton instance does already exist.

Definition at line 112 of file mitkRenderingManager.cpp.

◆ IsRendering()

bool mitk::RenderingManager::IsRendering ( ) const

Definition at line 592 of file mitkRenderingManager.cpp.

References m_RenderWindowList, and RENDERING_INPROGRESS.

◆ 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()

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

◆ RemoveRenderWindow()

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

◆ RenderingEndCallback()

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

◆ RenderingProgressCallback()

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

Definition at line 546 of file mitkRenderingManager.cpp.

References mitk::BaseRenderer::GetInstance(), and GetInstance().

Referenced by AddRenderWindow().

◆ RenderingStartCallback()

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

Definition at line 535 of file mitkRenderingManager.cpp.

References GetInstance(), and RENDERING_INPROGRESS.

Referenced by AddRenderWindow().

◆ 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.

Definition at line 191 of file mitkRenderingManager.cpp.

References GenerateRenderingRequestEvent(), m_RenderWindowList, m_UpdatePending, and RENDERING_REQUESTED.

Referenced by QmitkRenderWindowWidget::ActivateCrosshair(), mitk::VtkAnnotation::AddToRenderer(), QmitkSurfaceBasedInterpolatorWidget::ChangeSurfaceColor(), QmitkSlicesInterpolator::ChangeSurfaceColor(), mitk::LiveWireTool2D::ClearSegmentation(), ExecutePendingHighResRenderingRequest(), QmitkDataNodeShowSelectedNodesAction::InitializeAction(), QmitkDataNodeSurfaceRepresentationAction::InitializeAction(), QmitkDataNodeColorMapAction::InitializeAction(), InitializeView(), QmitkDataNodeTextureInterpolationAction::InitializeWithDataNode(), QmitkDataNodeColorAction::InitializeWithDataNode(), QmitkDataNodeOpacityAction::InitializeWithDataNode(), QmitkSliceWidget::InitWidget(), mitk::RenderWindowLayerController::InsertLayerNode(), mitk::ContourModelInteractor::IsHovering(), mitk::ContourModelLiveWireInteractor::IsHovering(), mitk::PaintbrushTool::MouseMoved(), mitk::DisplayInteractor::Move(), mitk::RenderWindowLayerController::MoveNodeDown(), mitk::RenderWindowLayerController::MoveNodeToBack(), mitk::RenderWindowLayerController::MoveNodeToFront(), mitk::RenderWindowLayerController::MoveNodeToPosition(), mitk::RenderWindowLayerController::MoveNodeUp(), mitk::ContourModelInteractor::OnCheckPointClick(), mitk::ContourModelLiveWireInteractor::OnCheckPointClick(), mitk::ContourModelLiveWireInteractor::OnDeletePoint(), mitk::ContourModelInteractor::OnFinishEditing(), mitk::ContourModelLiveWireInteractor::OnFinishEditing(), mitk::ContourTool::OnMouseMoved(), mitk::CorrectorTool2D::OnMouseMoved(), mitk::SetRegionTool::OnMousePressed(), mitk::ContourTool::OnMousePressed(), mitk::RegionGrowingTool::OnMousePressedOutside(), mitk::SetRegionTool::OnMouseReleased(), mitk::ContourTool::OnMouseReleased(), mitk::PaintbrushTool::OnMouseReleased(), mitk::CorrectorTool2D::OnMouseReleased(), mitk::ContourModelInteractor::OnMoveContour(), mitk::ContourModelInteractor::OnMovePoint(), mitk::ContourModelLiveWireInteractor::OnMovePoint(), mitk::VtkAnnotation::RemoveFromRenderer(), mitk::RenderWindowLayerController::RemoveLayerNode(), QmitkRenderWindowWidget::RequestUpdate(), mitk::BaseRenderer::RequestUpdate(), RequestUpdateAll(), mitk::RenderWindowLayerController::ResetRenderer(), mitk::VtkPropRenderer::Resize(), mitk::CameraRotationController::RotateCamera(), HideAllAction::Run(), ToggleVisibilityAction::Run(), mitk::RenderWindowLayerController::SetBaseDataNode(), QmitkRenderWindowDataStorageListModel::setData(), QmitkRenderWindowDataStorageTreeModel::setData(), QmitkDataStorageLayerStackModel::setData(), mitk::RenderWindowLayerController::SetVisibilityOfDataNode(), QmitkSurfaceBasedInterpolatorWidget::StopUpdateInterpolationTimer(), QmitkSlicesInterpolator::StopUpdateInterpolationTimer(), QmitkSliceWidget::UpdateGL(), QmitkVideoBackground::UpdateVideo(), and mitk::DisplayInteractor::Zoom().

◆ 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.

Examples:
Step3.cpp, Step6.cpp, and Step7.cpp.

Definition at line 249 of file mitkRenderingManager.cpp.

References mitk::BaseRenderer::GetInstance(), mitk::BaseRenderer::GetMapperID(), m_RenderWindowList, REQUEST_UPDATE_2DWINDOWS, REQUEST_UPDATE_3DWINDOWS, REQUEST_UPDATE_ALL, and RequestUpdate().

Referenced by QmitkSliceBasedInterpolatorWidget::AcceptAllInterpolations(), QmitkSlicesInterpolator::AcceptAllInterpolations(), mitk::BinaryThresholdTool::AcceptCurrentThresholdValue(), mitk::BinaryThresholdULTool::AcceptCurrentThresholdValue(), mitk::PlanarFigureInteractor::AddInitialPoint(), mitk::SinglePointDataInteractor::AddPoint(), mitk::PlanarFigureInteractor::AddPoint(), mitk::PointSetDataInteractor::AddPoint(), QmitkDataStorageTreeModel::AdjustLayerProperty(), mitk::DisplayInteractor::AdjustLevelWindow(), mitk::OtsuTool3D::CalculatePreview(), mitk::SegmentationInteractor::ChangeActiveLabel(), QmitkAdaptiveRegionGrowingToolGUI::ChangeLevelWindow(), mitk::PaintbrushTool::CheckIfCurrentSliceHasChanged(), mitk::BoundingShapeInteractor::CheckOverHandles(), QmitkToFPointSetWidget::CleanUpWidget(), QmitkPointListView::ClearPointList(), mitk::PickingTool::ConfirmSegmentation(), mitk::FastMarchingTool3D::ConfirmSegmentation(), mitk::FastMarchingTool::ConfirmSegmentation(), QmitkAdaptiveRegionGrowingToolGUI::ConfirmSegmentation(), mitk::ExampleInteractor::ConnectActionsAndFunctions(), QmitkBoundingObjectWidget::CreateBoundingObject(), mitk::AffineBaseDataInteractor3D::DataNodeChanged(), mitk::BoundingShapeInteractor::DataNodeChanged(), mitk::BinaryThresholdTool::Deactivated(), mitk::BinaryThresholdULTool::Deactivated(), mitk::FastMarchingTool3D::Deactivated(), mitk::FastMarchingTool::Deactivated(), mitk::SurfaceDeformationDataInteractor3D::DeformObject(), mitk::AffineImageCropperInteractor::DeformObject(), mitk::PlanarFigureInteractor::DeleteFigure(), mitk::BoundingShapeInteractor::DeselectHandles(), mitk::ClippingPlaneInteractor3D::DeselectObject(), mitk::AffineImageCropperInteractor::DeselectObject(), mitk::SurfaceDeformationDataInteractor3D::DeselectObject(), mitk::AffineBaseDataInteractor3D::DeselectObject(), mitk::BoundingShapeInteractor::DeselectObject(), mitk::TubeGraphDataInteractor::DeselectTube(), mitk::WatershedTool::DoIt(), QmitkColorTransferFunctionCanvas::DoubleClickOnHandle(), QmitkDataStorageTreeModel::dropMimeData(), QmitkAdaptiveRegionGrowingToolGUI::EnableControls(), mitk::PlanarFigureInteractor::EndHovering(), mitk::PlanarFigureInteractor::EndInteraction(), QmitkPropertyDelegate::eventFilter(), mitk::DiffSliceOperationApplier::ExecuteOperation(), mitk::DiffImageApplier::ExecuteOperation(), mitk::PlanarFigureInteractor::FinalizeFigure(), mitk::PointSetDataInteractor::FinishMove(), mitk::RenderWindowLayerController::HideDataNodeInAllRenderer(), mitk::PlanarFigureInteractor::HidePreviewPoint(), QmitkDataNodeShowSelectedNodesAction::InitializeAction(), QmitkDataNodeSurfaceRepresentationAction::InitializeAction(), QmitkDataNodeColorMapAction::InitializeAction(), InitializeViews(), QmitkDataNodeTextureInterpolationAction::InitializeWithDataNode(), QmitkDataNodeColorAction::InitializeWithDataNode(), QmitkDataNodeOpacityAction::InitializeWithDataNode(), mitk::SegmentationSink::InsertBelowGroupNode(), QmitkTransferFunctionCanvas::keyPressEvent(), main(), QmitkTransferFunctionCanvas::mouseMoveEvent(), QmitkSliderLevelWindowWidget::mouseMoveEvent(), QmitkTransferFunctionCanvas::mousePressEvent(), QmitkTransferFunctionCanvas::mouseReleaseEvent(), mitk::PlanarFigureInteractor::MoveCurrentPoint(), mitk::PointSetDataInteractor::MovePoint(), QmitkPointListViewWidget::MoveSelectedPointDown(), QmitkPointListModel::MoveSelectedPointDown(), QmitkPointListViewWidget::MoveSelectedPointUp(), QmitkPointListModel::MoveSelectedPointUp(), QmitkSlicesInterpolator::On3DInterpolationActivated(), QmitkSlicesInterpolator::OnAccept3DInterpolationClicked(), QmitkSliceBasedInterpolatorWidget::OnAcceptInterpolationClicked(), QmitkSlicesInterpolator::OnAcceptInterpolationClicked(), mitk::FastMarchingTool3D::OnAddPoint(), mitk::FastMarchingTool::OnAddPoint(), QmitkPropertyListPopup::onBoolPropertyClicked(), QmitkPointListWidget::OnBtnAddPointManually(), QmitkPointListWidget::OnBtnLoadPoints(), QmitkLevelWindowWidgetContextMenu::OnChangeScaleRange(), QmitkPropertyListPopup::onColorClicked(), QmitkColorPropertyEditor::onColorSelected(), mitk::FastMarchingTool3D::OnDelete(), mitk::FastMarchingTool::OnDelete(), QmitkTransferFunctionGeneratorWidget::OnDeltaLevelWindow(), QmitkTransferFunctionGeneratorWidget::OnDeltaThreshold(), QmitkMxNMultiWidgetEditor::OnInteractionSchemeChanged(), QmitkSlicesInterpolator::OnInterpolationActivated(), mitk::PaintbrushTool::OnInvertLogic(), QmitkBoundingObjectWidget::OnItemDataChanged(), QmitkPointListView::OnListViewSelectionChanged(), QmitkTransferFunctionGeneratorWidget::OnLoadPreset(), QmitkInteractiveTransformationWidget::OnResetGeometryToIdentity(), QmitkInteractiveTransformationWidget::OnRevertChanges(), QmitkLevelWindowWidgetContextMenu::OnSetDefaultLevelWindow(), QmitkLevelWindowWidgetContextMenu::OnSetDefaultScaleRange(), QmitkLevelWindowWidgetContextMenu::OnSetMaximumWindow(), QmitkLevelWindowWidgetContextMenu::OnSetPreset(), QmitkToFVisualisationSettingsWidget::OnSetXValueColor(), QmitkSliceBasedInterpolatorWidget::OnSliceChanged(), QmitkSurfaceStampWidget::OnStamp(), QmitkMaskStampWidget::OnStamp(), QmitkSurfaceBasedInterpolatorWidget::OnToggleWidgetActivation(), QmitkSliceBasedInterpolatorWidget::OnToggleWidgetActivation(), QmitkRenderWindowMenu::OnTSNumChanged(), QmitkLevelWindowWidgetContextMenu::OnUseAllGreyvaluesFromImage(), QmitkLevelWindowWidgetContextMenu::OnUseOptimizedLevelWindow(), QmitkNumberPropertySlider::onValueChanged(), QmitkNumberPropertyEditor::onValueChanged(), QmitkPythonVariableStackTableView::OnVariableStackDoubleClicked(), QmitkPropertyListPopup::onVisibleClicked(), QmitkInteractiveTransformationWidget::OnXTranslationValueChanged(), QmitkInteractiveTransformationWidget::OnYTranslationValueChanged(), QmitkInteractiveTransformationWidget::OnZTranslationValueChanged(), QmitkNumberPropertyEditor::PropertyChanged(), mitk::Dispatcher::QueueEvent(), mitk::LimitedLinearUndo::Redo(), mitk::UndoController::Redo(), mitk::PointSetDataInteractor::RemovePoint(), QmitkPointListViewWidget::RemoveSelectedPoint(), QmitkPointListModel::RemoveSelectedPoint(), mitk::PlanarFigureInteractor::RemoveSelectedPoint(), mitk::FastMarchingTool3D::Reset(), mitk::FastMarchingTool::Reset(), QmitkLabelSetWidget::ResetAllTableWidgetItems(), mitk::AffineBaseDataInteractor3D::RestoreNodeProperties(), mitk::BoundingShapeInteractor::RestoreNodeProperties(), QmitkInteractiveTransformationWidget::Rotate(), mitk::DisplayActionEventBroadcast::Rotate(), mitk::DisplayInteractor::Rotate(), mitk::AffineBaseDataInteractor3D::RotateGeometry(), mitk::ClippingPlaneInteractor3D::RotateObject(), mitk::AffineImageCropperInteractor::RotateObject(), mitk::AffineBaseDataInteractor3D::RotateObject(), HideAllAction::Run(), ToggleVisibilityAction::Run(), mitk::OtsuTool3D::RunSegmentation(), QmitkAdaptiveRegionGrowingToolGUI::RunSegmentation(), mitk::AffineBaseDataInteractor3D::ScaleGeometry(), mitk::BoundingShapeInteractor::ScaleObject(), mitk::SurfaceDeformationDataInteractor3D::ScaleRadius(), mitk::AffineImageCropperInteractor::ScaleRadius(), mitk::BoundingShapeInteractor::SelectHandle(), mitk::SurfaceDeformationDataInteractor3D::SelectObject(), mitk::AffineImageCropperInteractor::SelectObject(), mitk::ClippingPlaneInteractor3D::SelectObject(), mitk::AffineBaseDataInteractor3D::SelectObject(), mitk::BoundingShapeInteractor::SelectObject(), mitk::PointSetDataInteractor::SelectPoint(), mitk::TubeGraphDataInteractor::SelectTube(), mitk::SliceNavigationController::SendSlice(), mitk::SliceNavigationController::SendTime(), QmitkPropertyItemModel::setData(), QmitkDataStorageTreeModel::setData(), QmitkPropertiesTableModel::setData(), QmitkDataStorageTableModel::setData(), QmitkInteractiveTransformationWidget::SetDefaultRotation(), QmitkBoundingObjectWidget::setEnabled(), QmitkLineEditLevelWindowWidget::SetLevelValue(), mitk::GizmoInteractor::SetManipulatedObjectNode(), QmitkLabelSetWidget::SetOrganColors(), mitk::PlanarFigureInteractor::SetPreviewPointPosition(), mitk::CameraController::SetStandardView(), QmitkStdMultiWidget::SetWidgetPlanesVisibility(), QmitkLineEditLevelWindowWidget::SetWindowValue(), QmitkTransferFunctionCanvas::SetX(), QmitkTransferFunctionWidget::SetXValueColor(), QmitkTransferFunctionWidget::SetXValueGradient(), QmitkTransferFunctionWidget::SetXValueScalar(), QmitkTransferFunctionCanvas::SetY(), QmitkTransferFunctionWidget::SetYValueGradient(), QmitkTransferFunctionWidget::SetYValueScalar(), QmitkSlicesInterpolator::Show3DInterpolationResult(), QmitkSurfaceBasedInterpolatorWidget::ShowInterpolationResult(), QmitkStdMultiWidgetEditor::ShowLevelWindowWidget(), mitk::OtsuTool3D::ShowMultiLabelResultNode(), mitk::PlanarFigureInteractor::StartHovering(), Step7::StartRegionGrowing(), Step6::StartRegionGrowing(), mitk::PickingTool::StartRegionGrowing(), mitk::DisplayActionEventBroadcast::Swivel(), mitk::DisplayInteractor::Swivel(), mitk::AffineBaseDataInteractor3D::TranslateGeometry(), mitk::ClippingPlaneInteractor3D::TranslateObject(), mitk::AffineImageCropperInteractor::TranslateObject(), mitk::BoundingShapeInteractor::TranslateObject(), mitk::LimitedLinearUndo::Undo(), mitk::UndoController::Undo(), mitk::PointSetDataInteractor::UnSelectAll(), mitk::PointSetDataInteractor::UnSelectPointAtPosition(), mitk::FastMarchingTool3D::Update(), mitk::FastMarchingTool::Update(), mitk::TubeGraphDataInteractor::UpdateActivation(), QmitkLabelSetWidget::UpdateAllTableWidgetItems(), QmitkLabelSetWidget::UpdateControls(), mitk::BinaryThresholdTool::UpdatePreview(), mitk::BinaryThresholdULTool::UpdatePreview(), QmitkSliceBasedInterpolatorWidget::UpdateVisibleSuggestion(), QmitkSlicesInterpolator::UpdateVisibleSuggestion(), mitk::OtsuTool3D::UpdateVolumePreview(), mitk::SegTool2D::WriteBackSegmentationResult(), mitk::LiveWireTool2D::~LiveWireTool2D(), and QmitkLabelSetWidget::~QmitkLabelSetWidget().

◆ SetAntiAliasing()

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

◆ SetClippingPlaneStatus()

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

Definition at line 671 of file mitkRenderingManager.cpp.

References m_ClippingPlaneEnabled.

◆ SetConstrainedPanningZooming()

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

◆ SetDataStorage()

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

Setter / Getter for internal DataStorage.

Sets / returns the mitk::DataStorage that is used internally. This instance holds all mitk::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.

Definition at line 705 of file mitkRenderingManager.cpp.

References mitk::BaseRenderer::GetInstance(), m_AllRenderWindows, m_DataStorage, and mitk::BaseRenderer::SetDataStorage().

Referenced by QmitkRenderWindowWidget::ActivateCrosshair().

◆ SetFactory()

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

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

Definition at line 77 of file mitkRenderingManager.cpp.

References s_RenderingManagerFactory.

Referenced by QmitkRenderingManagerFactory::QmitkRenderingManagerFactory(), and 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)

Definition at line 648 of file mitkRenderingManager.cpp.

References m_MaxLOD, and max().

◆ SetProperty()

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

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

Definition at line 700 of file mitkRenderingManager.cpp.

References m_PropertyList.

Referenced by InitializePropertyList().

◆ 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

Definition at line 720 of file mitkRenderingManager.cpp.

References m_RenderWindowList, and MITK_ERROR.

Referenced by mitk::Dispatcher::ProcessEvent().

◆ SetShading()

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

Definition at line 650 of file mitkRenderingManager.cpp.

References m_MaxLOD, and m_ShadingEnabled.

◆ SetShadingValues()

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

Definition at line 673 of file mitkRenderingManager.cpp.

References m_ShadingValues.

◆ 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 225 of file mitkRenderingManager.h.

Member Data Documentation

◆ m_AllRenderWindows

RenderWindowVector mitk::RenderingManager::m_AllRenderWindows
protected

◆ m_ClippingPlaneEnabled

bool mitk::RenderingManager::m_ClippingPlaneEnabled
protected

Definition at line 329 of file mitkRenderingManager.h.

Referenced by GetClippingPlaneStatus(), and SetClippingPlaneStatus().

◆ m_ConstrainedPanningZooming

bool mitk::RenderingManager::m_ConstrainedPanningZooming
protected

Definition at line 360 of file mitkRenderingManager.h.

Referenced by InitializeViews().

◆ m_DataStorage

DataStoragePointer mitk::RenderingManager::m_DataStorage
protected

Definition at line 358 of file mitkRenderingManager.h.

Referenced by AddRenderWindow(), GetDataStorage(), and SetDataStorage().

◆ m_LODAbortMechanismEnabled

bool mitk::RenderingManager::m_LODAbortMechanismEnabled
protected

Definition at line 325 of file mitkRenderingManager.h.

◆ m_LODIncreaseBlocked

bool mitk::RenderingManager::m_LODIncreaseBlocked
protected

Definition at line 323 of file mitkRenderingManager.h.

◆ m_MaxLOD

unsigned int mitk::RenderingManager::m_MaxLOD
protected

Definition at line 321 of file mitkRenderingManager.h.

Referenced by GetShading(), SetMaximumLOD(), and SetShading().

◆ m_NextLODMap

RendererIntMap mitk::RenderingManager::m_NextLODMap
protected

Definition at line 319 of file mitkRenderingManager.h.

Referenced by ExecutePendingHighResRenderingRequest(), and GetNextLOD().

◆ m_PropertyList

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

◆ m_RenderingAbortedMap

RendererBoolMap mitk::RenderingManager::m_RenderingAbortedMap
protected

Definition at line 317 of file mitkRenderingManager.h.

Referenced by AbortRendering().

◆ m_RenderWindowCallbacksList

RenderWindowCallbacksList mitk::RenderingManager::m_RenderWindowCallbacksList
protected

Definition at line 349 of file mitkRenderingManager.h.

Referenced by AddRenderWindow(), RemoveRenderWindow(), and ~RenderingManager().

◆ m_RenderWindowList

◆ m_ShadingEnabled

BoolVector mitk::RenderingManager::m_ShadingEnabled
protected

Definition at line 327 of file mitkRenderingManager.h.

Referenced by GetShading(), RenderingManager(), and SetShading().

◆ m_ShadingValues

FloatVector mitk::RenderingManager::m_ShadingValues
protected

Definition at line 331 of file mitkRenderingManager.h.

Referenced by GetShadingValues(), RenderingManager(), and SetShadingValues().

◆ m_TimeNavigationController

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

◆ m_UpdatePending

bool mitk::RenderingManager::m_UpdatePending
protected

◆ s_Instance

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

Definition at line 353 of file mitkRenderingManager.h.

Referenced by GetInstance().

◆ s_RenderingManagerFactory

RenderingManagerFactory * mitk::RenderingManager::s_RenderingManagerFactory
staticprotected

Definition at line 354 of file mitkRenderingManager.h.

Referenced by GetFactory(), GetInstance(), and SetFactory().


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