vtkImagePadFilter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00028 #ifndef __vtkImagePadFilter_h
00029 #define __vtkImagePadFilter_h
00030
00031 #include "vtkImageToImageFilter.h"
00032
00033 class VTK_IMAGING_EXPORT vtkImagePadFilter : public vtkImageToImageFilter
00034 {
00035 public:
00036 static vtkImagePadFilter *New();
00037 vtkTypeRevisionMacro(vtkImagePadFilter,vtkImageToImageFilter);
00038 void PrintSelf(ostream& os, vtkIndent indent);
00039
00041
00042 void SetOutputWholeExtent(int extent[6]);
00043 void SetOutputWholeExtent(int minX, int maxX, int minY, int maxY,
00044 int minZ, int maxZ);
00045 void GetOutputWholeExtent(int extent[6]);
00046 int *GetOutputWholeExtent() {return this->OutputWholeExtent;}
00048
00050
00051 vtkSetMacro(OutputNumberOfScalarComponents, int);
00052 vtkGetMacro(OutputNumberOfScalarComponents, int);
00054
00055 protected:
00056 vtkImagePadFilter();
00057 ~vtkImagePadFilter() {};
00058
00059 int OutputWholeExtent[6];
00060 int OutputNumberOfScalarComponents;
00061
00062 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
00063 void ComputeInputUpdateExtent(int inExt[6], int outExt[6]);
00064 void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();};
00065 private:
00066 vtkImagePadFilter(const vtkImagePadFilter&);
00067 void operator=(const vtkImagePadFilter&);
00068 };
00069
00070 #endif
00071
00072
00073