OpenSceneGraph
3.0.1
|
Picking intersection visitor specialises the IntersectVistor to allow more convinient handling of mouse picking. More...
Public Member Functions | |
PickVisitor (const osg::Viewport *viewport, const osg::Matrixd &proj, const osg::Matrixd &view, float mx, float my) | |
void | runNestedPickVisitor (osg::Node &node, const osg::Viewport *viewport, const osg::Matrix &proj, const osg::Matrix &view, float mx, float my) |
void | apply (osg::Projection &projection) |
void | apply (osg::Camera &camera) |
Protected Attributes | |
float | _mx |
float | _my |
osg::ref_ptr< const osg::Viewport > | _lastViewport |
osg::Matrixd | _lastProjectionMatrix |
osg::Matrixd | _lastViewMatrix |
Picking intersection visitor specialises the IntersectVistor to allow more convinient handling of mouse picking.
osgUtil::PickVisitor::PickVisitor | ( | const osg::Viewport * | viewport, |
const osg::Matrixd & | proj, | ||
const osg::Matrixd & | view, | ||
float | mx, | ||
float | my | ||
) |
void osgUtil::PickVisitor::apply | ( | osg::Projection & | projection | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
void osgUtil::PickVisitor::apply | ( | osg::Camera & | camera | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
void osgUtil::PickVisitor::runNestedPickVisitor | ( | osg::Node & | node, |
const osg::Viewport * | viewport, | ||
const osg::Matrix & | proj, | ||
const osg::Matrix & | view, | ||
float | mx, | ||
float | my | ||
) |
osg::Matrixd osgUtil::PickVisitor::_lastViewMatrix [protected] |
osg::ref_ptr<const osg::Viewport> osgUtil::PickVisitor::_lastViewport [protected] |
float osgUtil::PickVisitor::_mx [protected] |
float osgUtil::PickVisitor::_my [protected] |
![]() | Generated at Mon Oct 3 2011 12:39:50 for the OpenSceneGraph by doxygen 1.7.5. |