Rendering/vtkWindowToImageFilter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00067 #ifndef __vtkWindowToImageFilter_h
00068 #define __vtkWindowToImageFilter_h
00069
00070 #include "vtkImageSource.h"
00071
00072 class vtkWindow;
00073
00074 class VTK_RENDERING_EXPORT vtkWindowToImageFilter : public vtkImageSource
00075 {
00076 public:
00077 static vtkWindowToImageFilter *New();
00078
00079 vtkTypeRevisionMacro(vtkWindowToImageFilter,vtkImageSource);
00080 void PrintSelf(ostream& os, vtkIndent indent);
00081
00083 void SetInput(vtkWindow *input);
00084
00086
00088 vtkGetObjectMacro(Input,vtkWindow);
00090
00092
00093 vtkSetClampMacro(Magnification,int,1,2048);
00094 vtkGetMacro(Magnification,int);
00095
00096
00097
00098 vtkBooleanMacro(ReadFrontBuffer, int);
00099 vtkGetMacro(ReadFrontBuffer, int);
00100 vtkSetMacro(ReadFrontBuffer, int);
00102
00103 protected:
00104 vtkWindowToImageFilter();
00105 ~vtkWindowToImageFilter();
00106
00107
00108 vtkWindow *Input;
00109 int Magnification;
00110 int ReadFrontBuffer;
00111 void ExecuteInformation();
00112 void ExecuteData(vtkDataObject *data);
00113 private:
00114 vtkWindowToImageFilter(const vtkWindowToImageFilter&);
00115 void operator=(const vtkWindowToImageFilter&);
00116 };
00117
00118 #endif