VTK  9.3.20240328
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
34 #ifndef vtkImageLogarithmicScale_h
35 #define vtkImageLogarithmicScale_h
36 
37 #include "vtkImagingMathModule.h" // For export macro
39 
40 VTK_ABI_NAMESPACE_BEGIN
41 class VTKIMAGINGMATH_EXPORT vtkImageLogarithmicScale : public vtkThreadedImageAlgorithm
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
49 
52  vtkSetMacro(Constant, double);
53  vtkGetMacro(Constant, double);
55 
56 protected:
58  ~vtkImageLogarithmicScale() override = default;
59 
60  double Constant;
61 
62  void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int outExt[6], int id) override;
63 
64 private:
66  void operator=(const vtkImageLogarithmicScale&) = delete;
67 };
68 
69 VTK_ABI_NAMESPACE_END
70 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:155
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:108
Generic filter that has one input.