#include <colormap.h>
Public Member Functions | |
class_colormap (std::string name, int total, float alfa, bool reverse=false) | |
std_msgs::ColorRGBA | color (int i) |
cv::Scalar | cv_color (int i) |
~class_colormap (void) | |
Private Member Functions | |
int | init_colormap_autumn (int total, float alfa, bool reverse) |
int | init_colormap_bone (int total, float alfa, bool reverse) |
int | init_colormap_cool (int total, float alfa, bool reverse) |
int | init_colormap_copper (int total, float alfa, bool reverse) |
int | init_colormap_gray (int total, float alfa, bool reverse) |
int | init_colormap_hot (int total, float alfa, bool reverse) |
int | init_colormap_hsv (int total, float alfa, bool reverse) |
int | init_colormap_jet (int total, float alfa, bool reverse) |
int | init_colormap_lines (int total, float alfa, bool reverse) |
int | init_colormap_pink (int total, float alfa, bool reverse) |
int | init_colormap_spring (int total, float alfa, bool reverse) |
int | init_colormap_summer (int total, float alfa, bool reverse) |
int | init_colormap_winter (int total, float alfa, bool reverse) |
int | setup_colormap (int total, float alfa, bool reverse, float *r, float *g, float *b) |
Private Attributes | |
std::vector< std_msgs::ColorRGBA > | cm |
int | max_index |
Definition at line 48 of file colormap.h.
std::vector<std_msgs::ColorRGBA> class_colormap::cm [private] |
Definition at line 55 of file colormap.h.
int class_colormap::max_index [private] |
Definition at line 56 of file colormap.h.