VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkImageConstantPad.h 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 vtkTypeMacro(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 ThreadedRequestData (vtkInformation* request, 00057 vtkInformationVector** inputVector, 00058 vtkInformationVector* outputVector, 00059 vtkImageData ***inData, vtkImageData **outData, 00060 int ext[6], int id); 00061 private: 00062 vtkImageConstantPad(const vtkImageConstantPad&); // Not implemented. 00063 void operator=(const vtkImageConstantPad&); // Not implemented. 00064 }; 00065 00066 #endif 00067 00068 00069