00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageLogarithmicScale.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00041 #ifndef __vtkImageLogarithmicScale_h 00042 #define __vtkImageLogarithmicScale_h 00043 00044 00045 #include "vtkImageToImageFilter.h" 00046 00047 class VTK_IMAGING_EXPORT vtkImageLogarithmicScale : public vtkImageToImageFilter 00048 { 00049 public: 00050 static vtkImageLogarithmicScale *New(); 00051 vtkTypeRevisionMacro(vtkImageLogarithmicScale,vtkImageToImageFilter); 00052 void PrintSelf(ostream& os, vtkIndent indent); 00053 00055 00056 vtkSetMacro(Constant,float); 00057 vtkGetMacro(Constant,float); 00059 00060 protected: 00061 vtkImageLogarithmicScale(); 00062 ~vtkImageLogarithmicScale() {}; 00063 00064 float Constant; 00065 00066 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 00067 int outExt[6], int id); 00068 private: 00069 vtkImageLogarithmicScale(const vtkImageLogarithmicScale&); // Not implemented. 00070 void operator=(const vtkImageLogarithmicScale&); // Not implemented. 00071 }; 00072 00073 #endif 00074 00075 00076