00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00041 #ifndef __vtkExtractVOI_h
00042 #define __vtkExtractVOI_h
00043
00044 #include "vtkImageAlgorithm.h"
00045
00046 class VTK_IMAGING_EXPORT vtkExtractVOI : public vtkImageAlgorithm
00047 {
00048 public:
00049 vtkTypeRevisionMacro(vtkExtractVOI,vtkImageAlgorithm);
00050 void PrintSelf(ostream& os, vtkIndent indent);
00051
00053 static vtkExtractVOI *New();
00054
00056
00059 vtkSetVector6Macro(VOI,int);
00060 vtkGetVectorMacro(VOI,int,6);
00062
00064
00068 vtkSetVector3Macro(SampleRate, int);
00069 vtkGetVectorMacro(SampleRate, int, 3);
00071
00072 protected:
00073 vtkExtractVOI();
00074 ~vtkExtractVOI() {};
00075
00076 virtual int RequestUpdateExtent(vtkInformation*,
00077 vtkInformationVector**,
00078 vtkInformationVector*);
00079 virtual int RequestInformation (vtkInformation*,
00080 vtkInformationVector**,
00081 vtkInformationVector*);
00082 virtual int RequestData(vtkInformation* request,
00083 vtkInformationVector** inputVector,
00084 vtkInformationVector* outputVector);
00085
00086 int VOI[6];
00087 int SampleRate[3];
00088 private:
00089 vtkExtractVOI(const vtkExtractVOI&);
00090 void operator=(const vtkExtractVOI&);
00091 };
00092
00093 #endif
00094
00095