VTK
vtkImageQuantizeRGBToIndex.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageQuantizeRGBToIndex.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 =========================================================================*/
33 #ifndef __vtkImageQuantizeRGBToIndex_h
34 #define __vtkImageQuantizeRGBToIndex_h
35 
36 #include "vtkImageAlgorithm.h"
37 
38 class vtkLookupTable;
39 
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
50  vtkSetClampMacro( NumberOfColors, int, 2, 65536 );
51  vtkGetMacro( NumberOfColors, int );
53 
55 
57  vtkGetObjectMacro( LookupTable, vtkLookupTable );
59 
60  vtkGetMacro( InitializeExecuteTime, double );
61  vtkGetMacro( BuildTreeExecuteTime, double );
62  vtkGetMacro( LookupIndexExecuteTime, double );
63 
64 //BTX
66 
67  vtkGetMacro( InputType, int );
69 
71 
72  vtkSetMacro( InitializeExecuteTime, double );
73  vtkSetMacro( BuildTreeExecuteTime, double );
74  vtkSetMacro( LookupIndexExecuteTime, double );
75 //ETX
77 
78 protected:
81 
84  int InputType;
85 
89 
92 
93  virtual int RequestData(vtkInformation *,
96 
97 private:
98  vtkImageQuantizeRGBToIndex(const vtkImageQuantizeRGBToIndex&); // Not implemented.
99  void operator=(const vtkImageQuantizeRGBToIndex&); // Not implemented.
100 };
101 
102 #endif
103 
104 
105 
106 
107 
108 
109 
110