OpenSceneGraph
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
osgManipulator::PointerInfo Class Reference
Collaboration diagram for osgManipulator::PointerInfo:
Collaboration graph
[legend]

Public Types

typedef std::pair< osg::NodePath, osg::Vec3dNodePathIntersectionPair
 
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::Vec3dgetEyeDir () 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
 

The documentation for this class was generated from the following file: