Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Base class of MITK RenderWindows. More...
#include <mitkRenderWindowBase.h>
Public Member Functions | |
virtual | ~RenderWindowBase () |
void | InitRenderer () |
virtual mitk::SliceNavigationController * | GetSliceNavigationController () |
virtual mitk::CameraRotationController * | GetCameraRotationController () |
virtual mitk::BaseController * | GetController () |
virtual mitk::VtkPropRenderer * | GetRenderer () |
virtual vtkRenderWindow * | GetVtkRenderWindow ()=0 |
virtual vtkRenderWindowInteractor * | GetVtkRenderWindowInteractor ()=0 |
virtual bool | HandleEvent (InteractionEvent *interactionEvent) |
Protected Member Functions | |
RenderWindowBase () | |
void | Initialize (mitk::RenderingManager *renderingManager=NULL, const char *name="unnamed renderer", mitk::BaseRenderer::RenderingMode::Type renderingMode=mitk::BaseRenderer::RenderingMode::Standard) |
void | Destroy () |
Protected Attributes | |
mitk::VtkPropRenderer::Pointer | m_Renderer |
vtkMitkRenderProp * | m_RenderProp |
bool | m_InResize |
Base class of MITK RenderWindows.
This class sets up the MITK rendering mechanism and it's integration into VTK.
Currently, there are two specific implementations of this abstract class: QmitkRenderWindow, inerhits from the QVTKWidget and is the matured way for MITK rendering mitkRenderWindow is a new, QT-independent RenderWindow implementation
Definition at line 43 of file mitkRenderWindowBase.h.
|
virtual |
Definition at line 83 of file mitkRenderWindowBase.cpp.
|
protected |
Definition at line 22 of file mitkRenderWindowBase.cpp.
|
protected |
Definition at line 75 of file mitkRenderWindowBase.cpp.
References mitk::BaseRenderer::RemoveInstance().
Referenced by QmitkRenderWindow::~QmitkRenderWindow(), and QmlMitkRenderWindowItem::~QmlMitkRenderWindowItem().
|
virtual |
Definition at line 92 of file mitkRenderWindowBase.cpp.
References mitk::BaseRenderer::GetCameraRotationController(), and mitk::BaseRenderer::GetInstance().
Referenced by QmitkSelectableGLWidget::GetCameraRotationController(), and QmitkSliceWidget::GetCameraRotationController().
|
virtual |
Definition at line 97 of file mitkRenderWindowBase.cpp.
References mitk::BaseRenderer::GetInstance(), mitk::BaseRenderer::GetMapperID(), mitk::BaseRenderer::Standard2D, and mitk::BaseRenderer::Standard3D.
Referenced by QmitkSelectableGLWidget::GetController(), and QmitkSliceWidget::GetController().
|
virtual |
Definition at line 113 of file mitkRenderWindowBase.cpp.
Referenced by QmitkOverlayController::AddOverlay(), QmlMitkStdMultiItem::addPlanes(), QmlMitkRenderWindowItem::createPlaneNode(), QmitkStdMultiWidget::DisableGradientBackground(), QmitkStdMultiWidget::EnableGradientBackground(), QmitkODFRenderWidget::GenerateODF(), main(), QmlMitkRenderWindowItem::mouseMoveEvent(), QmlMitkRenderWindowItem::mousePressEvent(), QmlMitkRenderWindowItem::mouseReleaseEvent(), QmitkRenderWindow::paintEvent(), QmlMitkRenderWindowItem::prepareForRender(), QmitkODFRenderWidget::QmitkODFRenderWidget(), QmitkSliceWidget::QmitkSliceWidget(), QmlMitkStdMultiItem::registerViewerItem(), mitk::InteractionTestHelper::Set3dCameraSettings(), QmlMitkRenderWindowItem::SetDataStorage(), QmlMitkRenderWindowItem::setDecorationProperties(), QmitkStdMultiWidget::SetDecorationProperties(), QmitkStdMultiWidget::SetGradientBackgroundColorForRenderWindow(), QmitkStdMultiWidget::SetGradientBackgroundColors(), QmlMitkRenderWindowItem::setupView(), Step8::SetupWidgets(), Step6::SetupWidgets(), and QmlMitkRenderWindowItem::wheelEvent().
|
virtual |
Definition at line 87 of file mitkRenderWindowBase.cpp.
References mitk::BaseRenderer::GetInstance(), and mitk::BaseRenderer::GetSliceNavigationController().
Referenced by QmlMitkRenderWindowItem::createPlaneNode(), QmlMitkStdMultiItem::getCrossPosition(), QmitkStdMultiWidget::GetCrossPosition(), QmitkSelectableGLWidget::GetSliceNavigationController(), QmitkSliceWidget::GetSliceNavigationController(), QmitkStdMultiWidget::GetTopLayerNode(), QmitkStdMultiWidget::HandleCrosshairPositionEventDelayed(), QmlMitkImageNavigator::initialize(), QmitkStdMultiWidget::InitializeWidget(), QmitkSliceWidget::InitWidget(), main(), QmlMitkStdMultiItem::moveCrossToPosition(), QmitkStdMultiWidget::MoveCrossToPosition(), QmlMitkImageNavigator::OnMillimetreCoordinateValueChanged(), QmlMitkImageNavigator::OnRefetch(), QmitkSliceWidget::QmitkSliceWidget(), QmlMitkImageNavigator::SetStepSize(), QmitkStdMultiWidget::SetWidgetPlanesLocked(), QmitkStdMultiWidget::SetWidgetPlanesRotationLocked(), QmitkSelectableGLWidget::wheelEvent(), and QmitkStdMultiWidget::~QmitkStdMultiWidget().
|
pure virtual |
Implemented in QmitkRenderWindow, QmlMitkRenderWindowItem, and mitk::RenderWindow.
|
pure virtual |
Implemented in QmitkRenderWindow, QmlMitkRenderWindowItem, and mitk::RenderWindow.
|
virtual |
Definition at line 70 of file mitkRenderWindowBase.cpp.
Referenced by QmitkRenderWindow::keyPressEvent(), QmitkRenderWindow::leaveEvent(), QmitkRenderWindow::mouseDoubleClickEvent(), QmlMitkRenderWindowItem::mouseMoveEvent(), QmitkRenderWindow::mouseMoveEvent(), QmlMitkRenderWindowItem::mousePressEvent(), QmitkRenderWindow::mousePressEvent(), QmlMitkRenderWindowItem::mouseReleaseEvent(), QmitkRenderWindow::mouseReleaseEvent(), QmlMitkRenderWindowItem::wheelEvent(), and QmitkRenderWindow::wheelEvent().
|
protected |
Definition at line 40 of file mitkRenderWindowBase.cpp.
References mitk::BaseRenderer::AddInstance(), mitk::RenderingManager::AddRenderWindow(), mitk::RenderingManager::GetInstance(), vtkMitkRenderProp::New(), and mitk::VtkPropRenderer::New().
Referenced by QmitkRenderWindow::QmitkRenderWindow(), QmlMitkRenderWindowItem::QmlMitkRenderWindowItem(), and mitk::RenderWindow::RenderWindow().
void mitk::RenderWindowBase::InitRenderer | ( | ) |
|
protected |
Definition at line 77 of file mitkRenderWindowBase.h.
|
protected |
Definition at line 73 of file mitkRenderWindowBase.h.
Referenced by QmitkRenderWindow::ActivateMenuWidget(), QmitkRenderWindow::keyPressEvent(), QmitkRenderWindow::leaveEvent(), QmitkRenderWindow::mouseDoubleClickEvent(), QmitkRenderWindow::mouseMoveEvent(), QmitkRenderWindow::mousePressEvent(), QmitkRenderWindow::mouseReleaseEvent(), and QmitkRenderWindow::wheelEvent().
|
protected |
Definition at line 75 of file mitkRenderWindowBase.h.