VTK  9.7.1
vtkImageMagnitude.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkImageMagnitude_h
14 #define vtkImageMagnitude_h
15 
16 #include "vtkImagingMathModule.h" // For export macro
18 
19 VTK_ABI_NAMESPACE_BEGIN
20 class VTKIMAGINGMATH_EXPORT vtkImageMagnitude : public vtkThreadedImageAlgorithm
21 {
22 public:
23  static vtkImageMagnitude* New();
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
27 protected:
29  ~vtkImageMagnitude() override = default;
30 
32 
33  void ThreadedExecute(
34  vtkImageData* inData, vtkImageData* outData, VTK_FUTURE_CONST int outExt[6], int id) override;
35 
36 private:
37  vtkImageMagnitude(const vtkImageMagnitude&) = delete;
38  void operator=(const vtkImageMagnitude&) = delete;
39 };
40 
41 VTK_ABI_NAMESPACE_END
42 #endif
Store vtkAlgorithm input/output information.
Generic filter that has one input.
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, VTK_FUTURE_CONST int extent[6], int threadId)
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.