#include <ColorMap.hpp>
|
| | ColorMap (std::vector< Colorb > *cols, Point2f *bnds) |
| |
| | ColorMap (std::vector< Colorb > *cols) |
| |
| Colorb | getColor (int index) const |
| | Get color by index. More...
|
| |
| Colorb | getColor (float s, float sBegin, float sEnd, int iBegin, int iEnd) const |
| | Interpolate color. More...
|
| |
| Colorb | getColor (float s, float sBegin, float sEnd) const |
| |
| Colorb | getColor (float s, int iBegin, int iEnd) const |
| |
| Colorb | getColor (float s) const |
| |
| bool | setColorMap (const QString &map, uint sz=0) |
| | Set a preset Color Map. More...
|
| |
| QStringList | getColorMapList () const |
| | Get the list of preset Color Maps. More...
|
| |
| bool | hasBounds () const |
| | Does Color Map have bounds. More...
|
| |
| std::vector< Colorb > & | colors () |
| |
| const std::vector< Colorb > & | colors () const |
| |
| Point2f & | bounds () |
| |
| const Point2f & | bounds () const |
| |
Definition at line 22 of file ColorMap.hpp.
◆ ColorMap() [1/2]
| mgx::ColorMap::ColorMap |
( |
std::vector< Colorb > * |
cols, |
|
|
Point2f * |
bnds |
|
) |
| |
|
inline |
◆ ColorMap() [2/2]
| mgx::ColorMap::ColorMap |
( |
std::vector< Colorb > * |
cols | ) |
|
|
inline |
◆ bounds() [1/2]
◆ bounds() [2/2]
| const Point2f& mgx::ColorMap::bounds |
( |
| ) |
const |
|
inline |
◆ colors() [1/2]
| std::vector<Colorb>& mgx::ColorMap::colors |
( |
| ) |
|
|
inline |
◆ colors() [2/2]
| const std::vector<Colorb>& mgx::ColorMap::colors |
( |
| ) |
const |
|
inline |
◆ getColor() [1/5]
| Colorb mgx::ColorMap::getColor |
( |
float |
s | ) |
const |
◆ getColor() [2/5]
| Colorb mgx::ColorMap::getColor |
( |
float |
s, |
|
|
float |
sBegin, |
|
|
float |
sEnd |
|
) |
| const |
◆ getColor() [3/5]
| Colorb mgx::ColorMap::getColor |
( |
float |
s, |
|
|
float |
sBegin, |
|
|
float |
sEnd, |
|
|
int |
iBegin, |
|
|
int |
iEnd |
|
) |
| const |
◆ getColor() [4/5]
| Colorb mgx::ColorMap::getColor |
( |
float |
s, |
|
|
int |
iBegin, |
|
|
int |
iEnd |
|
) |
| const |
◆ getColor() [5/5]
| Colorb mgx::ColorMap::getColor |
( |
int |
index | ) |
const |
◆ getColorMapList()
| QStringList mgx::ColorMap::getColorMapList |
( |
| ) |
const |
Get the list of preset Color Maps.
◆ hasBounds()
| bool mgx::ColorMap::hasBounds |
( |
| ) |
const |
|
inline |
◆ setColorMap()
| bool mgx::ColorMap::setColorMap |
( |
const QString & |
map, |
|
|
uint |
sz = 0 |
|
) |
| |
The documentation for this class was generated from the following file: