VTK  9.0.20200605
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 = default;
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
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkThreadedImageAlgorithm
Generic filter that has one input.
Definition: vtkThreadedImageAlgorithm.h:38
vtkThreadedImageAlgorithm.h
vtkImageAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
vtkImageAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:41
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkThreadedImageAlgorithm::ThreadedExecute
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
vtkImageDivergence
Divergence of a vector field.
Definition: vtkImageDivergence.h:33