#include <gepetto/gui/color-map.hh>
|
static QColor | interpolate (std::size_t nbColors, std::size_t index) |
|
◆ ColorMap()
gepetto::gui::ColorMap::ColorMap |
( |
std::size_t | nbColors | ) |
|
|
inline |
◆ currentIndex()
void gepetto::gui::ColorMap::currentIndex |
( |
std::size_t | index | ) |
|
|
inline |
◆ getColor() [1/2]
QColor gepetto::gui::ColorMap::getColor |
( |
std::size_t | index | ) |
const |
|
inline |
◆ getColor() [2/2]
void gepetto::gui::ColorMap::getColor |
( |
std::size_t | index, |
|
|
osgVector4 & | color ) const |
|
inline |
◆ interpolate()
static QColor gepetto::gui::ColorMap::interpolate |
( |
std::size_t | nbColors, |
|
|
std::size_t | index ) |
|
inlinestatic |
◆ nextColor()
QColor gepetto::gui::ColorMap::nextColor |
( |
| ) |
|
|
inline |
◆ remap()
std::size_t gepetto::gui::ColorMap::remap |
( |
const std::size_t & | index | ) |
const |
|
inline |
Reverse the order of the bits in index. This increases the contrast between colors with close indexes.
The documentation for this class was generated from the following file: