OpenSceneGraph
|
Public Types | |
typedef std::pair< osg::NodePath, osg::Vec3d > | NodePathIntersectionPair |
typedef std::list< NodePathIntersectionPair > | IntersectionList |
Public Member Functions | |
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 |