Rendering/vtkWindowToImageFilter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00052 #ifndef __vtkWindowToImageFilter_h
00053 #define __vtkWindowToImageFilter_h
00054
00055 #include "vtkImageSource.h"
00056
00057 class vtkWindow;
00058
00059 class VTK_RENDERING_EXPORT vtkWindowToImageFilter : public vtkImageSource
00060 {
00061 public:
00062 static vtkWindowToImageFilter *New();
00063
00064 vtkTypeRevisionMacro(vtkWindowToImageFilter,vtkImageSource);
00065 void PrintSelf(ostream& os, vtkIndent indent);
00066
00068 void SetInput(vtkWindow *input);
00069
00071
00073 vtkGetObjectMacro(Input,vtkWindow);
00075
00077
00078 vtkSetClampMacro(Magnification,int,1,2048);
00079 vtkGetMacro(Magnification,int);
00080
00081
00082
00083 vtkBooleanMacro(ReadFrontBuffer, int);
00084 vtkGetMacro(ReadFrontBuffer, int);
00085 vtkSetMacro(ReadFrontBuffer, int);
00087
00088 protected:
00089 vtkWindowToImageFilter();
00090 ~vtkWindowToImageFilter();
00091
00092
00093 vtkWindow *Input;
00094 int Magnification;
00095 int ReadFrontBuffer;
00096 void ExecuteInformation();
00097 void ExecuteData(vtkDataObject *data);
00098 private:
00099 vtkWindowToImageFilter(const vtkWindowToImageFilter&);
00100 void operator=(const vtkWindowToImageFilter&);
00101 };
00102
00103 #endif