20#include <util/coTabletUIMessages.h>
23#include <util/coTypes.h>
43class PLUGIN_UTILEXPORT
ColorBar:
public ui::Owner
47 coColorBar *colorbar_ =
nullptr, *hudbar_ =
nullptr;
48 ui::Menu *colorsMenu_ =
nullptr;
52 ui::SpecialElement *uiColorBar_ =
nullptr;
53 ui::Slider *minSlider_ =
nullptr;
54 ui::Slider *maxSlider_ =
nullptr;
55 ui::Slider *stepSlider_ =
nullptr;
56 ui::Button *autoScale_ =
nullptr;
57 ui::Action *execute_ =
nullptr;
58 ui::Slider *center_ =
nullptr;
59 ui::Slider *compress_ =
nullptr;
60 ui::Slider *insetCenter_ =
nullptr;
61 ui::Slider *insetWidth_ =
nullptr;
62 ui::Slider *opacityFactor_ =
nullptr;
63 ui::Button *show_ =
nullptr;
72 std::vector<float> r, g, b, a;
73 bool hudVisible_ =
false;
108 void update(
const std::string &species,
float min,
float max,
int numColors,
const float *r,
const float *g,
const float *b,
const float *a);
130 float &min,
float &max,
int &numColors,
131 std::vector<float> &r, std::vector<float> &g, std::vector<float> &b, std::vector<float> &a);
Tablet user interface proxy classes.
feedback parameter changes to COVISE
make OpenCOVER core functionality available via tablet user interface
Definition: ARToolKit.h:33
abstract feedback class for interacting with parameters of visualization modules (e....
Definition: coInteractor.h:37
Definition: coColorBar.h:43
Definition: ColorBar.h:44
void update(const std::string &species, float min, float max, int numColors, const float *r, const float *g, const float *b, const float *a)
static void parseAttrib(const char *attrib, std::string &species, float &min, float &max, int &numColors, std::vector< float > &r, std::vector< float > &g, std::vector< float > &b, std::vector< float > &a)
void addInter(opencover::coInteractor *inter)
void parseAttrib(const char *attrib)
void setHudPosition(osg::Vec3 pos, osg::Vec3 hpr, float size)
void setName(const char *name)
Definition: vruiMatrix.h:20