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

Imaging/vtkImageCityBlockDistance.h

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