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 
31 
33 {
34 public:
35  static vtkImageLogarithmicScale *New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
41  vtkSetMacro(Constant,double);
42  vtkGetMacro(Constant,double);
44 
45 protected:
48 
49  double Constant;
50 
51  void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
52  int outExt[6], int id);
53 private:
54  vtkImageLogarithmicScale(const vtkImageLogarithmicScale&); // Not implemented.
55  void operator=(const vtkImageLogarithmicScale&); // Not implemented.
56 };
57 
58 #endif
59 
60 
61 
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:37
#define VTK_IMAGING_EXPORT
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
static vtkAlgorithm * New()