13 #ifndef vtkMitkRectangleProp_h
14 #define vtkMitkRectangleProp_h
18 #include <vtkActor2D.h>
19 #include <vtkSmartPointer.h>
33 void SetColor(
float red,
float green,
float blue);
45 void CreateRectangle();
46 void UpdateRectangle();
53 vtkIdType m_BottomLeft;
54 vtkIdType m_BottomRight;
The vtkMitkRectangleProp class renders a rectangle into a renderwindow as a frame.
vtkTypeMacro(vtkMitkRectangleProp, vtkProp)
void SetColor(float red, float green, float blue)
static vtkMitkRectangleProp * New()
void SetLineWidth(unsigned int lineWidth)
int RenderOverlay(vtkViewport *viewport) override
~vtkMitkRectangleProp() override