Medical Imaging Interaction Toolkit  2025.12.02
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 
46 
51  virtual void Enable(float col1, float col2, float col3);
52 
57  virtual void Disable();
58 
63  virtual bool IsEnabled();
64 
70 
77 
78  protected:
83 
87  ~RenderWindowFrame() override;
88 
92  };
93 } // end of namespace mitk
94 #endif
#define MITKCORE_EXPORT
vtkSmartPointer< vtkRenderer > m_RectangleRenderer
virtual void SetRenderWindow(vtkSmartPointer< vtkRenderWindow > renderWindow)
virtual void Disable()
vtkSmartPointer< vtkRenderWindow > m_RenderWindow
mitkClassMacroItkParent(RenderWindowFrame, itk::Object)
~RenderWindowFrame() override
virtual vtkSmartPointer< vtkRenderWindow > GetRenderWindow()
virtual void Enable(float col1, float col2, float col3)
virtual vtkSmartPointer< vtkRenderer > GetVtkRenderer()
virtual bool IsEnabled()
Find image slices visible on a given plane.