VTK
vtkImageDivergence.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageDivergence.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
27 #ifndef vtkImageDivergence_h
28 #define vtkImageDivergence_h
29 
30 #include "vtkImagingMathModule.h" // For export macro
32 
33 class VTKIMAGINGMATH_EXPORT vtkImageDivergence : public vtkThreadedImageAlgorithm
34 {
35 public:
36  static vtkImageDivergence *New();
38 
39 protected:
41  ~vtkImageDivergence() override {}
42 
45  vtkInformationVector*) override;
48  vtkInformationVector*) override;
49  void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
50  int ext[6], int id) override;
51 
52 private:
53  vtkImageDivergence(const vtkImageDivergence&) = delete;
54  void operator=(const vtkImageDivergence&) = delete;
55 };
56 
57 #endif
58 
59 
60 
61 // VTK-HeaderTest-Exclude: vtkImageDivergence.h
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
Store vtkAlgorithm input/output information.
~vtkImageDivergence() override
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
Generic filter that has one input.
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
Divergence of a vector field.