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 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 =========================================================================*/ 00029 #ifndef __vtkImageConstantPad_h 00030 #define __vtkImageConstantPad_h 00031 00032 00033 #include "vtkImagePadFilter.h" 00034 00035 class VTK_IMAGING_EXPORT vtkImageConstantPad : public vtkImagePadFilter 00036 { 00037 public: 00038 static vtkImageConstantPad *New(); 00039 vtkTypeRevisionMacro(vtkImageConstantPad,vtkImagePadFilter); 00040 00041 void PrintSelf(ostream& os, vtkIndent indent); 00042 00044 00045 vtkSetMacro(Constant, double); 00046 vtkGetMacro(Constant, double); 00048 00049 00050 protected: 00051 vtkImageConstantPad(); 00052 ~vtkImageConstantPad() {}; 00053 00054 double Constant; 00055 00056 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 00057 int outExt[6], int id); 00058 private: 00059 vtkImageConstantPad(const vtkImageConstantPad&); // Not implemented. 00060 void operator=(const vtkImageConstantPad&); // Not implemented. 00061 }; 00062 00063 #endif 00064 00065 00066