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