8 #ifndef OSG_VRUI_SLIDER_H
9 #define OSG_VRUI_SLIDER_H
15 #include <osg/Geometry>
16 #include <osg/MatrixTransform>
17 #include <osgText/Text>
24 class OSGVruiTransformNode;
35 void createGeometry();
36 void resizeGeometry();
65 osg::ref_ptr<osg::Geode> createSlider(
const std::string &textureName);
66 osg::ref_ptr<osg::Geode> createDial(
const std::string &textureName);
67 osg::ref_ptr<osg::Geode> createText(
float xPos = 0.0f);
osg::ref_ptr< osg::Vec3Array > normal
slider textures normal
Definition: OSGVruiSlider.h:46
osg::ref_ptr< osg::Geode > positionNodeDisabled
disabled position indicator geode
Definition: OSGVruiSlider.h:52
osg::ref_ptr< osg::MatrixTransform > sliderTransform
< DCS of slider position indicator
Definition: OSGVruiSlider.h:42
osg::ref_ptr< osg::Switch > switchPosition
Definition: OSGVruiSlider.h:55
osg::ref_ptr< osg::Geode > positionNode
position indicator geode
Definition: OSGVruiSlider.h:49
osg::ref_ptr< osg::Geode > textNode
Definition: OSGVruiSlider.h:51
osg::ref_ptr< osg::Switch > switchDial
Definition: OSGVruiSlider.h:56
osg::ref_ptr< osg::Vec2Array > texCoord1
texture coordinates of slider position indicator
Definition: OSGVruiSlider.h:47
Definition: coSlider.h:37
osg::ref_ptr< osg::Vec3Array > coord1
position indicator coordinates
Definition: OSGVruiSlider.h:44
osg::ref_ptr< osg::Geode > dialNodeDisabled
disabled dial geode
Definition: OSGVruiSlider.h:53
osg::ref_ptr< osg::Geode > dialNode
dial geode
Definition: OSGVruiSlider.h:50
coSlider * slider
Definition: OSGVruiSlider.h:62
osg::ref_ptr< osgText::Text > numberText
OSG string for slider value.
Definition: OSGVruiSlider.h:57
osg::ref_ptr< osg::Vec2Array > texCoord2
texture coordinates of dial
Definition: OSGVruiSlider.h:48
Definition: OSGVruiUIElement.h:20
osg::ref_ptr< osg::Vec3Array > coord2
dial coordinates
Definition: OSGVruiSlider.h:45
Definition: OSGVruiSlider.h:29