VTK
|
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 "vtkImagingMathModule.h" // For export macro 00033 #include "vtkThreadedImageAlgorithm.h" 00034 00035 class VTKIMAGINGMATH_EXPORT vtkImageDivergence : public vtkThreadedImageAlgorithm 00036 { 00037 public: 00038 static vtkImageDivergence *New(); 00039 vtkTypeMacro(vtkImageDivergence,vtkThreadedImageAlgorithm); 00040 00041 protected: 00042 vtkImageDivergence(); 00043 ~vtkImageDivergence() {} 00044 00045 virtual int RequestUpdateExtent(vtkInformation*, 00046 vtkInformationVector**, 00047 vtkInformationVector*); 00048 virtual int RequestInformation (vtkInformation*, 00049 vtkInformationVector**, 00050 vtkInformationVector*); 00051 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, 00052 int ext[6], int id); 00053 00054 private: 00055 vtkImageDivergence(const vtkImageDivergence&); // Not implemented. 00056 void operator=(const vtkImageDivergence&); // Not implemented. 00057 }; 00058 00059 #endif 00060 00061 00062 00063 // VTK-HeaderTest-Exclude: vtkImageDivergence.h