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

#include <IntersectVisitor.h>

Collaboration diagram for osgUtil::Hit:
Collaboration graph
[legend]

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

Definition at line 32 of file IntersectVisitor.h.

Member Typedef Documentation

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

Definition at line 43 of file IntersectVisitor.h.

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

Definition at line 66 of file IntersectVisitor.h.

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

Definition at line 67 of file IntersectVisitor.h.

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

Definition at line 64 of file IntersectVisitor.h.

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

Definition at line 65 of file IntersectVisitor.h.

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

Definition at line 69 of file IntersectVisitor.h.

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

Definition at line 54 of file IntersectVisitor.h.

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

Definition at line 53 of file IntersectVisitor.h.

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

Definition at line 61 of file IntersectVisitor.h.

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

Definition at line 68 of file IntersectVisitor.h.

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

Definition at line 62 of file IntersectVisitor.h.

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

Definition at line 63 of file IntersectVisitor.h.

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

Definition at line 60 of file IntersectVisitor.h.

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

Definition at line 71 of file IntersectVisitor.h.

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

Definition at line 59 of file IntersectVisitor.h.

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

Definition at line 70 of file IntersectVisitor.h.

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

Definition at line 56 of file IntersectVisitor.h.

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

Definition at line 45 of file IntersectVisitor.h.

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

Member Data Documentation

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

Definition at line 79 of file IntersectVisitor.h.

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

Definition at line 78 of file IntersectVisitor.h.

osg::Vec3 osgUtil::Hit::_intersectNormal

Definition at line 86 of file IntersectVisitor.h.

osg::Vec3 osgUtil::Hit::_intersectPoint

Definition at line 85 of file IntersectVisitor.h.

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

Definition at line 81 of file IntersectVisitor.h.

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

Definition at line 76 of file IntersectVisitor.h.

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

Definition at line 80 of file IntersectVisitor.h.

osg::NodePath osgUtil::Hit::_nodePath

Definition at line 77 of file IntersectVisitor.h.

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

Definition at line 75 of file IntersectVisitor.h.

int osgUtil::Hit::_primitiveIndex

Definition at line 84 of file IntersectVisitor.h.

float osgUtil::Hit::_ratio

Definition at line 74 of file IntersectVisitor.h.

VecIndexList osgUtil::Hit::_vecIndexList

Definition at line 83 of file IntersectVisitor.h.


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