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