00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageLogarithmicScale.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00026 #ifndef __vtkImageLogarithmicScale_h 00027 #define __vtkImageLogarithmicScale_h 00028 00029 00030 #include "vtkThreadedImageAlgorithm.h" 00031 00032 class VTK_IMAGING_EXPORT vtkImageLogarithmicScale : public vtkThreadedImageAlgorithm 00033 { 00034 public: 00035 static vtkImageLogarithmicScale *New(); 00036 vtkTypeRevisionMacro(vtkImageLogarithmicScale,vtkThreadedImageAlgorithm); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00040 00041 vtkSetMacro(Constant,double); 00042 vtkGetMacro(Constant,double); 00044 00045 protected: 00046 vtkImageLogarithmicScale(); 00047 ~vtkImageLogarithmicScale() {}; 00048 00049 double Constant; 00050 00051 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, 00052 int outExt[6], int id); 00053 private: 00054 vtkImageLogarithmicScale(const vtkImageLogarithmicScale&); // Not implemented. 00055 void operator=(const vtkImageLogarithmicScale&); // Not implemented. 00056 }; 00057 00058 #endif 00059 00060 00061