Public Member Functions | |
TranslatePlaneDragger () | |
virtual bool | handle (const PointerInfo &pi, const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
void | setupDefaultGeometry () |
Setup default geometry for dragger. | |
void | setColor (const osg::Vec4 &color) |
Translate1DDragger * | getTranslate1DDragger () |
Translate2DDragger * | getTranslate2DDragger () |
Protected Member Functions | |
virtual | ~TranslatePlaneDragger () |
Protected Attributes | |
osg::ref_ptr < Translate2DDragger > | _translate2DDragger |
osg::ref_ptr < Translate1DDragger > | _translate1DDragger |
bool | _usingTranslate1DDragger |
And the plane is used as a 2D translate dragger.
osgManipulator::TranslatePlaneDragger::TranslatePlaneDragger | ( | ) |
virtual osgManipulator::TranslatePlaneDragger::~TranslatePlaneDragger | ( | ) | [protected, virtual] |
virtual bool osgManipulator::TranslatePlaneDragger::handle | ( | const PointerInfo & | pi, | |
const osgGA::GUIEventAdapter & | ea, | |||
osgGA::GUIActionAdapter & | us | |||
) | [virtual] |
Reimplemented from osgManipulator::CompositeDragger.
void osgManipulator::TranslatePlaneDragger::setupDefaultGeometry | ( | ) |
Setup default geometry for dragger.
void osgManipulator::TranslatePlaneDragger::setColor | ( | const osg::Vec4 & | color | ) | [inline] |
Translate1DDragger* osgManipulator::TranslatePlaneDragger::getTranslate1DDragger | ( | ) | [inline] |
Translate2DDragger* osgManipulator::TranslatePlaneDragger::getTranslate2DDragger | ( | ) | [inline] |
osg::ref_ptr< Translate2DDragger > osgManipulator::TranslatePlaneDragger::_translate2DDragger [protected] |
osg::ref_ptr< Translate1DDragger > osgManipulator::TranslatePlaneDragger::_translate1DDragger [protected] |
bool osgManipulator::TranslatePlaneDragger::_usingTranslate1DDragger [protected] |