Medical Imaging Interaction Toolkit  2024.06.00
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 
20 #include "mitkVtkPropRenderer.h"
21 #include "vtkMitkRenderProp.h"
22 
23 #include "mitkInteractionEvent.h"
24 
25 namespace mitk
26 {
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:
61 
62  // helper functions: within constructors and destructors classes are not polymorph.
63  void Initialize(const char *name = "unnamed renderer");
64  void Destroy();
65 
67 
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