Medical Imaging Interaction Toolkit  2016.11.0
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 ()
 
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 ()
 
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)
 

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

Member Typedef Documentation

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

Definition at line 86 of file mitkRenderingManager.h.

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

Definition at line 85 of file mitkRenderingManager.h.

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

Definition at line 314 of file mitkRenderingManager.h.

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

Definition at line 313 of file mitkRenderingManager.h.

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

Definition at line 346 of file mitkRenderingManager.h.

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

Definition at line 336 of file mitkRenderingManager.h.

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

Definition at line 82 of file mitkRenderingManager.h.

Definition at line 82 of file mitkRenderingManager.h.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
RENDERING_INACTIVE 
RENDERING_REQUESTED 
RENDERING_INPROGRESS 

Definition at line 296 of file mitkRenderingManager.h.

Enumerator
REQUEST_UPDATE_ALL 
REQUEST_UPDATE_2DWINDOWS 
REQUEST_UPDATE_3DWINDOWS 

Definition at line 90 of file mitkRenderingManager.h.

Constructor & Destructor Documentation

mitk::RenderingManager::~RenderingManager ( )
virtual

Definition at line 59 of file mitkRenderingManager.cpp.

References m_AllRenderWindows, and m_RenderWindowCallbacksList.

mitk::RenderingManager::RenderingManager ( )
protected

Definition at line 42 of file mitkRenderingManager.cpp.

Member Function Documentation

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

Reimplemented in QmitkRenderingManager.

Definition at line 235 of file mitkRenderingManager.h.

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

Reimplemented in QmitkRenderingManager.

Definition at line 234 of file mitkRenderingManager.h.

Referenced by RenderingProgressCallback().

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

Definition at line 233 of file mitkRenderingManager.h.

void mitk::RenderingManager::ExecutePendingHighResRenderingRequest ( )
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 521 of file mitkRenderingManager.cpp.

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

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

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 265 of file mitkRenderingManager.cpp.

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

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 QmitkRenderingManager, and QmlMitkRenderingManager.

Referenced by RequestUpdate().

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

Definition at line 82 of file mitkRenderingManager.h.

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

Definition at line 679 of file mitkRenderingManager.cpp.

References m_ClippingPlaneEnabled.

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 726 of file mitkRenderingManager.cpp.

References m_DataStorage.

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

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

Definition at line 80 of file mitkRenderingManager.cpp.

References s_RenderingManagerFactory.

Referenced by New().

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

Get the RenderingManager singleton instance.

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

Definition at line 101 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(), mitk::RenderingTestHelper::AddNodeToStorage(), mitk::VtkOverlay::AddToRenderer(), mitk::RenderingTestHelper::AddToStorage(), QmitkDataStorageTreeModel::AdjustLayerProperty(), mitk::OtsuTool3D::CalculatePreview(), QmitkBSplineRegistrationView::CalculateTransformation(), QmitkStdMultiWidget::changeLayoutToBig3D(), QmitkStdMultiWidget::changeLayoutToWidget1(), QmitkStdMultiWidget::changeLayoutToWidget2(), QmitkStdMultiWidget::changeLayoutToWidget3(), QmitkAdaptiveRegionGrowingToolGUI::ChangeLevelWindow(), QmitkLevelWindowWidgetContextMenu::changeScaleRange(), QmitkSurfaceBasedInterpolatorWidget::ChangeSurfaceColor(), QmitkSlicesInterpolator::ChangeSurfaceColor(), mitk::PaintbrushTool::CheckIfCurrentSliceHasChanged(), QmitkToFPointSetWidget::CleanUpWidget(), QmitkPointListView::ClearPointList(), QmitkDataManagerView::ColorChanged(), QmitkDataManagerView::ColormapActionToggled(), mitk::PickingTool::ConfirmSegmentation(), mitk::FastMarchingTool3D::ConfirmSegmentation(), mitk::FastMarchingTool::ConfirmSegmentation(), QmitkBoundingObjectWidget::CreateBoundingObject(), QmlMitkRenderWindowItem::createPlaneNode(), QmitkStdMultiWidgetEditor::CreateQtPartControl(), mitk::AffineBaseDataInteractor3D::DataNodeChanged(), mitk::BinaryThresholdTool::Deactivated(), mitk::BinaryThresholdULTool::Deactivated(), mitk::FastMarchingTool3D::Deactivated(), mitk::FastMarchingTool::Deactivated(), mitk::AffineImageCropperInteractor::DeformObject(), mitk::WatershedTool::DoIt(), QmitkColorTransferFunctionCanvas::DoubleClickOnHandle(), QmlMitkColorTransferFunctionCanvas::DoubleClickOnHandle(), QmitkDataStorageTreeModel::dropMimeData(), QmitkToolReferenceDataSelectionBox::EnsureOnlyReferenceImageIsVisibile(), QmitkPropertyDelegate::eventFilter(), mitk::DiffSliceOperationApplier::ExecuteOperation(), mitk::DiffImageApplier::ExecuteOperation(), mitk::GPUVolumeMapper3D::GenerateDataCPU(), mitk::GPUVolumeMapper3D::GenerateDataGPU(), mitk::OverlayManager::GetInstance(), mitk::SliceNavigationController::GetRenderingManager(), QmlMitkDatamanager::globalReinit(), QmitkDataManagerView::GlobalReinit(), QmlMitkStdMultiItem::init(), InitGLEW(), mitk::RenderWindowBase::Initialize(), QmlMitkImageNavigator::initialize(), mitk::InteractionTestHelper::Initialize(), InitializeWindows(), QmitkSliceWidget::InitWidget(), mitk::SegmentationSink::InsertBelowGroupNode(), mitk::ContourModelInteractor::IsHovering(), mitk::ContourModelLiveWireInteractor::IsHovering(), QmitkTransferFunctionCanvas::keyPressEvent(), QmlMitkTransferFunctionCanvas::keyPressEvent(), mitk::WorkbenchUtil::LoadFiles(), main(), QmitkDataManagerView::MakeAllNodesInvisible(), mitkDispatcherTest(), mitkRenderingManagerTest(), mitk::CompositeMapper::MitkRenderOpaqueGeometry(), mitkSurfaceVtkMapper3DTest(), mitkViewportRenderingTest(), mitk::PaintbrushTool::MouseMoved(), QmitkTransferFunctionCanvas::mouseMoveEvent(), QmlMitkTransferFunctionCanvas::mouseMoveEvent(), QmlMitkSliderLevelWindowItem::mouseMoveEvent(), QmitkSliderLevelWindowWidget::mouseMoveEvent(), QmitkTransferFunctionCanvas::mousePressEvent(), QmlMitkTransferFunctionCanvas::mousePressEvent(), QmitkTransferFunctionCanvas::mouseReleaseEvent(), QmlMitkTransferFunctionCanvas::mouseReleaseEvent(), QmlMitkStdMultiItem::moveCrossToPosition(), QmitkPointListViewWidget::MoveSelectedPointDown(), QmitkPointListModel::MoveSelectedPointDown(), QmitkPointListViewWidget::MoveSelectedPointUp(), QmitkPointListModel::MoveSelectedPointUp(), QmitkSlicesInterpolator::On3DInterpolationActivated(), QmitkSlicesInterpolator::OnAccept3DInterpolationClicked(), QmitkSliceBasedInterpolatorWidget::OnAcceptInterpolationClicked(), QmitkSlicesInterpolator::OnAcceptInterpolationClicked(), mitk::LiveWireTool2D::OnAddPoint(), mitk::FastMarchingTool3D::OnAddPoint(), mitk::FastMarchingTool::OnAddPoint(), QmitkPropertyListPopup::onBoolPropertyClicked(), QmitkPointListWidget::OnBtnLoadPoints(), 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(), mitk::LiveWireTool2D::OnInitLiveWire(), QmitkSlicesInterpolator::OnInterpolationActivated(), mitk::PaintbrushTool::OnInvertLogic(), QmitkBoundingObjectWidget::OnItemDataChanged(), mitk::LiveWireTool2D::OnLastSegmentDelete(), QmitkPointListView::OnListViewSelectionChanged(), QmitkTransferFunctionGeneratorWidget::OnLoadPreset(), 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(), QmitkStdMultiWidgetEditor::OnPreferencesChanged(), QmitkInteractiveTransformationWidget::OnResetGeometry(), QmitkToFVisualisationSettingsWidget::OnSetXValueColor(), QmitkNavigationToolCreationWidget::OnShowAdvancedOptions(), QmitkSliceBasedInterpolatorWidget::OnSliceChanged(), QmitkSurfaceStampWidget::OnStamp(), QmitkMaskStampWidget::OnStamp(), QmitkSurfaceBasedInterpolatorWidget::OnToggleWidgetActivation(), QmitkSliceBasedInterpolatorWidget::OnToggleWidgetActivation(), QmitkNumberPropertySlider::onValueChanged(), QmitkNumberPropertyEditor::onValueChanged(), QmitkPythonVariableStackTableView::OnVariableStackDoubleClicked(), QmitkPropertyListPopup::onVisibleClicked(), QmitkDataManagerView::OpacityChanged(), mitk::InteractionTestHelper::PlaybackInteraction(), QmitkNumberPropertyEditor::PropertyChanged(), QmitkSelectableGLWidget::QmitkSelectableGLWidget(), QmitkStdMultiWidget::QmitkStdMultiWidget(), mitk::LimitedLinearUndo::Redo(), mitk::UndoController::Redo(), QmitkFiducialRegistrationWidget::Register(), QmitkNavigationToolCreationAdvancedWidget::ReInitialize(), QmlMitkDatamanager::reinitNode(), mitk::VtkOverlay::RemoveFromRenderer(), QmitkPointListViewWidget::RemoveSelectedPoint(), QmitkPointListModel::RemoveSelectedPoint(), mitk::FastMarchingTool3D::Reset(), mitk::FastMarchingTool::Reset(), QmitkLabelSetWidget::ResetAllTableWidgetItems(), mitk::AffineBaseDataInteractor3D::RestoreNodeProperties(), QmitkInteractiveTransformationWidget::Rotate(), mitk::DisplayInteractor::Rotate(), mitk::CameraRotationController::RotateCamera(), mitk::AffineBaseDataInteractor3D::RotateGeometry(), mitk::OtsuTool3D::RunSegmentation(), mitk::AffineBaseDataInteractor3D::ScaleGeometry(), QmitkPropertyItemModel::setData(), QmitkDataStorageTreeModel::setData(), QmitkPropertiesTableModel::setData(), QmitkDataStorageTableModel::setData(), QmitkLevelWindowWidgetContextMenu::setDefaultLevelWindow(), QmitkLevelWindowWidgetContextMenu::setDefaultScaleRange(), QmitkBoundingObjectWidget::setEnabled(), QmlMitkColorTransferFunctionCanvas::setGreyValue(), QmlMitkPiecewiseFunctionCanvas::setGreyValue(), QmlMitkSliderLevelWindowItem::setLevel(), QmitkLineEditLevelWindowWidget::SetLevelValue(), QmlMitkProperties::setLod(), mitk::RenderingTestHelper::SetMapperIDToRender3D(), QmitkLevelWindowWidgetContextMenu::setMaximumWindow(), QmlMitkProperties::setMode(), QmlMitkPiecewiseFunctionCanvas::setOpacity(), QmitkLevelWindowWidgetContextMenu::setPreset(), QmlMitkProperties::setRendering(), mitk::InteractionTestHelper::SetTimeStep(), Step8::SetupWidgets(), mitk::RenderingTestHelper::SetViewDirection(), QmlMitkSliderLevelWindowItem::setWindow(), QmitkLineEditLevelWindowWidget::SetWindowValue(), QmitkTransferFunctionCanvas::SetX(), QmlMitkTransferFunctionCanvas::SetX(), QmitkTransferFunctionWidget::SetXValueColor(), QmitkTransferFunctionWidget::SetXValueGradient(), QmitkTransferFunctionWidget::SetXValueScalar(), QmitkTransferFunctionCanvas::SetY(), QmlMitkTransferFunctionCanvas::SetY(), QmitkTransferFunctionWidget::SetYValueGradient(), QmitkTransferFunctionWidget::SetYValueScalar(), QmitkSlicesInterpolator::Show3DInterpolationResult(), QmitkSurfaceBasedInterpolatorWidget::ShowInterpolationResult(), mitk::OtsuTool3D::ShowMultiLabelResultNode(), QmitkDataManagerView::ShowOnlySelectedNodes(), QmitkProgressBar::SlotAddStepsToDo(), QmitkProgressBar::SlotProgress(), Step7::StartRegionGrowing(), Step6::StartRegionGrowing(), mitk::PickingTool::StartRegionGrowing(), QmitkSurfaceBasedInterpolatorWidget::StopUpdateInterpolationTimer(), QmitkSlicesInterpolator::StopUpdateInterpolationTimer(), QmitkDataManagerView::SurfaceRepresentationActionToggled(), mitk::DisplayInteractor::Swivel(), QmitkDataManagerView::TextureInterpolationToggled(), QmlMitkStdMultiItem::togglePlanes(), QmlMitkDatamanager::toggleVisibility(), QmitkDataManagerView::ToggleVisibilityOfSelectedNodes(), QmitkInteractiveTransformationWidget::Translate(), mitk::AffineBaseDataInteractor3D::TranslateGeometry(), mitk::LimitedLinearUndo::Undo(), mitk::UndoController::Undo(), mitk::FastMarchingTool3D::Update(), mitk::FastMarchingTool::Update(), mitk::TubeGraphDataInteractor::UpdateActivation(), QmitkLabelSetWidget::UpdateAllTableWidgetItems(), QmitkSliceWidget::UpdateGL(), mitk::BinaryThresholdTool::UpdatePreview(), mitk::BinaryThresholdULTool::UpdatePreview(), QmitkVideoBackground::UpdateVideo(), QmitkSliceBasedInterpolatorWidget::UpdateVisibleSuggestion(), QmitkSlicesInterpolator::UpdateVisibleSuggestion(), mitk::OtsuTool3D::UpdateVolumePreview(), QmitkLevelWindowWidgetContextMenu::useAllGreyvaluesFromImage(), QmitkLevelWindowWidgetContextMenu::useOptimizedLevelWindow(), mitk::SegTool2D::WriteBackSegmentationResult(), mitk::MovieGenerator::WriteCurrentFrameToMovie(), mitk::MovieGenerator::WriteMovie(), and mitk::InteractionTestHelper::~InteractionTestHelper().

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

En-/Disable LOD abort mechanism.

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

En-/Disable LOD increase globally.

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

Definition at line 625 of file mitkRenderingManager.cpp.

References m_NextLODMap.

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

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

Returns a property from m_PropertyList

Definition at line 702 of file mitkRenderingManager.cpp.

References m_PropertyList.

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

Returns a property list

Definition at line 701 of file mitkRenderingManager.cpp.

References m_PropertyList.

Referenced by QmitkOverlayController::AddOverlay().

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

Definition at line 667 of file mitkRenderingManager.cpp.

References m_MaxLOD, and m_ShadingEnabled.

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

Definition at line 688 of file mitkRenderingManager.cpp.

References m_ShadingValues.

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

Definition at line 82 of file mitkRenderingManager.h.

SliceNavigationController * mitk::RenderingManager::GetTimeNavigationController ( )

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

Definition at line 516 of file mitkRenderingManager.cpp.

References m_TimeNavigationController.

bool mitk::RenderingManager::HasFactory ( )
static

Returns true if a factory has already been set.

Definition at line 81 of file mitkRenderingManager.cpp.

References s_RenderingManagerFactory.

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

void mitk::RenderingManager::InitializePropertyList ( )
protectedvirtual
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 419 of file mitkRenderingManager.cpp.

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

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

Initializes the specified window to the default viewing direction (geomtry information is NOT changed). PLATFORM SPECIFIC.

Definition at line 462 of file mitkRenderingManager.cpp.

References mitk::BaseRenderer::GetInstance(), mitk::BaseRenderer::GetSliceNavigationController(), RequestUpdate(), mitk::SliceNavigationController::SetViewDirectionToDefault(), and mitk::SliceNavigationController::Update().

bool mitk::RenderingManager::IsInstantiated ( )
static

Returns true if the singleton instance does already exist.

Definition at line 114 of file mitkRenderingManager.cpp.

References s_Instance.

bool mitk::RenderingManager::IsRendering ( ) const

Definition at line 599 of file mitkRenderingManager.cpp.

References m_RenderWindowList, and RENDERING_INPROGRESS.

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

En-/Disable LOD abort mechanism.

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

En-/Disable LOD increase globally.

RenderingManager::Pointer mitk::RenderingManager::New ( void  )
static
void mitk::RenderingManager::RemoveRenderWindow ( vtkRenderWindow *  renderWindow)
void mitk::RenderingManager::RenderingEndCallback ( vtkObject *  caller,
unsigned long  eid,
void *  clientdata,
void *  calldata 
)
staticprotected
void mitk::RenderingManager::RenderingProgressCallback ( vtkObject *  caller,
unsigned long  eid,
void *  clientdata,
void *  calldata 
)
staticprotected
void mitk::RenderingManager::RenderingStartCallback ( vtkObject *  caller,
unsigned long  eid,
void *  clientdata,
void *  calldata 
)
staticprotected
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 193 of file mitkRenderingManager.cpp.

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

Referenced by mitk::VtkOverlay::AddToRenderer(), QmitkSurfaceBasedInterpolatorWidget::ChangeSurfaceColor(), QmitkSlicesInterpolator::ChangeSurfaceColor(), ExecutePendingHighResRenderingRequest(), InitializeView(), QmitkSliceWidget::InitWidget(), mitk::ContourModelInteractor::IsHovering(), mitk::ContourModelLiveWireInteractor::IsHovering(), mitk::PaintbrushTool::MouseMoved(), mitk::DisplayInteractor::Move(), mitk::LiveWireTool2D::OnAddPoint(), mitk::ContourModelInteractor::OnCheckPointClick(), mitk::ContourModelLiveWireInteractor::OnCheckPointClick(), mitk::ContourModelLiveWireInteractor::OnDeletePoint(), mitk::ContourModelInteractor::OnFinishEditing(), mitk::ContourModelLiveWireInteractor::OnFinishEditing(), mitk::LiveWireTool2D::OnInitLiveWire(), mitk::LiveWireTool2D::OnLastSegmentDelete(), mitk::ContourTool::OnMouseMoved(), mitk::CorrectorTool2D::OnMouseMoved(), mitk::LiveWireTool2D::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(), QmitkRenderWindow::paintEvent(), mitk::VtkOverlay::RemoveFromRenderer(), QmitkStdMultiWidget::RequestUpdate(), RequestUpdateAll(), mitk::CameraRotationController::RotateCamera(), QmitkSurfaceBasedInterpolatorWidget::StopUpdateInterpolationTimer(), QmitkSlicesInterpolator::StopUpdateInterpolationTimer(), QmitkSliceWidget::UpdateGL(), and QmitkVideoBackground::UpdateVideo().

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 251 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::OtsuTool3D::CalculatePreview(), QmitkBSplineRegistrationView::CalculateTransformation(), QmitkAdaptiveRegionGrowingToolGUI::ChangeLevelWindow(), QmitkLevelWindowWidgetContextMenu::changeScaleRange(), mitk::PaintbrushTool::CheckIfCurrentSliceHasChanged(), QmitkToFPointSetWidget::CleanUpWidget(), QmitkPointListView::ClearPointList(), QmitkDataManagerView::ColorChanged(), QmitkDataManagerView::ColormapActionToggled(), mitk::PickingTool::ConfirmSegmentation(), mitk::FastMarchingTool3D::ConfirmSegmentation(), mitk::FastMarchingTool::ConfirmSegmentation(), QmitkBoundingObjectWidget::CreateBoundingObject(), mitk::AffineBaseDataInteractor3D::DataNodeChanged(), mitk::BinaryThresholdTool::Deactivated(), mitk::BinaryThresholdULTool::Deactivated(), mitk::FastMarchingTool3D::Deactivated(), mitk::FastMarchingTool::Deactivated(), mitk::SurfaceDeformationDataInteractor3D::DeformObject(), mitk::AffineImageCropperInteractor::DeformObject(), mitk::PlanarFigureInteractor::DeleteFigure(), mitk::AffineImageCropperInteractor::DeselectObject(), mitk::SurfaceDeformationDataInteractor3D::DeselectObject(), mitk::ClippingPlaneInteractor3D::DeselectObject(), mitk::AffineBaseDataInteractor3D::DeselectObject(), mitk::TubeGraphDataInteractor::DeselectTube(), mitk::WatershedTool::DoIt(), QmitkColorTransferFunctionCanvas::DoubleClickOnHandle(), QmlMitkColorTransferFunctionCanvas::DoubleClickOnHandle(), QmitkDataStorageTreeModel::dropMimeData(), mitk::PlanarFigureInteractor::EndHovering(), mitk::PlanarFigureInteractor::EndInteraction(), QmitkToolReferenceDataSelectionBox::EnsureOnlyReferenceImageIsVisibile(), QmitkPropertyDelegate::eventFilter(), mitk::DiffSliceOperationApplier::ExecuteOperation(), mitk::DiffImageApplier::ExecuteOperation(), mitk::PlanarFigureInteractor::FinalizeFigure(), mitk::PointSetDataInteractor::FinishMove(), mitk::PlanarFigureInteractor::HidePreviewPoint(), InitializeViews(), mitk::SegmentationSink::InsertBelowGroupNode(), QmitkTransferFunctionCanvas::keyPressEvent(), QmlMitkTransferFunctionCanvas::keyPressEvent(), main(), QmitkDataManagerView::MakeAllNodesInvisible(), QmitkTransferFunctionCanvas::mouseMoveEvent(), QmlMitkTransferFunctionCanvas::mouseMoveEvent(), QmlMitkSliderLevelWindowItem::mouseMoveEvent(), QmitkSliderLevelWindowWidget::mouseMoveEvent(), QmitkTransferFunctionCanvas::mousePressEvent(), QmlMitkTransferFunctionCanvas::mousePressEvent(), QmitkTransferFunctionCanvas::mouseReleaseEvent(), QmlMitkTransferFunctionCanvas::mouseReleaseEvent(), QmlMitkStdMultiItem::moveCrossToPosition(), QmitkStdMultiWidget::MoveCrossToPosition(), 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::OnBtnLoadPoints(), QmitkPropertyListPopup::onColorClicked(), QmitkColorPropertyEditor::onColorSelected(), mitk::FastMarchingTool3D::OnDelete(), mitk::FastMarchingTool::OnDelete(), QmitkTransferFunctionGeneratorWidget::OnDeltaLevelWindow(), QmitkTransferFunctionGeneratorWidget::OnDeltaThreshold(), QmitkSlicesInterpolator::OnInterpolationActivated(), mitk::PaintbrushTool::OnInvertLogic(), QmitkBoundingObjectWidget::OnItemDataChanged(), QmitkPointListView::OnListViewSelectionChanged(), QmitkTransferFunctionGeneratorWidget::OnLoadPreset(), QmitkStdMultiWidgetEditor::OnPreferencesChanged(), QmitkInteractiveTransformationWidget::OnResetGeometry(), QmitkToFVisualisationSettingsWidget::OnSetXValueColor(), QmitkSliceBasedInterpolatorWidget::OnSliceChanged(), QmitkSurfaceStampWidget::OnStamp(), QmitkMaskStampWidget::OnStamp(), QmitkSurfaceBasedInterpolatorWidget::OnToggleWidgetActivation(), QmitkSliceBasedInterpolatorWidget::OnToggleWidgetActivation(), QmitkNumberPropertySlider::onValueChanged(), QmitkNumberPropertyEditor::onValueChanged(), QmitkPythonVariableStackTableView::OnVariableStackDoubleClicked(), QmitkPropertyListPopup::onVisibleClicked(), QmitkDataManagerView::OpacityChanged(), QmitkNumberPropertyEditor::PropertyChanged(), 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(), QmitkInteractiveTransformationWidget::Rotate(), mitk::DisplayInteractor::Rotate(), mitk::AffineBaseDataInteractor3D::RotateGeometry(), mitk::ClippingPlaneInteractor3D::RotateObject(), mitk::AffineImageCropperInteractor::RotateObject(), mitk::AffineBaseDataInteractor3D::RotateObject(), mitk::OtsuTool3D::RunSegmentation(), mitk::AffineBaseDataInteractor3D::ScaleGeometry(), mitk::SurfaceDeformationDataInteractor3D::ScaleRadius(), mitk::AffineImageCropperInteractor::ScaleRadius(), mitk::AffineImageCropperInteractor::SelectObject(), mitk::SurfaceDeformationDataInteractor3D::SelectObject(), mitk::ClippingPlaneInteractor3D::SelectObject(), mitk::AffineBaseDataInteractor3D::SelectObject(), mitk::PointSetDataInteractor::SelectPoint(), mitk::TubeGraphDataInteractor::SelectTube(), mitk::SliceNavigationController::SendSlice(), mitk::SliceNavigationController::SendTime(), QmitkPropertyItemModel::setData(), QmitkDataStorageTreeModel::setData(), QmitkPropertiesTableModel::setData(), QmitkDataStorageTableModel::setData(), QmitkLevelWindowWidgetContextMenu::setDefaultLevelWindow(), QmitkLevelWindowWidgetContextMenu::setDefaultScaleRange(), QmitkBoundingObjectWidget::setEnabled(), QmlMitkColorTransferFunctionCanvas::setGreyValue(), QmlMitkPiecewiseFunctionCanvas::setGreyValue(), QmlMitkSliderLevelWindowItem::setLevel(), QmitkLineEditLevelWindowWidget::SetLevelValue(), QmlMitkProperties::setLod(), QmitkLevelWindowWidgetContextMenu::setMaximumWindow(), QmlMitkProperties::setMode(), QmlMitkPiecewiseFunctionCanvas::setOpacity(), QmitkLevelWindowWidgetContextMenu::setPreset(), mitk::PlanarFigureInteractor::SetPreviewPointPosition(), QmlMitkProperties::setRendering(), mitk::CameraController::SetStandardView(), QmitkStdMultiWidget::SetWidgetPlanesVisibility(), QmlMitkSliderLevelWindowItem::setWindow(), QmitkLineEditLevelWindowWidget::SetWindowValue(), QmitkTransferFunctionCanvas::SetX(), QmlMitkTransferFunctionCanvas::SetX(), QmitkTransferFunctionWidget::SetXValueColor(), QmitkTransferFunctionWidget::SetXValueGradient(), QmitkTransferFunctionWidget::SetXValueScalar(), QmitkTransferFunctionCanvas::SetY(), QmlMitkTransferFunctionCanvas::SetY(), QmitkTransferFunctionWidget::SetYValueGradient(), QmitkTransferFunctionWidget::SetYValueScalar(), QmitkSlicesInterpolator::Show3DInterpolationResult(), QmitkSurfaceBasedInterpolatorWidget::ShowInterpolationResult(), mitk::OtsuTool3D::ShowMultiLabelResultNode(), QmitkDataManagerView::ShowOnlySelectedNodes(), mitk::PlanarFigureInteractor::StartHovering(), Step7::StartRegionGrowing(), Step6::StartRegionGrowing(), mitk::PickingTool::StartRegionGrowing(), QmitkDataManagerView::SurfaceRepresentationActionToggled(), mitk::DisplayInteractor::Swivel(), QmitkDataManagerView::TextureInterpolationToggled(), QmlMitkStdMultiItem::togglePlanes(), QmlMitkDatamanager::toggleVisibility(), QmitkDataManagerView::ToggleVisibilityOfSelectedNodes(), QmitkInteractiveTransformationWidget::Translate(), mitk::AffineBaseDataInteractor3D::TranslateGeometry(), mitk::ClippingPlaneInteractor3D::TranslateObject(), mitk::AffineImageCropperInteractor::TranslateObject(), mitk::LimitedLinearUndo::Undo(), mitk::UndoController::Undo(), mitk::FastMarchingTool3D::Update(), mitk::FastMarchingTool::Update(), mitk::TubeGraphDataInteractor::UpdateActivation(), QmitkLabelSetWidget::UpdateAllTableWidgetItems(), mitk::BinaryThresholdTool::UpdatePreview(), mitk::BinaryThresholdULTool::UpdatePreview(), QmitkSliceBasedInterpolatorWidget::UpdateVisibleSuggestion(), QmitkSlicesInterpolator::UpdateVisibleSuggestion(), mitk::OtsuTool3D::UpdateVolumePreview(), QmitkLevelWindowWidgetContextMenu::useAllGreyvaluesFromImage(), QmitkLevelWindowWidgetContextMenu::useOptimizedLevelWindow(), and mitk::SegTool2D::WriteBackSegmentationResult().

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

Definition at line 678 of file mitkRenderingManager.cpp.

References m_ClippingPlaneEnabled.

virtual void mitk::RenderingManager::SetConstrainedPanningZooming ( bool  _arg)
virtual
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 712 of file mitkRenderingManager.cpp.

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

void mitk::RenderingManager::SetFactory ( RenderingManagerFactory factory)
static
virtual void mitk::RenderingManager::SetLODAbortMechanismEnabled ( bool  _arg)
virtual

En-/Disable LOD abort mechanism.

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

En-/Disable LOD increase globally.

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

Set current LOD (NULL means all renderers)

Definition at line 655 of file mitkRenderingManager.cpp.

References m_MaxLOD, and max().

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

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

Definition at line 707 of file mitkRenderingManager.cpp.

References m_PropertyList.

Referenced by InitializePropertyList().

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 727 of file mitkRenderingManager.cpp.

References m_RenderWindowList, and MITK_ERROR.

Referenced by QmitkStdMultiWidget::changeLayoutToBig3D(), QmitkStdMultiWidget::changeLayoutToWidget1(), QmitkStdMultiWidget::changeLayoutToWidget2(), and QmitkStdMultiWidget::changeLayoutToWidget3().

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

Definition at line 657 of file mitkRenderingManager.cpp.

References m_MaxLOD, and m_ShadingEnabled.

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

Definition at line 680 of file mitkRenderingManager.cpp.

References m_ShadingValues.

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

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

Reimplemented in QmitkRenderingManager, and QmlMitkRenderingManager.

Definition at line 228 of file mitkRenderingManager.h.

Referenced by RenderingEndCallback().

Member Data Documentation

RenderWindowVector mitk::RenderingManager::m_AllRenderWindows
protected
bool mitk::RenderingManager::m_ClippingPlaneEnabled
protected

Definition at line 328 of file mitkRenderingManager.h.

Referenced by GetClippingPlaneStatus(), and SetClippingPlaneStatus().

bool mitk::RenderingManager::m_ConstrainedPanningZooming
protected

Definition at line 359 of file mitkRenderingManager.h.

Referenced by InitializeViews().

DataStoragePointer mitk::RenderingManager::m_DataStorage
protected

Definition at line 357 of file mitkRenderingManager.h.

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

bool mitk::RenderingManager::m_LODAbortMechanismEnabled
protected

Definition at line 324 of file mitkRenderingManager.h.

Referenced by RenderingProgressCallback().

bool mitk::RenderingManager::m_LODIncreaseBlocked
protected

Definition at line 322 of file mitkRenderingManager.h.

unsigned int mitk::RenderingManager::m_MaxLOD
protected

Definition at line 320 of file mitkRenderingManager.h.

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

RendererIntMap mitk::RenderingManager::m_NextLODMap
protected
PropertyList::Pointer mitk::RenderingManager::m_PropertyList
protected
RendererBoolMap mitk::RenderingManager::m_RenderingAbortedMap
protected

Definition at line 316 of file mitkRenderingManager.h.

Referenced by AbortRendering().

RenderWindowCallbacksList mitk::RenderingManager::m_RenderWindowCallbacksList
protected

Definition at line 348 of file mitkRenderingManager.h.

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

BoolVector mitk::RenderingManager::m_ShadingEnabled
protected

Definition at line 326 of file mitkRenderingManager.h.

Referenced by GetShading(), and SetShading().

FloatVector mitk::RenderingManager::m_ShadingValues
protected

Definition at line 330 of file mitkRenderingManager.h.

Referenced by GetShadingValues(), and SetShadingValues().

itk::SmartPointer<SliceNavigationController> mitk::RenderingManager::m_TimeNavigationController
protected
bool mitk::RenderingManager::m_UpdatePending
protected
RenderingManager::Pointer mitk::RenderingManager::s_Instance
staticprotected

Definition at line 352 of file mitkRenderingManager.h.

Referenced by GetInstance(), and IsInstantiated().

RenderingManagerFactory* mitk::RenderingManager::s_RenderingManagerFactory
staticprotected

Definition at line 353 of file mitkRenderingManager.h.

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


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