Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Imaging/vtkImagePadFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImagePadFilter.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 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&); // Not implemented. 00067 void operator=(const vtkImagePadFilter&); // Not implemented. 00068 }; 00069 00070 #endif 00071 00072 00073