Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitkRenderWindowFrame.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 mitkRenderWindowFrame_h
14 #define mitkRenderWindowFrame_h
15 
16 #include <MitkCoreExports.h>
17 #include <itkObject.h>
18 #include <mitkCommon.h>
19 #include <vtkSmartPointer.h>
20 
21 class vtkRenderer;
22 class vtkRenderWindow;
23 
24 namespace mitk
25 {
33  class MITKCORE_EXPORT RenderWindowFrame : public itk::Object
34  {
35  public:
37  itkFactorylessNewMacro(Self);
38  itkCloneMacro(Self);
39 
45  virtual void SetRenderWindow(vtkSmartPointer<vtkRenderWindow> renderWindow);
46 
51  virtual void Enable(float col1, float col2, float col3);
52 
57  virtual void Disable();
58 
63  virtual bool IsEnabled();
64 
69  virtual vtkSmartPointer<vtkRenderWindow> GetRenderWindow();
70 
76  virtual vtkSmartPointer<vtkRenderer> GetVtkRenderer();
77 
78  protected:
83 
87  ~RenderWindowFrame() override;
88 
92  };
93 } // end of namespace mitk
94 #endif
mitk::RenderWindowFrame::m_IsEnabled
bool m_IsEnabled
Definition: mitkRenderWindowFrame.h:91
mitk::RenderWindowFrame
Definition: mitkRenderWindowFrame.h:33
vtkSmartPointer< vtkRenderWindow >
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkCoreExports.h
mitkCommon.h
mitk::RenderWindowFrame::m_RectangleRenderer
vtkSmartPointer< vtkRenderer > m_RectangleRenderer
Definition: mitkRenderWindowFrame.h:90
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15
mitk::RenderWindowFrame::m_RenderWindow
vtkSmartPointer< vtkRenderWindow > m_RenderWindow
Definition: mitkRenderWindowFrame.h:89