VTK  9.2.20221001
vtkImageLogarithmicScale.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageLogarithmicScale.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 =========================================================================*/
46 #ifndef vtkImageLogarithmicScale_h
47 #define vtkImageLogarithmicScale_h
48 
49 #include "vtkImagingMathModule.h" // For export macro
51 
52 VTK_ABI_NAMESPACE_BEGIN
53 class VTKIMAGINGMATH_EXPORT vtkImageLogarithmicScale : public vtkThreadedImageAlgorithm
54 {
55 public:
58  void PrintSelf(ostream& os, vtkIndent indent) override;
59 
61 
64  vtkSetMacro(Constant, double);
65  vtkGetMacro(Constant, double);
67 
68 protected:
70  ~vtkImageLogarithmicScale() override = default;
71 
72  double Constant;
73 
74  void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int outExt[6], int id) override;
75 
76 private:
78  void operator=(const vtkImageLogarithmicScale&) = delete;
79 };
80 
81 VTK_ABI_NAMESPACE_END
82 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:164
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:120
Generic filter that has one input.