|
iMSTK
Interactive Medical Simulation Toolkit
|
A regularly/structured table of colors to lookup by value. More...
#include <imstkColorFunction.h>
Public Types | |
| enum | ColorSpace { RGB, DIVERING, HSV, LAB } |
Public Member Functions | |
| int | getNumberOfColors () const |
| const Color & | getColor (int i) const |
| const Vec2d & | getRange () const |
| const ColorSpace & | getColorSpace () const |
| void | setNumberOfColors (int numColors) |
| void | setColor (int i, const Color &color) |
| void | setRange (double min, double max) |
| void | setRange (const Vec2d &range) |
| void | setColorSpace (const ColorSpace &space) |
| void | clear () |
| Clears all colors from the lookup table. | |
Protected Attributes | |
| std::vector< Color > | m_table |
| Vec2d | m_range |
| ColorSpace | m_colorSpace |
A regularly/structured table of colors to lookup by value.
Definition at line 22 of file imstkColorFunction.h.
1.8.13