Public Types | Public Member Functions | Public Attributes

osgUtil::Hit Class Reference

List of all members.

Public Types

typedef std::vector< int > VecIndexList

Public Member Functions

 Hit ()
 Hit (const Hit &hit)
 ~Hit ()
Hit & operator= (const Hit &hit)
bool operator< (const Hit &hit) const
const osg::Vec3 & getLocalIntersectPoint () const
const osg::Vec3 & getLocalIntersectNormal () const
const osg::Vec3 getWorldIntersectPoint () const
const osg::Vec3 getWorldIntersectNormal () const
float getRatio () const
const osg::LineSegment * getOriginalLineSegment () const
const osg::LineSegment * getLocalLineSegment () const
osg::NodePath & getNodePath ()
const osg::NodePath & getNodePath () const
osg::Geode * getGeode ()
const osg::Geode * getGeode () const
osg::Drawable * getDrawable ()
const osg::Drawable * getDrawable () const
const osg::RefMatrix * getMatrix () const
const osg::RefMatrix * getInverseMatrix () const
const VecIndexList & getVecIndexList () const
int getPrimitiveIndex () const

Public Attributes

float _ratio
osg::ref_ptr< osg::LineSegment > _originalLineSegment
osg::ref_ptr< osg::LineSegment > _localLineSegment
osg::NodePath _nodePath
osg::ref_ptr< osg::Geode > _geode
osg::ref_ptr< osg::Drawable > _drawable
osg::ref_ptr< osg::RefMatrix > _matrix
osg::ref_ptr< osg::RefMatrix > _inverse
VecIndexList _vecIndexList
int _primitiveIndex
osg::Vec3 _intersectPoint
osg::Vec3 _intersectNormal

Member Typedef Documentation

typedef std::vector<int> osgUtil::Hit::VecIndexList

Constructor & Destructor Documentation

osgUtil::Hit::Hit (  ) 

Deprecated

osgUtil::Hit::Hit ( const Hit &  hit  ) 
osgUtil::Hit::~Hit (  ) 

Member Function Documentation

osg::Drawable* osgUtil::Hit::getDrawable (  )  [inline]
const osg::Drawable* osgUtil::Hit::getDrawable (  )  const [inline]
osg::Geode* osgUtil::Hit::getGeode (  )  [inline]
const osg::Geode* osgUtil::Hit::getGeode (  )  const [inline]
const osg::RefMatrix* osgUtil::Hit::getInverseMatrix (  )  const [inline]
const osg::Vec3& osgUtil::Hit::getLocalIntersectNormal (  )  const [inline]
const osg::Vec3& osgUtil::Hit::getLocalIntersectPoint (  )  const [inline]
const osg::LineSegment* osgUtil::Hit::getLocalLineSegment (  )  const [inline]
const osg::RefMatrix* osgUtil::Hit::getMatrix (  )  const [inline]
osg::NodePath& osgUtil::Hit::getNodePath (  )  [inline]
const osg::NodePath& osgUtil::Hit::getNodePath (  )  const [inline]
const osg::LineSegment* osgUtil::Hit::getOriginalLineSegment (  )  const [inline]
int osgUtil::Hit::getPrimitiveIndex (  )  const [inline]
float osgUtil::Hit::getRatio (  )  const [inline]
const VecIndexList& osgUtil::Hit::getVecIndexList (  )  const [inline]
const osg::Vec3 osgUtil::Hit::getWorldIntersectNormal (  )  const
const osg::Vec3 osgUtil::Hit::getWorldIntersectPoint (  )  const [inline]
bool osgUtil::Hit::operator< ( const Hit &  hit  )  const [inline]

References _originalLineSegment, and _ratio.

Hit& osgUtil::Hit::operator= ( const Hit &  hit  ) 

Member Data Documentation

Referenced by operator<().

Referenced by operator<().


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