41 double m_min_col,
m_max_col, m_min_value, m_max_value;
47 static CColorBarPtr Create(
50 double min_col,
double max_col,
51 double min_value,
double max_value,
53 double label_font_size = .05
62 void setColorAndValueLimits(
double col_min,
double col_max,
double value_min,
double value_max);
63 void enableDepthTest(
bool enable);
73 double min_col=.0,
double max_col=1.0,
74 double min_value=.0,
double max_value=1.0,
75 const std::
string &label_format= std::
string("%7.02f"),
76 double label_font_size = .05
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
std::string m_label_format
bool m_disable_depth_test
mrpt::utils::TColormap m_colormap
A renderizable object suitable for rendering with OpenGL's display lists.
GLenum GLsizei GLsizei height
GLsizei const GLchar ** string
TColormap
Different colormaps for use in mrpt::utils::colormap()
void BASE_IMPEXP colormap(const TColormap &color_map, const float color_index, float &r, float &g, float &b)
Transform a float number in the range [0,1] into RGB components.
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.