00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageHSIToRGB.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 =========================================================================*/ 00029 #ifndef __vtkImageHSIToRGB_h 00030 #define __vtkImageHSIToRGB_h 00031 00032 #include "vtkThreadedImageAlgorithm.h" 00033 00034 class VTK_IMAGING_EXPORT vtkImageHSIToRGB : public vtkThreadedImageAlgorithm 00035 { 00036 public: 00037 static vtkImageHSIToRGB *New(); 00038 vtkTypeRevisionMacro(vtkImageHSIToRGB,vtkThreadedImageAlgorithm); 00039 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 00047 vtkSetMacro(Maximum,double); 00048 vtkGetMacro(Maximum,double); 00050 00051 protected: 00052 vtkImageHSIToRGB(); 00053 ~vtkImageHSIToRGB() {}; 00054 00055 double Maximum; 00056 00057 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, 00058 int ext[6], int id); 00059 private: 00060 vtkImageHSIToRGB(const vtkImageHSIToRGB&); // Not implemented. 00061 void operator=(const vtkImageHSIToRGB&); // Not implemented. 00062 }; 00063 00064 #endif 00065 00066 00067