VTK  9.3.1
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
15 #ifndef vtkImageLogarithmicScale_h
16 #define vtkImageLogarithmicScale_h
17 
18 #include "vtkImagingMathModule.h" // For export macro
20 
21 VTK_ABI_NAMESPACE_BEGIN
22 class VTKIMAGINGMATH_EXPORT vtkImageLogarithmicScale : public vtkThreadedImageAlgorithm
23 {
24 public:
25  static vtkImageLogarithmicScale* New();
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
30 
33  vtkSetMacro(Constant, double);
34  vtkGetMacro(Constant, double);
36 
37 protected:
39  ~vtkImageLogarithmicScale() override = default;
40 
41  double Constant;
42 
43  void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int outExt[6], int id) override;
44 
45 private:
47  void operator=(const vtkImageLogarithmicScale&) = delete;
48 };
49 
50 VTK_ABI_NAMESPACE_END
51 #endif
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
Passes each pixel through log function.
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:42
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.