|
OSG
3.4.0
|
#include <RayIntersector.h>

Public Types | |
| typedef std::vector< unsigned int > | IndexList |
| typedef std::vector< double > | RatioList |
Public Member Functions | |
| Intersection () | |
| bool | operator< (const Intersection &rhs) const |
| const osg::Vec3d & | getLocalIntersectPoint () const |
| osg::Vec3d | getWorldIntersectPoint () const |
| const osg::Vec3 & | getLocalIntersectNormal () const |
| osg::Vec3 | getWorldIntersectNormal () const |
| osg::Texture * | getTextureLookUp (osg::Vec3 &tc) const |
Public Attributes | |
| double | distance |
| osg::NodePath | nodePath |
| osg::ref_ptr< osg::Drawable > | drawable |
| osg::ref_ptr< osg::RefMatrix > | matrix |
| osg::Vec3d | localIntersectionPoint |
| osg::Vec3 | localIntersectionNormal |
| IndexList | indexList |
| RatioList | ratioList |
| unsigned int | primitiveIndex |
Definition at line 55 of file RayIntersector.h.
| typedef std::vector<unsigned int> osgUtil::RayIntersector::Intersection::IndexList |
Definition at line 61 of file RayIntersector.h.
| typedef std::vector<double> osgUtil::RayIntersector::Intersection::RatioList |
Definition at line 62 of file RayIntersector.h.
|
inline |
Definition at line 57 of file RayIntersector.h.
|
inline |
Definition at line 77 of file RayIntersector.h.
|
inline |
Definition at line 74 of file RayIntersector.h.
| osg::Texture* osgUtil::RayIntersector::Intersection::getTextureLookUp | ( | osg::Vec3 & | tc | ) | const |
Convenience function for mapping the intersection point to any textures assigned to the objects intersected. Returns the Texture pointer and texture coords of object hit when a texture is available on the object, returns NULL otherwise.
|
inline |
|
inline |
|
inline |
Definition at line 59 of file RayIntersector.h.
| double osgUtil::RayIntersector::Intersection::distance |
Definition at line 64 of file RayIntersector.h.
| osg::ref_ptr<osg::Drawable> osgUtil::RayIntersector::Intersection::drawable |
Definition at line 66 of file RayIntersector.h.
| IndexList osgUtil::RayIntersector::Intersection::indexList |
Definition at line 70 of file RayIntersector.h.
| osg::Vec3 osgUtil::RayIntersector::Intersection::localIntersectionNormal |
Definition at line 69 of file RayIntersector.h.
| osg::Vec3d osgUtil::RayIntersector::Intersection::localIntersectionPoint |
Definition at line 68 of file RayIntersector.h.
| osg::ref_ptr<osg::RefMatrix> osgUtil::RayIntersector::Intersection::matrix |
Definition at line 67 of file RayIntersector.h.
| osg::NodePath osgUtil::RayIntersector::Intersection::nodePath |
Definition at line 65 of file RayIntersector.h.
| unsigned int osgUtil::RayIntersector::Intersection::primitiveIndex |
Definition at line 72 of file RayIntersector.h.
| RatioList osgUtil::RayIntersector::Intersection::ratioList |
Definition at line 71 of file RayIntersector.h.
1.8.8