13 #ifndef mitkRenderWindowFrame_h
14 #define mitkRenderWindowFrame_h
17 #include <itkObject.h>
19 #include <vtkSmartPointer.h>
22 class vtkRenderWindow;
38 itkFactorylessNewMacro(Self);
59 virtual void Enable(
float col1,
float col2,
float col3);
Renders a colored rectangle frame at the borders of a vtkRenderWindow.
vtkSmartPointer< vtkRenderer > m_RectangleRenderer
RenderWindowFrame()
Constructor.
virtual void SetRenderWindow(vtkSmartPointer< vtkRenderWindow > renderWindow)
Set the render window in which the colored rectangle border will be shown.
virtual void Disable()
Disable drawing of the colored rectangle frame.
vtkSmartPointer< vtkRenderWindow > m_RenderWindow
mitkClassMacroItkParent(RenderWindowFrame, itk::Object)
~RenderWindowFrame() override
Destructor.
virtual vtkSmartPointer< vtkRenderWindow > GetRenderWindow()
Get the vtkRenderWindow used for displaying the frame.
virtual void Enable(float col1, float col2, float col3)
Enable drawing of the colored rectangle frame.
virtual vtkSmartPointer< vtkRenderer > GetVtkRenderer()
Get the renderer responsible for rendering the frame.
virtual bool IsEnabled()
Check whether the frame is currently enabled (visible).
Find image slices visible on a given plane.