OpenSceneGraph
3.4.0
|
Dragger for performing translation in all three axes. More...
Public Member Functions | |
TranslateAxisDragger () | |
META_OSGMANIPULATOR_Object (osgManipulator, TranslateAxisDragger) 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 | setPickCylinderRadius (float pickCylinderRadius) |
Sets the radius of the cylinders representing the axis lines for picking. | |
float | getPickCylinderRadius () const |
Retrieves the radius of the cylinders representing the axis lines for picking. | |
void | setConeHeight (float radius) |
Sets the height of the cones. | |
float | getConeHeight () const |
Retrieves the height of the cones. | |
Protected Member Functions | |
virtual | ~TranslateAxisDragger () |
Protected Attributes | |
osg::ref_ptr< Translate1DDragger > | _xDragger |
osg::ref_ptr< Translate1DDragger > | _yDragger |
osg::ref_ptr< Translate1DDragger > | _zDragger |
float | _coneHeight |
float | _axisLineWidth |
float | _pickCylinderRadius |
osg::ref_ptr< osg::Geode > | _lineGeode |
osg::ref_ptr< osg::Cylinder > | _cylinder |
osg::ref_ptr< osg::LineWidth > | _lineWidth |
osg::ref_ptr< osg::Cone > | _cone |
Dragger for performing translation in all three axes.
virtual osgManipulator::TranslateAxisDragger::~TranslateAxisDragger | ( | ) | [protected, virtual] |
float osgManipulator::TranslateAxisDragger::getAxisLineWidth | ( | ) | const [inline] |
Retrieves the width of the axis lines in pixels.
float osgManipulator::TranslateAxisDragger::getConeHeight | ( | ) | const [inline] |
Retrieves the height of the cones.
float osgManipulator::TranslateAxisDragger::getPickCylinderRadius | ( | ) | const [inline] |
Retrieves the radius of the cylinders representing the axis lines for picking.
osgManipulator::TranslateAxisDragger::META_OSGMANIPULATOR_Object | ( | osgManipulator | , |
TranslateAxisDragger | |||
) |
Setup default geometry for dragger.
void osgManipulator::TranslateAxisDragger::setAxisLineWidth | ( | float | linePixelWidth | ) |
Sets the width of the axis lines in pixels.
void osgManipulator::TranslateAxisDragger::setConeHeight | ( | float | radius | ) |
Sets the height of the cones.
void osgManipulator::TranslateAxisDragger::setPickCylinderRadius | ( | float | pickCylinderRadius | ) |
Sets the radius of the cylinders representing the axis lines for picking.
float osgManipulator::TranslateAxisDragger::_axisLineWidth [protected] |
float osgManipulator::TranslateAxisDragger::_coneHeight [protected] |
float osgManipulator::TranslateAxisDragger::_pickCylinderRadius [protected] |
![]() | Generated at Tue Dec 8 2015 00:16:48 for the OpenSceneGraph by doxygen 1.7.6.1. |