OpenSceneGraph
3.4.0
|
Dragger for performing scaling on all 3 axes. More...
Public Member Functions | |
ScaleAxisDragger () | |
META_OSGMANIPULATOR_Object (osgManipulator, ScaleAxisDragger) 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 | setBoxSize (float size) |
Sets the size of the boxes. | |
float | getBoxSize () const |
Retrieves the size of the boxes. | |
Protected Member Functions | |
virtual | ~ScaleAxisDragger () |
Protected Attributes | |
osg::ref_ptr< Scale1DDragger > | _xDragger |
osg::ref_ptr< Scale1DDragger > | _yDragger |
osg::ref_ptr< Scale1DDragger > | _zDragger |
float | _boxSize |
float | _axisLineWidth |
osg::ref_ptr< osg::Geode > | _lineGeode |
osg::ref_ptr< osg::LineWidth > | _lineWidth |
osg::ref_ptr< osg::Box > | _box |
Dragger for performing scaling on all 3 axes.
virtual osgManipulator::ScaleAxisDragger::~ScaleAxisDragger | ( | ) | [protected, virtual] |
float osgManipulator::ScaleAxisDragger::getAxisLineWidth | ( | ) | const [inline] |
Retrieves the width of the axis lines in pixels.
float osgManipulator::ScaleAxisDragger::getBoxSize | ( | ) | const [inline] |
Retrieves the size of the boxes.
osgManipulator::ScaleAxisDragger::META_OSGMANIPULATOR_Object | ( | osgManipulator | , |
ScaleAxisDragger | |||
) |
Setup default geometry for dragger.
void osgManipulator::ScaleAxisDragger::setAxisLineWidth | ( | float | linePixelWidth | ) |
Sets the width of the axis lines in pixels.
void osgManipulator::ScaleAxisDragger::setBoxSize | ( | float | size | ) |
Sets the size of the boxes.
float osgManipulator::ScaleAxisDragger::_axisLineWidth [protected] |
osg::ref_ptr<osg::Box> osgManipulator::ScaleAxisDragger::_box [protected] |
float osgManipulator::ScaleAxisDragger::_boxSize [protected] |
![]() | Generated at Tue Dec 8 2015 00:14:29 for the OpenSceneGraph by doxygen 1.7.6.1. |