osgManipulator::PointerInfo Class Reference

List of all members.

Public Types

typedef std::pair
< osg::NodePath,
osg::Vec3
NodePathIntersectionPair
typedef std::list
< NodePathIntersectionPair
IntersectionList

Public Member Functions

 PointerInfo ()
 PointerInfo (const PointerInfo &rhs)
void reset ()
bool completed () const
void next ()
osg::Vec3 getLocalIntersectPoint () const
void setNearFarPoints (osg::Vec3 nearPoint, osg::Vec3 farPoint)
const osg::Vec3getEyeDir () const
void getNearFarPoints (osg::Vec3 &nearPoint, osg::Vec3 &farPoint) const
bool contains (const osg::Node *node) const
void setCamera (osg::Camera *camera)
void addIntersection (const osg::NodePath &nodePath, osg::Vec3 intersectionPoint)
void setMousePosition (float pixel_x, float pixel_y)

Public Attributes

IntersectionList _hitList
IntersectionList::const_iterator _hitIter

Protected Member Functions

bool projectWindowXYIntoObject (const osg::Vec2 &windowCoord, osg::Vec3 &nearPoint, osg::Vec3 &farPoint) const

Protected Attributes

osg::Vec3 _nearPoint
osg::Vec3 _farPoint
osg::Vec3 _eyeDir
osg::Matrix _MVPW
osg::Matrix _inverseMVPW


Member Typedef Documentation

typedef std::pair<osg::NodePath, osg::Vec3> osgManipulator::PointerInfo::NodePathIntersectionPair

typedef std::list< NodePathIntersectionPair> osgManipulator::PointerInfo::IntersectionList


Constructor & Destructor Documentation

osgManipulator::PointerInfo::PointerInfo (  ) 

osgManipulator::PointerInfo::PointerInfo ( const PointerInfo rhs  )  [inline]


Member Function Documentation

void osgManipulator::PointerInfo::reset (  )  [inline]

bool osgManipulator::PointerInfo::completed (  )  const [inline]

void osgManipulator::PointerInfo::next (  )  [inline]

osg::Vec3 osgManipulator::PointerInfo::getLocalIntersectPoint (  )  const [inline]

void osgManipulator::PointerInfo::setNearFarPoints ( osg::Vec3  nearPoint,
osg::Vec3  farPoint 
) [inline]

const osg::Vec3& osgManipulator::PointerInfo::getEyeDir (  )  const [inline]

void osgManipulator::PointerInfo::getNearFarPoints ( osg::Vec3 nearPoint,
osg::Vec3 farPoint 
) const [inline]

bool osgManipulator::PointerInfo::contains ( const osg::Node node  )  const

void osgManipulator::PointerInfo::setCamera ( osg::Camera camera  )  [inline]

void osgManipulator::PointerInfo::addIntersection ( const osg::NodePath nodePath,
osg::Vec3  intersectionPoint 
) [inline]

void osgManipulator::PointerInfo::setMousePosition ( float  pixel_x,
float  pixel_y 
) [inline]

bool osgManipulator::PointerInfo::projectWindowXYIntoObject ( const osg::Vec2 windowCoord,
osg::Vec3 nearPoint,
osg::Vec3 farPoint 
) const [protected]


Member Data Documentation

IntersectionList osgManipulator::PointerInfo::_hitList

IntersectionList::const_iterator osgManipulator::PointerInfo::_hitIter

osg::Vec3 osgManipulator::PointerInfo::_nearPoint [protected]

osg::Vec3 osgManipulator::PointerInfo::_farPoint [protected]

osg::Vec3 osgManipulator::PointerInfo::_eyeDir [protected]

osg::Matrix osgManipulator::PointerInfo::_MVPW [protected]

osg::Matrix osgManipulator::PointerInfo::_inverseMVPW [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:40 2007 for the OpenSceneGraph by doxygen 1.5.3.