VTK
vtkLogLookupTable.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLogLookupTable.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 =========================================================================*/
26 #ifndef vtkLogLookupTable_h
27 #define vtkLogLookupTable_h
28 
29 #include "vtkRenderingCoreModule.h" // For export macro
30 #include "vtkLookupTable.h"
31 
32 class VTKRENDERINGCORE_EXPORT vtkLogLookupTable : public vtkLookupTable
33 {
34 public:
35  static vtkLogLookupTable *New();
36 
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
40 protected:
41  vtkLogLookupTable(int sze = 256, int ext = 256);
42  ~vtkLogLookupTable() override {}
43 private:
44  vtkLogLookupTable(const vtkLogLookupTable&) = delete;
45  void operator=(const vtkLogLookupTable&) = delete;
46 };
47 
48 #endif
map scalar values into colors via a lookup table
map scalars into colors using log (base 10) scale
a simple class to control print indentation
Definition: vtkIndent.h:33
static vtkLookupTable * New()
Construct with range=[0,1]; and hsv ranges set up for rainbow color table (from red to blue)...
~vtkLogLookupTable() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.