osgManipulator::Scale2DDragger::Scale2DDragger | ( | ScaleMode | scaleMode = SCALE_WITH_ORIGIN_AS_PIVOT |
) |
virtual osgManipulator::Scale2DDragger::~Scale2DDragger | ( | ) | [protected, virtual] |
virtual bool osgManipulator::Scale2DDragger::handle | ( | const PointerInfo & | pi, | |
const osgGA::GUIEventAdapter & | ea, | |||
osgGA::GUIActionAdapter & | us | |||
) | [virtual] |
Handle pick events on dragger and generate TranslateInLine commands.
Reimplemented from osgManipulator::Dragger.
void osgManipulator::Scale2DDragger::setupDefaultGeometry | ( | ) |
Setup default geometry for dragger.
void osgManipulator::Scale2DDragger::setMinScale | ( | const osg::Vec2 & | min | ) | [inline] |
Set/Get min scale for dragger.
const osg::Vec2& osgManipulator::Scale2DDragger::getMinScale | ( | ) | const [inline] |
void osgManipulator::Scale2DDragger::setColor | ( | const osg::Vec4 & | color | ) | [inline] |
Set/Get color for dragger.
const osg::Vec4 osgManipulator::Scale2DDragger::getColor | ( | ) | const [inline] |
void osgManipulator::Scale2DDragger::setPickColor | ( | const osg::Vec4 & | color | ) | [inline] |
Set/Get pick color for dragger.
Pick color is color of the dragger when picked. It gives a visual feedback to show that the dragger has been picked.
const osg::Vec4 osgManipulator::Scale2DDragger::getPickColor | ( | ) | const [inline] |
void osgManipulator::Scale2DDragger::setTopLeftHandleNode | ( | osg::Node & | node | ) | [inline] |
Set/Get the handle nodes for dragger.
osg::Node* osgManipulator::Scale2DDragger::getTopLeftHandleNode | ( | ) | [inline] |
void osgManipulator::Scale2DDragger::setBottomLeftHandleNode | ( | osg::Node & | node | ) | [inline] |
osg::Node* osgManipulator::Scale2DDragger::getBottomLeftHandleNode | ( | ) | [inline] |
void osgManipulator::Scale2DDragger::setTopRightHandleNode | ( | osg::Node & | node | ) | [inline] |
osg::Node* osgManipulator::Scale2DDragger::getTopRightHandleNode | ( | ) | [inline] |
void osgManipulator::Scale2DDragger::setBottomRightHandleNode | ( | osg::Node & | node | ) | [inline] |
osg::Node* osgManipulator::Scale2DDragger::getBottomRightHandleNode | ( | ) | [inline] |
void osgManipulator::Scale2DDragger::setTopLeftHandlePosition | ( | const osg::Vec2 & | pos | ) | [inline] |
Set/Get the handle nodes postion for dragger.
const osg::Vec2& osgManipulator::Scale2DDragger::getTopLeftHandlePosition | ( | ) | [inline] |
void osgManipulator::Scale2DDragger::setBottomLeftHandlePosition | ( | const osg::Vec2 & | pos | ) | [inline] |
const osg::Vec2& osgManipulator::Scale2DDragger::getBottomLeftHandlePosition | ( | ) | [inline] |
void osgManipulator::Scale2DDragger::setTopRightHandlePosition | ( | const osg::Vec2 & | pos | ) | [inline] |
const osg::Vec2& osgManipulator::Scale2DDragger::getTopRightHandlePosition | ( | ) | [inline] |
void osgManipulator::Scale2DDragger::setBottomRightHandlePosition | ( | const osg::Vec2 & | pos | ) | [inline] |
const osg::Vec2& osgManipulator::Scale2DDragger::getBottomRightHandlePosition | ( | ) | [inline] |
osg::ref_ptr< PlaneProjector > osgManipulator::Scale2DDragger::_projector [protected] |
osg::Vec2 osgManipulator::Scale2DDragger::_minScale [protected] |
osg::Vec4 osgManipulator::Scale2DDragger::_color [protected] |
osg::Vec4 osgManipulator::Scale2DDragger::_pickColor [protected] |
ScaleMode osgManipulator::Scale2DDragger::_scaleMode [protected] |