VTK  9.0.1
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:
38 
39 protected:
41  ~vtkImageDivergence() override {}
42 
45  void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int ext[6], int id) override;
46 
47 private:
48  vtkImageDivergence(const vtkImageDivergence&) = delete;
49  void operator=(const vtkImageDivergence&) = delete;
50 };
51 
52 #endif
53 
54 // VTK-HeaderTest-Exclude: vtkImageDivergence.h
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
Divergence of a vector field.
~vtkImageDivergence() override
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int ext[6], int id) override
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
static vtkImageDivergence * New()
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Generic filter that has one input.