Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _vtk_Colored_Rectangle_Rendering_h_
00019 #define _vtk_Colored_Rectangle_Rendering_h_
00020
00021
00022 #include <vtkSystemIncludes.h>
00023 #include <mitkBaseData.h>
00024
00025 #include <vector>
00026 #include <map>
00027
00028 class vtkRenderer;
00029 class vtkRenderWindow;
00030 class vtkCamera;
00031 class vtkTextProperty;
00032 class vtkTextActor;
00033
00034
00035 namespace mitk {
00036
00044 class MITK_CORE_EXPORT RenderWindowFrame : public BaseData
00045 {
00046 public:
00047
00048 mitkClassMacro( RenderWindowFrame, BaseData );
00049 itkNewMacro( Self );
00050
00056 virtual void SetRenderWindow( vtkRenderWindow* renderWindow );
00057
00062 virtual void Enable(float col1, float col2, float col3);
00063
00068 virtual void Disable();
00069
00074 virtual bool IsEnabled();
00075
00080 virtual void SetRequestedRegionToLargestPossibleRegion();
00081
00086 virtual bool RequestedRegionIsOutsideOfTheBufferedRegion();
00087
00092 virtual bool VerifyRequestedRegion();
00093
00098 virtual void SetRequestedRegion(itk::DataObject*);
00099
00104 virtual vtkRenderWindow* GetRenderWindow();
00105
00111 virtual vtkRenderer* GetVtkRenderer();
00112
00113
00114 protected:
00115
00119 RenderWindowFrame();
00120
00124 ~RenderWindowFrame();
00125
00126 vtkRenderWindow* m_RenderWindow;
00127 vtkRenderer* m_RectangleRenderer;
00128 bool m_IsEnabled;
00129
00130 };
00131
00132 }
00133 #endif