Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkRenderWindowBase.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitkRenderWindowBase_h
14
#define mitkRenderWindowBase_h
15
16
#include <
MitkCoreExports.h
>
17
18
#include "
mitkCameraRotationController.h
"
19
#include "
mitkSliceNavigationController.h
"
20
#include "
mitkVtkPropRenderer.h
"
21
#include "
vtkMitkRenderProp.h
"
22
23
#include "
mitkInteractionEvent.h
"
24
25
namespace
mitk
26
{
39
class
MITKCORE_EXPORT
RenderWindowBase
40
{
41
public
:
42
// mitkClassMacroItkParent(RenderWindowBase,itk::Object);
43
// itkFactorylessNewMacro(Self)
44
// itkCloneMacro(Self)
45
46
virtual
~
RenderWindowBase
();
47
48
void
InitRenderer();
49
50
virtual
mitk::SliceNavigationController
*GetSliceNavigationController();
51
virtual
mitk::CameraRotationController
*GetCameraRotationController();
52
virtual
mitk::BaseController
*GetController();
53
virtual
mitk::VtkPropRenderer
*GetRenderer();
54
virtual
vtkRenderWindow *GetVtkRenderWindow() = 0;
55
virtual
vtkRenderWindowInteractor *GetVtkRenderWindowInteractor() = 0;
56
57
virtual
bool
HandleEvent(
InteractionEvent
*interactionEvent);
58
59
protected
:
60
RenderWindowBase
();
61
62
// helper functions: within constructors and destructors classes are not polymorph.
63
void
Initialize(
const
char
*name =
"unnamed renderer"
);
64
void
Destroy();
65
66
mitk::VtkPropRenderer::Pointer
m_Renderer
;
67
68
vtkMitkRenderProp
*
m_RenderProp
;
69
70
bool
m_InResize
;
71
72
private
:
73
};
74
}
75
76
#endif
vtkMitkRenderProp
vtkMitkRenderProp
Definition:
vtkMitkRenderProp.h:29
mitk::InteractionEvent
Definition:
mitkInteractionEvent.h:26
mitkInteractionEvent.h
mitkVtkPropRenderer.h
mitk::RenderWindowBase
Base class of MITK RenderWindows.
Definition:
mitkRenderWindowBase.h:39
itk::SmartPointer< Self >
mitk::VtkPropRenderer
VtkPropRenderer.
Definition:
mitkVtkPropRenderer.h:55
mitk::BaseController
Baseclass for renderer slice-/camera-/time-control.
Definition:
mitkBaseController.h:35
mitk::SliceNavigationController
Controls the selection of the slice the associated BaseRenderer will display.
Definition:
mitkSliceNavigationController.h:130
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitkCameraRotationController.h
MitkCoreExports.h
mitk::RenderWindowBase::m_RenderProp
vtkMitkRenderProp * m_RenderProp
Definition:
mitkRenderWindowBase.h:68
mitk::CameraRotationController
Definition:
mitkCameraRotationController.h:24
vtkMitkRenderProp.h
mitkSliceNavigationController.h
mitk::RenderWindowBase::m_Renderer
mitk::VtkPropRenderer::Pointer m_Renderer
Definition:
mitkRenderWindowBase.h:66
mitk::RenderWindowBase::m_InResize
bool m_InResize
Definition:
mitkRenderWindowBase.h:70
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
src
MITK
Modules
Core
include
mitkRenderWindowBase.h
Generated on Sat Nov 23 2024 02:13:14 for Medical Imaging Interaction Toolkit by
1.8.17