Public Member Functions | |
TabPlaneDragger () | |
virtual bool | handle (const PointerInfo &pi, const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
void | setupDefaultGeometry (bool twoSidedHandle=true) |
Setup default geometry for dragger. | |
void | setPlaneColor (const osg::Vec4 &color) |
Protected Member Functions | |
virtual | ~TabPlaneDragger () |
Protected Attributes | |
osg::ref_ptr < TranslatePlaneDragger > | _translateDragger |
osg::ref_ptr < Scale2DDragger > | _cornerScaleDragger |
osg::ref_ptr < Scale1DDragger > | _horzEdgeScaleDragger |
osg::ref_ptr < Scale1DDragger > | _vertEdgeScaleDragger |
float | _handleScaleFactor |
And the plane is used as a 2D translate dragger.
osgManipulator::TabPlaneDragger::TabPlaneDragger | ( | ) |
virtual osgManipulator::TabPlaneDragger::~TabPlaneDragger | ( | ) | [protected, virtual] |
virtual bool osgManipulator::TabPlaneDragger::handle | ( | const PointerInfo & | pi, | |
const osgGA::GUIEventAdapter & | ea, | |||
osgGA::GUIActionAdapter & | us | |||
) | [virtual] |
Reimplemented from osgManipulator::CompositeDragger.
void osgManipulator::TabPlaneDragger::setupDefaultGeometry | ( | bool | twoSidedHandle = true |
) |
Setup default geometry for dragger.
void osgManipulator::TabPlaneDragger::setPlaneColor | ( | const osg::Vec4 & | color | ) | [inline] |
osg::ref_ptr< TranslatePlaneDragger > osgManipulator::TabPlaneDragger::_translateDragger [protected] |
float osgManipulator::TabPlaneDragger::_handleScaleFactor [protected] |