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 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 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&); // Not implemented. 00063 void operator=(const vtkImagePadFilter&); // Not implemented. 00064 }; 00065 00066 #endif 00067 00068 00069