00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkImageDivergence.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 =========================================================================*/ 00029 #ifndef __vtkImageDivergence_h 00030 #define __vtkImageDivergence_h 00031 00032 #include "vtkThreadedImageAlgorithm.h" 00033 00034 class VTK_IMAGING_EXPORT vtkImageDivergence : public vtkThreadedImageAlgorithm 00035 { 00036 public: 00037 static vtkImageDivergence *New(); 00038 vtkTypeMacro(vtkImageDivergence,vtkThreadedImageAlgorithm); 00039 00040 protected: 00041 vtkImageDivergence(); 00042 ~vtkImageDivergence() {}; 00043 00044 virtual int RequestUpdateExtent(vtkInformation*, 00045 vtkInformationVector**, 00046 vtkInformationVector*); 00047 virtual int RequestInformation (vtkInformation*, 00048 vtkInformationVector**, 00049 vtkInformationVector*); 00050 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, 00051 int ext[6], int id); 00052 00053 private: 00054 vtkImageDivergence(const vtkImageDivergence&); // Not implemented. 00055 void operator=(const vtkImageDivergence&); // Not implemented. 00056 }; 00057 00058 #endif 00059 00060 00061