VTK
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 =========================================================================*/
26 #ifndef vtkImageLogarithmicScale_h
27 #define vtkImageLogarithmicScale_h
28 
29 
30 #include "vtkImagingMathModule.h" // For export macro
32 
34 {
35 public:
36  static vtkImageLogarithmicScale *New();
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
42  vtkSetMacro(Constant,double);
43  vtkGetMacro(Constant,double);
45 
46 protected:
49 
50  double Constant;
51 
52  void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
53  int outExt[6], int id);
54 private:
55  vtkImageLogarithmicScale(const vtkImageLogarithmicScale&); // Not implemented.
56  void operator=(const vtkImageLogarithmicScale&); // Not implemented.
57 };
58 
59 #endif
60 
61 
62 
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
Passes each pixel through log function.
void PrintSelf(ostream &os, vtkIndent indent)
Generic filter that has one input..
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
static vtkAlgorithm * New()
#define VTKIMAGINGMATH_EXPORT