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

dox/Imaging/vtkImageConstantPad.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageConstantPad.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 =========================================================================*/ 00033 #ifndef __vtkImageConstantPad_h 00034 #define __vtkImageConstantPad_h 00035 00036 00037 #include "vtkImagePadFilter.h" 00038 00039 class VTK_IMAGING_EXPORT vtkImageConstantPad : public vtkImagePadFilter 00040 { 00041 public: 00042 static vtkImageConstantPad *New(); 00043 vtkTypeRevisionMacro(vtkImageConstantPad,vtkImagePadFilter); 00044 00045 void PrintSelf(ostream& os, vtkIndent indent); 00046 00048 00049 vtkSetMacro(Constant, float); 00050 vtkGetMacro(Constant, float); 00052 00053 00054 protected: 00055 vtkImageConstantPad(); 00056 ~vtkImageConstantPad() {}; 00057 00058 float Constant; 00059 00060 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 00061 int outExt[6], int id); 00062 private: 00063 vtkImageConstantPad(const vtkImageConstantPad&); // Not implemented. 00064 void operator=(const vtkImageConstantPad&); // Not implemented. 00065 }; 00066 00067 #endif 00068 00069 00070