17 #ifndef mitkGradientBackground_h
18 #define mitkGradientBackground_h
20 #include <itkObject.h>
23 #include <vtkSmartPointer.h>
26 class vtkRenderWindow;
45 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
52 virtual
void SetRenderWindow(vtkSmartPointer<vtkRenderWindow> renderWindow);
58 virtual vtkSmartPointer<vtkRenderWindow> GetRenderWindow();
65 virtual vtkSmartPointer<vtkRenderer> GetVtkRenderer();
71 virtual
void SetGradientColors(
double r1,
double g1,
double b1,
double r2,
double g2,
double b2);
72 virtual
void SetGradientColors(
Color upper,
Color lower);
73 virtual
void SetUpperColor(
double r,
double g,
double b);
74 virtual
void SetLowerColor(
double r,
double g,
double b);
75 virtual
void SetUpperColor(
Color upper);
76 virtual
void SetLowerColor(
Color lower);
82 virtual
void Enable();
88 virtual
void Disable();
94 virtual
bool IsEnabled();
98 ~GradientBackground();
100 vtkSmartPointer<vtkRenderWindow> m_RenderWindow;
102 vtkSmartPointer<vtkRenderer> m_Renderer;
105 #endif // mitkGradientBackground_h
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacroItkParent(className, SuperClassName)
itk::RGBPixel< float > Color
Color Standard RGB color typedef (float)