VTK  9.3.0
vtkImageLogarithmicScale.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
24 #ifndef vtkImageLogarithmicScale_h
25 #define vtkImageLogarithmicScale_h
26 
27 #include "vtkImagingMathModule.h" // For export macro
29 
30 VTK_ABI_NAMESPACE_BEGIN
31 class VTKIMAGINGMATH_EXPORT vtkImageLogarithmicScale : public vtkThreadedImageAlgorithm
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
39 
42  vtkSetMacro(Constant, double);
43  vtkGetMacro(Constant, double);
45 
46 protected:
48  ~vtkImageLogarithmicScale() override = default;
49 
50  double Constant;
51 
52  void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int outExt[6], int id) override;
53 
54 private:
56  void operator=(const vtkImageLogarithmicScale&) = delete;
57 };
58 
59 VTK_ABI_NAMESPACE_END
60 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
Passes each pixel through log function.
static vtkImageLogarithmicScale * New()
~vtkImageLogarithmicScale() override=default
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int outExt[6], int id) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:38
Generic filter that has one input.