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

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 =========================================================================*/
00040 #ifndef __vtkImageConstantPad_h
00041 #define __vtkImageConstantPad_h
00042 
00043 
00044 #include "vtkImagePadFilter.h"
00045 
00046 class VTK_IMAGING_EXPORT vtkImageConstantPad : public vtkImagePadFilter
00047 {
00048 public:
00049   static vtkImageConstantPad *New();
00050   vtkTypeRevisionMacro(vtkImageConstantPad,vtkImagePadFilter);
00051 
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055 
00056   vtkSetMacro(Constant, double);
00057   vtkGetMacro(Constant, double);
00059   
00060   
00061 protected:
00062   vtkImageConstantPad();
00063   ~vtkImageConstantPad() {};
00064 
00065   double Constant;
00066   
00067   void ThreadedRequestData (vtkInformation *request, 
00068                             vtkInformationVector *inputVector, 
00069                             vtkInformationVector *outputVector,
00070                             vtkImageData ***inData, vtkImageData **outData, 
00071                             int ext[6], int id);
00072 private:
00073   vtkImageConstantPad(const vtkImageConstantPad&);  // Not implemented.
00074   void operator=(const vtkImageConstantPad&);  // Not implemented.
00075 };
00076 
00077 #endif
00078 
00079 
00080