Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Imaging/vtkImagePadFilter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00039 #ifndef __vtkImagePadFilter_h
00040 #define __vtkImagePadFilter_h
00041
00042 #include "vtkImageToImageFilter.h"
00043
00044 class VTK_IMAGING_EXPORT vtkImagePadFilter : public vtkImageToImageFilter
00045 {
00046 public:
00047 static vtkImagePadFilter *New();
00048 vtkTypeRevisionMacro(vtkImagePadFilter,vtkImageToImageFilter);
00049 void PrintSelf(ostream& os, vtkIndent indent);
00050
00052
00053 void SetOutputWholeExtent(int extent[6]);
00054 void SetOutputWholeExtent(int minX, int maxX, int minY, int maxY,
00055 int minZ, int maxZ);
00056 void GetOutputWholeExtent(int extent[6]);
00057 int *GetOutputWholeExtent() {return this->OutputWholeExtent;}
00059
00061
00062 vtkSetMacro(OutputNumberOfScalarComponents, int);
00063 vtkGetMacro(OutputNumberOfScalarComponents, int);
00065
00066 protected:
00067 vtkImagePadFilter();
00068 ~vtkImagePadFilter() {};
00069
00070 int OutputWholeExtent[6];
00071 int OutputNumberOfScalarComponents;
00072
00073 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
00074 void ComputeInputUpdateExtent(int inExt[6], int outExt[6]);
00075 void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();};
00076 private:
00077 vtkImagePadFilter(const vtkImagePadFilter&);
00078 void operator=(const vtkImagePadFilter&);
00079 };
00080
00081 #endif
00082
00083
00084