Robowflex
v0.1
Making MoveIt Easy
|
Functions | |
void | viridis (double s, Eigen::Ref< Eigen::Vector4d > color) |
Maps a scalar s in [0, 1] to the Viridis colormap. More... | |
void | coolwarm (double s, Eigen::Ref< Eigen::Vector4d > color) |
Maps a scalar s in [0, 1] to the Cool-Warm colormap. More... | |
void | extKindlmann (double s, Eigen::Ref< Eigen::Vector4d > color) |
Maps a scalar s in [0, 1] to the Extended Kindlmann colormap. More... | |
void | plasma (double s, Eigen::Ref< Eigen::Vector4d > color) |
Maps a scalar s in [0, 1] to the Plasma colormap. More... | |
void | turbo (double s, Eigen::Ref< Eigen::Vector4d > color) |
Maps a scalar s in [0, 1] to the Turbo colormap. More... | |
void | grayscale (double s, Eigen::Ref< Eigen::Vector4d > color) |
Maps a scalar s in [0, 1] to greyscale. More... | |
void | toGrayscale (Eigen::Ref< Eigen::Vector4d > color) |
Maps an RGB color to a greyscale color based on luminosity. More... | |
Variables | |
static const Eigen::Vector4d | BLACK {0., 0, 0, 1} |
static const Eigen::Vector4d | WHITE {1, 1, 1, 1} |
static const Eigen::Vector4d | GRAY {0.5, 0.5, 0.5, 1} |
static const Eigen::Vector4d | RED {1, 0, 0, 1} |
static const Eigen::Vector4d | PINK {1, 0.37, 0.81, 1} |
static const Eigen::Vector4d | PURPLE {0.62, 0.32, 1, 1} |
static const Eigen::Vector4d | GREEN {0, 1, 0, 1} |
static const Eigen::Vector4d | BLUE {0, 0, 1, 1} |
static const Eigen::Vector4d | YELLOW {1, 0.88, 0.12, 1} |
static const Eigen::Vector4d | ORANGE {1, 0.6, 0.06, 1} |
static const Eigen::Vector4d | BROWN {0.6, 0.5, 0.38, 1} |
void robowflex::color::coolwarm | ( | double | s, |
Eigen::Ref< Eigen::Vector4d > | color | ||
) |
Maps a scalar s in [0, 1] to the Cool-Warm colormap.
[in] | s | Scalar to map. |
[out] | color | Output color. |
Definition at line 324 of file colormap.cpp.
void robowflex::color::extKindlmann | ( | double | s, |
Eigen::Ref< Eigen::Vector4d > | color | ||
) |
Maps a scalar s in [0, 1] to the Extended Kindlmann colormap.
[in] | s | Scalar to map. |
[out] | color | Output color. |
Definition at line 329 of file colormap.cpp.
void robowflex::color::grayscale | ( | double | s, |
Eigen::Ref< Eigen::Vector4d > | color | ||
) |
Maps a scalar s in [0, 1] to greyscale.
[in] | s | Scalar to map. |
[out] | color | Output color. |
Definition at line 344 of file colormap.cpp.
void robowflex::color::plasma | ( | double | s, |
Eigen::Ref< Eigen::Vector4d > | color | ||
) |
Maps a scalar s in [0, 1] to the Plasma colormap.
[in] | s | Scalar to map. |
[out] | color | Output color. |
Definition at line 334 of file colormap.cpp.
void robowflex::color::toGrayscale | ( | Eigen::Ref< Eigen::Vector4d > | color | ) |
Maps an RGB color to a greyscale color based on luminosity.
[in,out] | color | Color to convert. |
Definition at line 351 of file colormap.cpp.
void robowflex::color::turbo | ( | double | s, |
Eigen::Ref< Eigen::Vector4d > | color | ||
) |
Maps a scalar s in [0, 1] to the Turbo colormap.
[in] | s | Scalar to map. |
[out] | color | Output color. |
Definition at line 339 of file colormap.cpp.
void robowflex::color::viridis | ( | double | s, |
Eigen::Ref< Eigen::Vector4d > | color | ||
) |
Maps a scalar s in [0, 1] to the Viridis colormap.
[in] | s | Scalar to map. |
[out] | color | Output color. |
Definition at line 319 of file colormap.cpp.
|
static |
Definition at line 54 of file colormap.h.
|
static |
Definition at line 61 of file colormap.h.
|
static |
Definition at line 64 of file colormap.h.
|
static |
Definition at line 56 of file colormap.h.
|
static |
Definition at line 60 of file colormap.h.
|
static |
Definition at line 63 of file colormap.h.
|
static |
Definition at line 58 of file colormap.h.
|
static |
Definition at line 59 of file colormap.h.
|
static |
Definition at line 57 of file colormap.h.
|
static |
Definition at line 55 of file colormap.h.
|
static |
Definition at line 62 of file colormap.h.