OpenSceneGraph  3.4.0
Public Member Functions | Protected Member Functions | Protected Attributes
osgManipulator::TranslateAxisDragger Class Reference

Dragger for performing translation in all three axes. More...

Inheritance diagram for osgManipulator::TranslateAxisDragger:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Dragger for performing translation in all three axes.


Constructor & Destructor Documentation


Member Function Documentation

Retrieves the width of the axis lines in pixels.

Retrieves the height of the cones.

Retrieves the radius of the cylinders representing the axis lines for picking.

Setup default geometry for dragger.

Sets the width of the axis lines in pixels.

Sets the height of the cones.

Sets the radius of the cylinders representing the axis lines for picking.


Member Data Documentation


The documentation for this class was generated from the following file:

osg logo
Generated at Tue Dec 8 2015 00:14:29 for the OpenSceneGraph by doxygen 1.7.6.1.