VTK
dox/Imaging/Core/vtkImageConstantPad.h
Go to the documentation of this file.
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 "vtkImagingCoreModule.h" // For export macro
00034 #include "vtkImagePadFilter.h"
00035 
00036 class VTKIMAGINGCORE_EXPORT vtkImageConstantPad : public vtkImagePadFilter
00037 {
00038 public:
00039   static vtkImageConstantPad *New();
00040   vtkTypeMacro(vtkImageConstantPad,vtkImagePadFilter);
00041 
00042   void PrintSelf(ostream& os, vtkIndent indent);
00043 
00045 
00046   vtkSetMacro(Constant, double);
00047   vtkGetMacro(Constant, double);
00049 
00050 
00051 protected:
00052   vtkImageConstantPad();
00053   ~vtkImageConstantPad() {};
00054 
00055   double Constant;
00056 
00057   void ThreadedRequestData (vtkInformation* request,
00058                             vtkInformationVector** inputVector,
00059                             vtkInformationVector* outputVector,
00060                             vtkImageData ***inData, vtkImageData **outData,
00061                             int ext[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