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 "vtkImagingColorModule.h" // For export macro
37 #include "vtkImageAlgorithm.h"
38 
39 class vtkLookupTable;
40 
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
51  vtkSetClampMacro( NumberOfColors, int, 2, 65536 );
52  vtkGetMacro( NumberOfColors, int );
54 
56 
60 
61  vtkGetMacro( InitializeExecuteTime, double );
62  vtkGetMacro( BuildTreeExecuteTime, double );
63  vtkGetMacro( LookupIndexExecuteTime, double );
64 
65 //BTX
67 
68  vtkGetMacro( InputType, int );
70 
72 
73  vtkSetMacro( InitializeExecuteTime, double );
74  vtkSetMacro( BuildTreeExecuteTime, double );
75  vtkSetMacro( LookupIndexExecuteTime, double );
76 //ETX
78 
79 protected:
82 
85  int InputType;
86 
90 
93 
94  virtual int RequestData(vtkInformation *,
97 
98 private:
99  vtkImageQuantizeRGBToIndex(const vtkImageQuantizeRGBToIndex&); // Not implemented.
100  void operator=(const vtkImageQuantizeRGBToIndex&); // Not implemented.
101 };
102 
103 #endif
104 
105 
106 
107 
108 
109 
110 
111 
vtkImageQuantizeRGBToIndex::InitializeExecuteTime
double InitializeExecuteTime
Definition: vtkImageQuantizeRGBToIndex.h:87
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkImageQuantizeRGBToIndex::BuildTreeExecuteTime
double BuildTreeExecuteTime
Definition: vtkImageQuantizeRGBToIndex.h:88
vtkImageQuantizeRGBToIndex::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkImageQuantizeRGBToIndex::NumberOfColors
int NumberOfColors
Definition: vtkImageQuantizeRGBToIndex.h:84
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkImageAlgorithm.h
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:40
vtkImageQuantizeRGBToIndex::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
VTKIMAGINGCOLOR_EXPORT
#define VTKIMAGINGCOLOR_EXPORT
Definition: vtkImagingColorModule.h:15
vtkImageQuantizeRGBToIndex::LookupIndexExecuteTime
double LookupIndexExecuteTime
Definition: vtkImageQuantizeRGBToIndex.h:89
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkImageQuantizeRGBToIndex
generalized histograms up to 4 dimensions
Definition: vtkImageQuantizeRGBToIndex.h:42
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkImageQuantizeRGBToIndex::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkImagingColorModule.h
vtkImageQuantizeRGBToIndex::~vtkImageQuantizeRGBToIndex
~vtkImageQuantizeRGBToIndex()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkLookupTable
map scalar values into colors via a lookup table
Definition: vtkLookupTable.h:74
vtkImageQuantizeRGBToIndex::LookupTable
vtkLookupTable * LookupTable
Definition: vtkImageQuantizeRGBToIndex.h:83
vtkImageQuantizeRGBToIndex::vtkImageQuantizeRGBToIndex
vtkImageQuantizeRGBToIndex()
vtkImageQuantizeRGBToIndex::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImageQuantizeRGBToIndex::InputType
int InputType
Definition: vtkImageQuantizeRGBToIndex.h:85
vtkImageQuantizeRGBToIndex::New
static vtkImageQuantizeRGBToIndex * New()