OpenSceneGraph
3.4.0
|
Dragger for performing rotation in all axes. More...
Public Member Functions | |
TrackballDragger (bool useAutoTransform=false) | |
META_OSGMANIPULATOR_Object (osgManipulator, TrackballDragger) void setupDefaultGeometry() | |
Setup default geometry for dragger. | |
void | setAxisLineWidth (float linePixelWidth) |
Sets the width of the axis lines in pixels. | |
float | getAxisLineWidth () const |
Retrieves the width of the axis lines in pixels. | |
void | setPickCylinderHeight (float pickCylinderHeight) |
Sets the height of the cylinders representing the axis lines for picking. | |
float | getPickCylinderHeight () const |
Retrieves the height of the cylinders representing the axis lines for picking. | |
Protected Member Functions | |
virtual | ~TrackballDragger () |
Protected Attributes | |
osg::ref_ptr < RotateCylinderDragger > | _xDragger |
osg::ref_ptr < RotateCylinderDragger > | _yDragger |
osg::ref_ptr < RotateCylinderDragger > | _zDragger |
osg::ref_ptr< RotateSphereDragger > | _xyzDragger |
float | _axisLineWidth |
float | _pickCylinderHeight |
osg::ref_ptr< osg::Geode > | _geode |
osg::ref_ptr< osg::Cylinder > | _cylinder |
osg::ref_ptr< osg::LineWidth > | _lineWidth |
Dragger for performing rotation in all axes.
osgManipulator::TrackballDragger::TrackballDragger | ( | bool | useAutoTransform = false | ) |
virtual osgManipulator::TrackballDragger::~TrackballDragger | ( | ) | [protected, virtual] |
float osgManipulator::TrackballDragger::getAxisLineWidth | ( | ) | const [inline] |
Retrieves the width of the axis lines in pixels.
float osgManipulator::TrackballDragger::getPickCylinderHeight | ( | ) | const [inline] |
Retrieves the height of the cylinders representing the axis lines for picking.
osgManipulator::TrackballDragger::META_OSGMANIPULATOR_Object | ( | osgManipulator | , |
TrackballDragger | |||
) |
Setup default geometry for dragger.
void osgManipulator::TrackballDragger::setAxisLineWidth | ( | float | linePixelWidth | ) |
Sets the width of the axis lines in pixels.
void osgManipulator::TrackballDragger::setPickCylinderHeight | ( | float | pickCylinderHeight | ) |
Sets the height of the cylinders representing the axis lines for picking.
float osgManipulator::TrackballDragger::_axisLineWidth [protected] |
float osgManipulator::TrackballDragger::_pickCylinderHeight [protected] |
![]() | Generated at Tue Dec 8 2015 00:16:48 for the OpenSceneGraph by doxygen 1.7.6.1. |