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 =========================================================================*/
29 #ifndef vtkLogLookupTable_h
30 #define vtkLogLookupTable_h
31 
32 #include "vtkRenderingCoreModule.h" // For export macro
33 #include "vtkLookupTable.h"
34 
35 class VTKRENDERINGCORE_EXPORT vtkLogLookupTable : public vtkLookupTable
36 {
37 public:
38  static vtkLogLookupTable *New();
39 
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
43 protected:
44  vtkLogLookupTable(int sze = 256, int ext = 256);
45  ~vtkLogLookupTable() override {}
46 private:
47  vtkLogLookupTable(const vtkLogLookupTable&) = delete;
48  void operator=(const vtkLogLookupTable&) = delete;
49 };
50 
51 #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:39
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.