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
mrpt::utils::TColormap m_colormap
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
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.
std::string m_label_format
A renderizable object suitable for rendering with OpenGL's display lists.
#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...
GLsizei const GLchar ** string
bool m_disable_depth_test
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
GLenum GLsizei GLsizei height
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)