|
OpenSceneGraph
|

Public Types | |
| typedef std::vector< unsigned int > | IndexList |
| typedef std::vector< double > | RatioList |
Public Member Functions | |
| 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 |
| Convenience function for mapping the intersection point to any textures assigned to the objects intersected. More... | |
Public Attributes | |
| double | ratio |
| 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 |
| osg::Texture* osgUtil::LineSegmentIntersector::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.
1.8.13