Imaging/vtkImageConstantPad.h Source File

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

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