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 =========================================================================*/ 00034 #ifndef __vtkImageCityBlockDistance_h 00035 #define __vtkImageCityBlockDistance_h 00036 00037 00038 #include "vtkImageDecomposeFilter.h" 00039 00040 class VTK_IMAGING_EXPORT vtkImageCityBlockDistance : public vtkImageDecomposeFilter 00041 { 00042 public: 00043 static vtkImageCityBlockDistance *New(); 00044 vtkTypeRevisionMacro(vtkImageCityBlockDistance,vtkImageDecomposeFilter); 00045 00046 protected: 00047 vtkImageCityBlockDistance(); 00048 ~vtkImageCityBlockDistance() {}; 00049 00050 void ComputeInputUpdateExtent(int inExt[6], int outExt[6]); 00051 void IterativeExecuteData(vtkImageData *inData, vtkImageData *outData); 00052 00053 void AllocateOutputScalars(vtkImageData *outData); 00054 00055 private: 00056 vtkImageCityBlockDistance(const vtkImageCityBlockDistance&); // Not implemented. 00057 void operator=(const vtkImageCityBlockDistance&); // Not implemented. 00058 }; 00059 00060 #endif 00061 00062 00063