13 #ifndef mitkGradientBackground_h
14 #define mitkGradientBackground_h
16 #include <itkObject.h>
19 #include <vtkSmartPointer.h>
22 class vtkRenderWindow;
41 itkFactorylessNewMacro(
Self);
50 virtual void SetRenderWindow(vtkSmartPointer<vtkRenderWindow> renderWindow);
56 virtual vtkSmartPointer<vtkRenderWindow> GetRenderWindow();
63 virtual vtkSmartPointer<vtkRenderer> GetVtkRenderer();
69 virtual void SetGradientColors(
double r1,
double g1,
double b1,
double r2,
double g2,
double b2);
70 virtual void SetGradientColors(
Color upper,
Color lower);
71 virtual void SetUpperColor(
double r,
double g,
double b);
72 virtual void SetLowerColor(
double r,
double g,
double b);
73 virtual void SetUpperColor(
Color upper);
74 virtual void SetLowerColor(
Color lower);
80 virtual void Enable();
86 virtual void Disable();
92 virtual bool IsEnabled();