VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkImageRGBToHSI.h 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 __vtkImageRGBToHSI_h 00027 #define __vtkImageRGBToHSI_h 00028 00029 #include "vtkImagingColorModule.h" // For export macro 00030 #include "vtkThreadedImageAlgorithm.h" 00031 00032 class VTKIMAGINGCOLOR_EXPORT vtkImageRGBToHSI : public vtkThreadedImageAlgorithm 00033 { 00034 public: 00035 static vtkImageRGBToHSI *New(); 00036 vtkTypeMacro(vtkImageRGBToHSI,vtkThreadedImageAlgorithm); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00040 00044 vtkSetMacro(Maximum,double); 00045 vtkGetMacro(Maximum,double); 00047 00048 protected: 00049 vtkImageRGBToHSI(); 00050 ~vtkImageRGBToHSI() {} 00051 00052 double Maximum; 00053 00054 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, 00055 int ext[6], int id); 00056 00057 private: 00058 vtkImageRGBToHSI(const vtkImageRGBToHSI&); // Not implemented. 00059 void operator=(const vtkImageRGBToHSI&); // Not implemented. 00060 }; 00061 00062 #endif 00063 00064 00065