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

vtkImageCityBlockDistance.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageCityBlockDistance.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 =========================================================================*/
00045 #ifndef __vtkImageCityBlockDistance_h
00046 #define __vtkImageCityBlockDistance_h
00047 
00048 
00049 #include "vtkImageDecomposeFilter.h"
00050 
00051 class VTK_IMAGING_EXPORT vtkImageCityBlockDistance : public vtkImageDecomposeFilter
00052 {
00053 public:
00054   static vtkImageCityBlockDistance *New();
00055   vtkTypeRevisionMacro(vtkImageCityBlockDistance,vtkImageDecomposeFilter);
00056   
00057 protected:
00058   vtkImageCityBlockDistance();
00059   ~vtkImageCityBlockDistance() {};
00060 
00061   void ComputeInputUpdateExtent(int inExt[6], int outExt[6]);
00062   void IterativeExecuteData(vtkImageData *inData, vtkImageData *outData);
00063 
00064   void AllocateOutputScalars(vtkImageData *outData);
00065 
00066 private:
00067   vtkImageCityBlockDistance(const vtkImageCityBlockDistance&);  // Not implemented.
00068   void operator=(const vtkImageCityBlockDistance&);  // Not implemented.
00069 };
00070 
00071 #endif
00072 
00073 
00074