osgUtil::IntersectVisitor Class Reference
List of all members.
Detailed Description
Deprecated - use IntersectionVisitor instead.
Member Typedef Documentation
Member Enumeration Documentation
- Enumerator:
USE_HIGHEST_LEVEL_OF_DETAIL |
|
USE_SEGMENT_START_POINT_AS_EYE_POINT_FOR_LOD_LEVEL_SELECTION |
|
Constructor & Destructor Documentation
osgUtil::IntersectVisitor::IntersectVisitor |
( |
|
) |
|
virtual osgUtil::IntersectVisitor::~IntersectVisitor |
( |
|
) |
[virtual] |
Member Function Documentation
Add a line segment to use for intersection testing during scene traversal. Note, a maximum of 32 line segments can be added to a IntersectVistor, adding more than this will result in warning being emitted to the console and the excess segments being ignored.
virtual void osgUtil::IntersectVisitor::apply |
( |
osg::LOD & |
node |
) |
[virtual] |
virtual void osgUtil::IntersectVisitor::apply |
( |
osg::Switch & |
node |
) |
[virtual] |
virtual void osgUtil::IntersectVisitor::apply |
( |
osg::Transform & |
node |
) |
[virtual] |
virtual void osgUtil::IntersectVisitor::apply |
( |
osg::Group & |
node |
) |
[virtual] |
virtual void osgUtil::IntersectVisitor::apply |
( |
osg::Billboard & |
node |
) |
[virtual] |
virtual void osgUtil::IntersectVisitor::apply |
( |
osg::Geode & |
node |
) |
[virtual] |
virtual void osgUtil::IntersectVisitor::apply |
( |
osg::Node & |
|
) |
[virtual] |
bool osgUtil::IntersectVisitor::enterNode |
( |
osg::Node & |
node |
) |
[protected] |
virtual float osgUtil::IntersectVisitor::getDistanceToEyePoint |
( |
const osg::Vec3 & |
pos, |
|
|
bool |
withLODScale | |
|
) |
| | const [virtual] |
Get the distance from a point to the eye point, distance value in local coordinate system. This is calculated using the pseudo-EyePoint (above) when doing LOD calculcations.
Reimplemented from osg::NodeVisitor.
virtual osg::Vec3 osgUtil::IntersectVisitor::getEyePoint |
( |
|
) |
const [virtual] |
Get the eye point in local coordinates. Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement.
Reimplemented from osg::NodeVisitor.
LODSelectionMode osgUtil::IntersectVisitor::getLODSelectionMode |
( |
|
) |
const [inline] |
int osgUtil::IntersectVisitor::getNumHits |
( |
const osg::LineSegment * |
seg |
) |
[inline] |
bool osgUtil::IntersectVisitor::hits |
( |
|
) |
|
bool osgUtil::IntersectVisitor::intersect |
( |
osg::Drawable & |
gset |
) |
[protected] |
void osgUtil::IntersectVisitor::leaveNode |
( |
|
) |
[protected] |
osgUtil::IntersectVisitor::META_NodeVisitor |
( |
"osgUtil" |
, |
|
|
"IntersectVisitor" |
| |
|
) |
| | |
void osgUtil::IntersectVisitor::popMatrix |
( |
|
) |
[protected] |
void osgUtil::IntersectVisitor::setEyePoint |
( |
const osg::Vec3 & |
eye |
) |
[inline] |
Set the eye point in local coordinates. This is a pseudo-EyePoint for billboarding and LOD purposes. It is copied from the Start point of the most-recently-added segment of the intersection ray set (IntersectState::_segList).
void osgUtil::IntersectVisitor::setLODSelectionMode |
( |
LODSelectionMode |
mode |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: