openscenegraph
Public Types | Public Member Functions | Public Attributes | List of all members
osgUtil::Hit Class Reference

#include <IntersectVisitor>

Public Types

typedef std::vector< int > VecIndexList
 

Public Member Functions

 Hit ()
 
 Hit (const Hit &hit)
 
 ~Hit ()
 
Hitoperator= (const Hit &hit)
 
bool operator< (const Hit &hit) const
 
const osg::Vec3getLocalIntersectPoint () const
 
const osg::Vec3getLocalIntersectNormal () const
 
const osg::Vec3 getWorldIntersectPoint () const
 
const osg::Vec3 getWorldIntersectNormal () const
 
float getRatio () const
 
const osg::LineSegmentgetOriginalLineSegment () const
 
const osg::LineSegmentgetLocalLineSegment () const
 
osg::NodePathgetNodePath ()
 
const osg::NodePathgetNodePath () const
 
osg::GeodegetGeode ()
 
const osg::GeodegetGeode () const
 
osg::DrawablegetDrawable ()
 
const osg::DrawablegetDrawable () const
 
const osg::RefMatrixgetMatrix () const
 
const osg::RefMatrixgetInverseMatrix () const
 
const VecIndexListgetVecIndexList () 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
 

Detailed Description

Deprecated

Member Typedef Documentation

◆ VecIndexList

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

Constructor & Destructor Documentation

◆ Hit() [1/2]

osgUtil::Hit::Hit ( )

◆ Hit() [2/2]

osgUtil::Hit::Hit ( const Hit hit)

◆ ~Hit()

osgUtil::Hit::~Hit ( )

Member Function Documentation

◆ getDrawable() [1/2]

osg::Drawable * osgUtil::Hit::getDrawable ( )
inline

◆ getDrawable() [2/2]

const osg::Drawable * osgUtil::Hit::getDrawable ( ) const
inline

◆ getGeode() [1/2]

osg::Geode * osgUtil::Hit::getGeode ( )
inline

◆ getGeode() [2/2]

const osg::Geode * osgUtil::Hit::getGeode ( ) const
inline

◆ getInverseMatrix()

const osg::RefMatrix * osgUtil::Hit::getInverseMatrix ( ) const
inline

◆ getLocalIntersectNormal()

const osg::Vec3 & osgUtil::Hit::getLocalIntersectNormal ( ) const
inline

◆ getLocalIntersectPoint()

const osg::Vec3 & osgUtil::Hit::getLocalIntersectPoint ( ) const
inline

◆ getLocalLineSegment()

const osg::LineSegment * osgUtil::Hit::getLocalLineSegment ( ) const
inline

◆ getMatrix()

const osg::RefMatrix * osgUtil::Hit::getMatrix ( ) const
inline

◆ getNodePath() [1/2]

osg::NodePath & osgUtil::Hit::getNodePath ( )
inline

◆ getNodePath() [2/2]

const osg::NodePath & osgUtil::Hit::getNodePath ( ) const
inline

◆ getOriginalLineSegment()

const osg::LineSegment * osgUtil::Hit::getOriginalLineSegment ( ) const
inline

◆ getPrimitiveIndex()

int osgUtil::Hit::getPrimitiveIndex ( ) const
inline

◆ getRatio()

float osgUtil::Hit::getRatio ( ) const
inline

◆ getVecIndexList()

const VecIndexList & osgUtil::Hit::getVecIndexList ( ) const
inline

◆ getWorldIntersectNormal()

const osg::Vec3 osgUtil::Hit::getWorldIntersectNormal ( ) const

◆ getWorldIntersectPoint()

const osg::Vec3 osgUtil::Hit::getWorldIntersectPoint ( ) const
inline

◆ operator<()

bool osgUtil::Hit::operator< ( const Hit hit) const
inline

◆ operator=()

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

Member Data Documentation

◆ _drawable

osg::ref_ptr<osg::Drawable> osgUtil::Hit::_drawable

◆ _geode

osg::ref_ptr<osg::Geode> osgUtil::Hit::_geode

◆ _intersectNormal

osg::Vec3 osgUtil::Hit::_intersectNormal

◆ _intersectPoint

osg::Vec3 osgUtil::Hit::_intersectPoint

◆ _inverse

osg::ref_ptr<osg::RefMatrix> osgUtil::Hit::_inverse

◆ _localLineSegment

osg::ref_ptr<osg::LineSegment> osgUtil::Hit::_localLineSegment

◆ _matrix

osg::ref_ptr<osg::RefMatrix> osgUtil::Hit::_matrix

◆ _nodePath

osg::NodePath osgUtil::Hit::_nodePath

◆ _originalLineSegment

osg::ref_ptr<osg::LineSegment> osgUtil::Hit::_originalLineSegment

◆ _primitiveIndex

int osgUtil::Hit::_primitiveIndex

◆ _ratio

float osgUtil::Hit::_ratio

◆ _vecIndexList

VecIndexList osgUtil::Hit::_vecIndexList

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