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