OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
osgManipulator::PointerInfo Class Reference

#include <Dragger.h>

Collaboration diagram for osgManipulator::PointerInfo:
Collaboration graph
[legend]

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::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
 

Detailed Description

Definition at line 84 of file Dragger.h.

Member Typedef Documentation

Definition at line 115 of file Dragger.h.

Definition at line 114 of file Dragger.h.

Constructor & Destructor Documentation

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

Definition at line 90 of file Dragger.h.

Member Function Documentation

void osgManipulator::PointerInfo::addIntersection ( const osg::NodePath nodePath,
const osg::Vec3d intersectionPoint 
)
inline

Definition at line 159 of file Dragger.h.

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

Definition at line 107 of file Dragger.h.

bool osgManipulator::PointerInfo::contains ( const osg::Node node) const
const osg::Vec3d& osgManipulator::PointerInfo::getEyeDir ( ) const
inline

Definition at line 128 of file Dragger.h.

osg::Vec3d osgManipulator::PointerInfo::getLocalIntersectPoint ( ) const
inline

Definition at line 118 of file Dragger.h.

void osgManipulator::PointerInfo::getNearFarPoints ( osg::Vec3d nearPoint,
osg::Vec3d farPoint 
) const
inline

Definition at line 130 of file Dragger.h.

void osgManipulator::PointerInfo::next ( )
inline

Definition at line 109 of file Dragger.h.

bool osgManipulator::PointerInfo::projectWindowXYIntoObject ( const osg::Vec2d windowCoord,
osg::Vec3d nearPoint,
osg::Vec3d farPoint 
) const
protected
void osgManipulator::PointerInfo::reset ( )
inline

Definition at line 99 of file Dragger.h.

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

Definition at line 137 of file Dragger.h.

Here is the call graph for this function:

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

Definition at line 166 of file Dragger.h.

void osgManipulator::PointerInfo::setNearFarPoints ( osg::Vec3d  nearPoint,
osg::Vec3d  farPoint 
)
inline

Definition at line 122 of file Dragger.h.

Member Data Documentation

osg::Vec3d osgManipulator::PointerInfo::_eyeDir
protected

Definition at line 181 of file Dragger.h.

osg::Vec3d osgManipulator::PointerInfo::_farPoint
protected

Definition at line 180 of file Dragger.h.

IntersectionList::const_iterator osgManipulator::PointerInfo::_hitIter

Definition at line 176 of file Dragger.h.

IntersectionList osgManipulator::PointerInfo::_hitList

Definition at line 175 of file Dragger.h.

osg::Matrix osgManipulator::PointerInfo::_inverseMVPW
protected

Definition at line 184 of file Dragger.h.

osg::Matrix osgManipulator::PointerInfo::_MVPW
protected

Definition at line 183 of file Dragger.h.

osg::Vec3d osgManipulator::PointerInfo::_nearPoint
protected

Definition at line 180 of file Dragger.h.


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