vtkImagePadFilter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00035 #ifndef __vtkImagePadFilter_h
00036 #define __vtkImagePadFilter_h
00037
00038 #include "vtkThreadedImageAlgorithm.h"
00039
00040 class VTK_IMAGING_EXPORT vtkImagePadFilter : public vtkThreadedImageAlgorithm
00041 {
00042 public:
00043 static vtkImagePadFilter *New();
00044 vtkTypeRevisionMacro(vtkImagePadFilter,vtkThreadedImageAlgorithm);
00045 void PrintSelf(ostream& os, vtkIndent indent);
00046
00048
00049 void SetOutputWholeExtent(int extent[6]);
00050 void SetOutputWholeExtent(int minX, int maxX, int minY, int maxY,
00051 int minZ, int maxZ);
00052 void GetOutputWholeExtent(int extent[6]);
00053 int *GetOutputWholeExtent() {return this->OutputWholeExtent;}
00055
00057
00058 vtkSetMacro(OutputNumberOfScalarComponents, int);
00059 vtkGetMacro(OutputNumberOfScalarComponents, int);
00061
00062 protected:
00063 vtkImagePadFilter();
00064 ~vtkImagePadFilter() {};
00065
00066 int OutputWholeExtent[6];
00067 int OutputNumberOfScalarComponents;
00068
00069 void ExecuteInformation (vtkInformation *, vtkInformationVector *,
00070 vtkInformationVector *);
00071 void RequestUpdateExtent (vtkInformation *, vtkInformationVector *,
00072 vtkInformationVector *);
00073 virtual void ComputeInputUpdateExtent (int inExt[6], int outExt[6],
00074 int wExt[6]);
00075
00076 private:
00077 vtkImagePadFilter(const vtkImagePadFilter&);
00078 void operator=(const vtkImagePadFilter&);
00079 };
00080
00081 #endif
00082
00083
00084