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

Dragger for performing rotation in all axes. More...

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

List of all members.

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

Detailed Description

Dragger for performing rotation in all axes.


Constructor & Destructor Documentation

osgManipulator::TrackballDragger::TrackballDragger ( bool  useAutoTransform = false)
virtual osgManipulator::TrackballDragger::~TrackballDragger ( ) [protected, virtual]

Member Function Documentation

Retrieves the width of the axis lines in pixels.

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

Setup default geometry for dragger.

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.


Member Data Documentation


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

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