vtkWindowToImageFilter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00064 #ifndef __vtkWindowToImageFilter_h
00065 #define __vtkWindowToImageFilter_h
00066
00067 #include "vtkImageAlgorithm.h"
00068
00069 class vtkWindow;
00070
00071 class VTK_RENDERING_EXPORT vtkWindowToImageFilter : public vtkImageAlgorithm
00072 {
00073 public:
00074 static vtkWindowToImageFilter *New();
00075
00076 vtkTypeRevisionMacro(vtkWindowToImageFilter,vtkImageAlgorithm);
00077 void PrintSelf(ostream& os, vtkIndent indent);
00078
00080 void SetInput(vtkWindow *input);
00081
00083
00085 vtkGetObjectMacro(Input,vtkWindow);
00087
00089
00090 vtkSetClampMacro(Magnification,int,1,2048);
00091 vtkGetMacro(Magnification,int);
00093
00095
00097 vtkBooleanMacro(ReadFrontBuffer, int);
00098 vtkGetMacro(ReadFrontBuffer, int);
00099 vtkSetMacro(ReadFrontBuffer, int);
00101
00103
00105 vtkBooleanMacro(ShouldRerender, int);
00106 vtkSetMacro(ShouldRerender, int);
00107 vtkGetMacro(ShouldRerender, int);
00109
00111
00113 vtkSetVector4Macro(Viewport,double);
00114 vtkGetVectorMacro(Viewport,double,4);
00116
00117 protected:
00118 vtkWindowToImageFilter();
00119 ~vtkWindowToImageFilter();
00120
00121
00122 vtkWindow *Input;
00123 int Magnification;
00124 int ReadFrontBuffer;
00125 int ShouldRerender;
00126 double Viewport[4];
00127
00128 virtual void ExecuteInformation(vtkInformation *,
00129 vtkInformationVector *,
00130 vtkInformationVector *);
00131
00132 void ExecuteData(vtkDataObject *data);
00133
00134 private:
00135 vtkWindowToImageFilter(const vtkWindowToImageFilter&);
00136 void operator=(const vtkWindowToImageFilter&);
00137 };
00138
00139 #endif