1 #ifndef visscenecoltab_h 2 #define visscenecoltab_h 15 #include "visbasemod.h" 20 namespace ColTab {
class MapperSetup; }
22 namespace osg {
class Geode; }
36 enum
Pos { Left, Right,
Top, Bottom };
37 void setPos(
Pos pos );
40 void setWindowSize(
int winx,
int winy);
42 void setOrientation(
bool horizontal);
49 void setLegendColor(
const Color&);
52 void setSize(
int w,
int h);
55 virtual void setPixelDensity(
float dpi);
60 void updateSequence();
61 void setPos(
float x,
float y);
int width_
Definition: visscenecoltab.h:69
#define mExpClass(module)
Definition: commondefs.h:160
void turnOn(int flag)
Overrides the envirnonment variable.
float pixeldensity_
Definition: visscenecoltab.h:74
float aspratio_
Definition: visscenecoltab.h:71
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Maps from [0,1] -> Color.
Definition: coltabsequence.h:37
int winx_
Definition: visscenecoltab.h:72
bool flipseq_
Definition: visscenecoltab.h:67
bool horizontal_
Definition: visscenecoltab.h:68
ColTab::Sequence sequence_
Definition: visscenecoltab.h:64
Data needed to make an actual font.
Definition: fontdata.h:20
bool getOrientation() const
Definition: visscenecoltab.h:43
int height_
Definition: visscenecoltab.h:70
Pos getPos() const
Definition: visscenecoltab.h:38
Position.
Definition: commontypes.h:42
Setup class for colortable Mapper.
Definition: coltabmapper.h:35
int fontsize_
Definition: visscenecoltab.h:75
Definition: visscenecoltab.h:36
Definition: visannot.h:43
Definition: visscenecoltab.h:30
static SceneColTab * create()
Definition: visscenecoltab.h:33
int winy_
Definition: visscenecoltab.h:73
Open Scene Graph.
Definition: visannot.h:29
Interval< float > rg_
Definition: visscenecoltab.h:65
Color Table
Definition: coltab.h:22
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
Pos pos_
Definition: visscenecoltab.h:66
#define mCreateDataObj(clss)
Definition: visdata.h:209
Definition: visobject.h:72
osg::Geode * osgcolorbar_
Definition: visscenecoltab.h:63