VTK
dox/Imaging/General/vtkImageCityBlockDistance.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkImageCityBlockDistance.h
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 "vtkImagingGeneralModule.h" // For export macro
00039 #include "vtkImageDecomposeFilter.h"
00040 
00041 class VTKIMAGINGGENERAL_EXPORT vtkImageCityBlockDistance : public vtkImageDecomposeFilter
00042 {
00043 public:
00044   static vtkImageCityBlockDistance *New();
00045   vtkTypeMacro(vtkImageCityBlockDistance,vtkImageDecomposeFilter);
00046 
00047 protected:
00048   vtkImageCityBlockDistance();
00049   ~vtkImageCityBlockDistance() {};
00050 
00051   virtual int IterativeRequestUpdateExtent(vtkInformation* in,
00052                                            vtkInformation* out);
00053   virtual int IterativeRequestData(vtkInformation*,
00054                                     vtkInformationVector**,
00055                                     vtkInformationVector*);
00056 
00057   void AllocateOutputScalars(vtkImageData *outData,
00058                              int* updateExtent,
00059                              int* wholeExtent,
00060                              vtkInformation* outInfo);
00061 
00062 private:
00063   vtkImageCityBlockDistance(const vtkImageCityBlockDistance&);  // Not implemented.
00064   void operator=(const vtkImageCityBlockDistance&);  // Not implemented.
00065 };
00066 
00067 #endif
00068 
00069 
00070 
00071 // VTK-HeaderTest-Exclude: vtkImageCityBlockDistance.h