OpenCOVER
|
#include <OSGVruiSlider.h>
Public Member Functions | |
OSGVruiSlider (coSlider *slider) | |
virtual | ~OSGVruiSlider () |
void | createGeometry () |
void | resizeGeometry () |
void | update () |
Public Member Functions inherited from vrui::OSGVruiUIElement | |
OSGVruiUIElement (coUIElement *element) | |
virtual | ~OSGVruiUIElement () |
vruiTransformNode * | getDCS () |
Public Member Functions inherited from vrui::vruiUIElementProvider | |
vruiUIElementProvider (coUIElement *element) | |
virtual | ~vruiUIElementProvider () |
virtual void | setEnabled (bool) |
virtual void | setHighlighted (bool) |
virtual float | getWidth () const |
virtual float | getHeight () const |
virtual float | getDepth () const |
Protected Member Functions | |
void | updateSlider () |
void | updateDial () |
Protected Attributes | |
osg::ref_ptr < osg::MatrixTransform > | sliderTransform |
< DCS of slider position indicator More... | |
osg::ref_ptr< osg::Vec3Array > | coord1 |
position indicator coordinates More... | |
osg::ref_ptr< osg::Vec3Array > | coord2 |
dial coordinates More... | |
osg::ref_ptr< osg::Vec3Array > | normal |
slider textures normal More... | |
osg::ref_ptr< osg::Vec2Array > | texCoord1 |
texture coordinates of slider position indicator More... | |
osg::ref_ptr< osg::Vec2Array > | texCoord2 |
texture coordinates of dial More... | |
osg::ref_ptr< osg::Geode > | positionNode |
position indicator geode More... | |
osg::ref_ptr< osg::Geode > | dialNode |
dial geode More... | |
osg::ref_ptr< osg::Geode > | textNode |
osg::ref_ptr< osg::Geode > | positionNodeDisabled |
disabled position indicator geode More... | |
osg::ref_ptr< osg::Geode > | dialNodeDisabled |
disabled dial geode More... | |
osg::ref_ptr< osg::Switch > | switchPosition |
osg::ref_ptr< osg::Switch > | switchDial |
osg::ref_ptr< osgText::Text > | numberText |
OSG string for slider value. More... | |
coSlider * | slider |
Protected Attributes inherited from vrui::OSGVruiUIElement | |
OSGVruiTransformNode * | myDCS |
main DCS of this UI Element More... | |
Protected Attributes inherited from vrui::vruiUIElementProvider | |
coUIElement * | element |
This class provides a basic 3D slider, which is based on a texture mapped tickmark field and a round slider position indicator.
vrui::OSGVruiSlider::OSGVruiSlider | ( | coSlider * | slider | ) |
|
virtual |
|
virtual |
Implements vrui::vruiUIElementProvider.
|
virtual |
Implements vrui::vruiUIElementProvider.
|
virtual |
Reimplemented from vrui::vruiUIElementProvider.
|
protected |
|
protected |
|
protected |
position indicator coordinates
|
protected |
dial coordinates
|
protected |
dial geode
|
protected |
disabled dial geode
|
protected |
slider textures normal
|
protected |
OSG string for slider value.
|
protected |
position indicator geode
|
protected |
disabled position indicator geode
|
protected |
|
protected |
< DCS of slider position indicator
|
protected |
|
protected |
|
protected |
texture coordinates of slider position indicator
|
protected |
texture coordinates of dial
|
protected |