00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageDivergence.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 =========================================================================*/ 00042 #ifndef __vtkImageDivergence_h 00043 #define __vtkImageDivergence_h 00044 00045 #include "vtkThreadedImageAlgorithm.h" 00046 00047 class VTK_IMAGING_EXPORT vtkImageDivergence : public vtkThreadedImageAlgorithm 00048 { 00049 public: 00050 static vtkImageDivergence *New(); 00051 vtkTypeRevisionMacro(vtkImageDivergence,vtkThreadedImageAlgorithm); 00052 00053 protected: 00054 vtkImageDivergence(); 00055 ~vtkImageDivergence() {}; 00056 00057 void RequestUpdateExtent (vtkInformation *, vtkInformationVector *, 00058 vtkInformationVector *); 00059 void ExecuteInformation (vtkInformation *, vtkInformationVector *, 00060 vtkInformationVector *); 00061 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, 00062 int ext[6], int id); 00063 00064 private: 00065 vtkImageDivergence(const vtkImageDivergence&); // Not implemented. 00066 void operator=(const vtkImageDivergence&); // Not implemented. 00067 }; 00068 00069 #endif 00070 00071 00072