vtkExtractVOI.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00058 #ifndef __vtkExtractVOI_h
00059 #define __vtkExtractVOI_h
00060
00061 #include "vtkImageAlgorithm.h"
00062
00063 class VTK_IMAGING_EXPORT vtkExtractVOI : public vtkImageAlgorithm
00064 {
00065 public:
00066 vtkTypeRevisionMacro(vtkExtractVOI,vtkImageAlgorithm);
00067 void PrintSelf(ostream& os, vtkIndent indent);
00068
00070 static vtkExtractVOI *New();
00071
00073
00076 vtkSetVector6Macro(VOI,int);
00077 vtkGetVectorMacro(VOI,int,6);
00079
00081
00085 vtkSetVector3Macro(SampleRate, int);
00086 vtkGetVectorMacro(SampleRate, int, 3);
00088
00089 protected:
00090 vtkExtractVOI();
00091 ~vtkExtractVOI() {};
00092
00093 virtual void RequestUpdateExtent (vtkInformation *,
00094 vtkInformationVector *,
00095 vtkInformationVector *);
00096 void ExecuteInformation (vtkInformation *,
00097 vtkInformationVector *,
00098 vtkInformationVector *);
00099
00100 virtual void RequestData(vtkInformation *request,
00101 vtkInformationVector *inputVector,
00102 vtkInformationVector *outputVector);
00103
00104 int VOI[6];
00105 int SampleRate[3];
00106 private:
00107 vtkExtractVOI(const vtkExtractVOI&);
00108 void operator=(const vtkExtractVOI&);
00109 };
00110
00111 #endif
00112
00113