OpenSceneGraph 3.6.5
|
#include <Dragger>
Public Types | |
typedef std::pair< osg::NodePath, osg::Vec3d > | NodePathIntersectionPair |
typedef std::list< NodePathIntersectionPair > | IntersectionList |
Public Member Functions | |
PointerInfo () | |
PointerInfo (const PointerInfo &rhs) | |
void | reset () |
bool | completed () const |
void | next () |
osg::Vec3d | getLocalIntersectPoint () const |
void | setNearFarPoints (osg::Vec3d nearPoint, osg::Vec3d farPoint) |
const osg::Vec3d & | getEyeDir () const |
void | getNearFarPoints (osg::Vec3d &nearPoint, osg::Vec3d &farPoint) const |
bool | contains (const osg::Node *node) const |
void | setCamera (osg::Camera *camera) |
void | addIntersection (const osg::NodePath &nodePath, const osg::Vec3d &intersectionPoint) |
void | setMousePosition (float pixel_x, float pixel_y) |
Public Attributes | |
IntersectionList | _hitList |
IntersectionList::const_iterator | _hitIter |
Protected Member Functions | |
bool | projectWindowXYIntoObject (const osg::Vec2d &windowCoord, osg::Vec3d &nearPoint, osg::Vec3d &farPoint) const |
Protected Attributes | |
osg::Vec3d | _nearPoint |
osg::Vec3d | _farPoint |
osg::Vec3d | _eyeDir |
osg::Matrix | _MVPW |
osg::Matrix | _inverseMVPW |
typedef std::list< NodePathIntersectionPair> osgManipulator::PointerInfo::IntersectionList |
typedef std::pair<osg::NodePath, osg::Vec3d> osgManipulator::PointerInfo::NodePathIntersectionPair |
osgManipulator::PointerInfo::PointerInfo | ( | ) |
Referenced by PointerInfo().
|
inline |
References _eyeDir, _farPoint, _hitIter, _hitList, _nearPoint, and PointerInfo().
|
inline |
|
inline |
bool osgManipulator::PointerInfo::contains | ( | const osg::Node * | node | ) | const |
|
inline |
References _eyeDir.
|
inline |
References _hitIter.
|
inline |
References _farPoint, and _nearPoint.
|
inline |
References _hitIter, and completed().
|
protected |
Referenced by setMousePosition().
|
inline |
References _hitIter, _hitList, and setCamera().
|
inline |
References _eyeDir, _inverseMVPW, _MVPW, osg::Viewport::computeWindowMatrix(), osg::Matrixd::getLookAt(), osg::Camera::getProjectionMatrix(), osg::Camera::getViewMatrix(), and osg::Camera::getViewport().
Referenced by reset().
|
inline |
References _farPoint, _nearPoint, and projectWindowXYIntoObject().
|
inline |
References _eyeDir, _farPoint, and _nearPoint.
|
protected |
Referenced by getEyeDir(), PointerInfo(), setCamera(), and setNearFarPoints().
|
protected |
Referenced by getNearFarPoints(), PointerInfo(), setMousePosition(), and setNearFarPoints().
IntersectionList::const_iterator osgManipulator::PointerInfo::_hitIter |
Referenced by addIntersection(), completed(), getLocalIntersectPoint(), next(), PointerInfo(), and reset().
IntersectionList osgManipulator::PointerInfo::_hitList |
Referenced by addIntersection(), completed(), PointerInfo(), and reset().
|
protected |
Referenced by setCamera().
|
protected |
Referenced by setCamera().
|
protected |
Referenced by getNearFarPoints(), PointerInfo(), setMousePosition(), and setNearFarPoints().
![]() | Generated at Sun Jul 27 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0. |