Renders a colored rectangle frame at the borders of a vtkRenderWindow.
More...
#include <mitkRenderWindowFrame.h>
Renders a colored rectangle frame at the borders of a vtkRenderWindow.
The rectangle rendering is performed by a vtkMitkRectangleProp. This class instantiates the vtkProp and a corresponding vtkRenderer instance.
- See also
- vtkMitkRectangleProp
Definition at line 34 of file mitkRenderWindowFrame.h.
◆ RenderWindowFrame()
| mitk::RenderWindowFrame::RenderWindowFrame |
( |
| ) |
|
|
protected |
◆ ~RenderWindowFrame()
| mitk::RenderWindowFrame::~RenderWindowFrame |
( |
| ) |
|
|
overrideprotected |
◆ Clone()
| Pointer mitk::RenderWindowFrame::Clone |
( |
| ) |
const |
◆ Disable()
| virtual void mitk::RenderWindowFrame::Disable |
( |
| ) |
|
|
virtual |
Disable drawing of the colored rectangle frame.
If you want to enable it, call the Enable() function.
◆ Enable()
| virtual void mitk::RenderWindowFrame::Enable |
( |
float |
col1, |
|
|
float |
col2, |
|
|
float |
col3 |
|
) |
| |
|
virtual |
Enable drawing of the colored rectangle frame.
If you want to disable it, call the Disable() function.
- Parameters
-
| [in] | col1 | Red color component (0.0 to 1.0). |
| [in] | col2 | Green color component (0.0 to 1.0). |
| [in] | col3 | Blue color component (0.0 to 1.0). |
◆ GetRenderWindow()
| virtual vtkSmartPointer<vtkRenderWindow> mitk::RenderWindowFrame::GetRenderWindow |
( |
| ) |
|
|
virtual |
Get the vtkRenderWindow used for displaying the frame.
- Returns
- The associated vtkRenderWindow, or nullptr if not set.
◆ GetVtkRenderer()
| virtual vtkSmartPointer<vtkRenderer> mitk::RenderWindowFrame::GetVtkRenderer |
( |
| ) |
|
|
virtual |
Get the renderer responsible for rendering the frame.
- Returns
- The internal vtkRenderer instance.
◆ IsEnabled()
| virtual bool mitk::RenderWindowFrame::IsEnabled |
( |
| ) |
|
|
virtual |
Check whether the frame is currently enabled (visible).
- Returns
- True if the frame is enabled, false otherwise.
◆ mitkClassMacroItkParent()
◆ New()
| static Pointer mitk::RenderWindowFrame::New |
( |
| ) |
|
|
static |
◆ SetRenderWindow()
| virtual void mitk::RenderWindowFrame::SetRenderWindow |
( |
vtkSmartPointer< vtkRenderWindow > |
renderWindow | ) |
|
|
virtual |
Set the render window in which the colored rectangle border will be shown.
- Precondition
- Must be called before calling Enable().
- Parameters
-
| [in] | renderWindow | The vtkRenderWindow to render the frame into. |
◆ m_IsEnabled
| bool mitk::RenderWindowFrame::m_IsEnabled |
|
protected |
◆ m_RectangleRenderer
◆ m_RenderWindow
The documentation for this class was generated from the following file: