|
openscenegraph
|
Classes | |
| struct | ReadCallback |
Public Types | |
| enum | LODSelectionMode { USE_HIGHEST_LEVEL_OF_DETAIL, USE_EYE_POINT_FOR_LOD_LEVEL_SELECTION } |
Public Types inherited from osg::NodeVisitor | |
| enum | TraversalMode { TRAVERSE_NONE, TRAVERSE_PARENTS, TRAVERSE_ALL_CHILDREN, TRAVERSE_ACTIVE_CHILDREN } |
| enum | VisitorType { NODE_VISITOR = 0, UPDATE_VISITOR, EVENT_VISITOR, COLLECT_OCCLUDER_VISITOR, CULL_VISITOR } |
Protected Types | |
| typedef std::list < osg::ref_ptr< Intersector > > | IntersectorStack |
| typedef std::list < osg::ref_ptr< osg::RefMatrix > > | MatrixStack |
Protected Member Functions | |
| bool | enter (const osg::Node &node) |
| void | leave () |
| void | intersect (osg::Drawable *drawable) |
| void | push_clone () |
| void | pop_clone () |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Protected Attributes | |
| IntersectorStack | _intersectorStack |
| bool | _useKdTreesWhenAvailable |
| bool | _dummyTraversal |
| osg::ref_ptr< ReadCallback > | _readCallback |
| MatrixStack | _windowStack |
| MatrixStack | _projectionStack |
| MatrixStack | _viewStack |
| MatrixStack | _modelStack |
| osg::Vec3 | _referenceEyePoint |
| Intersector::CoordinateFrame | _referenceEyePointCoordinateFrame |
| LODSelectionMode | _lodSelectionMode |
| bool | _eyePointDirty |
| osg::Vec3 | _eyePoint |
Protected Attributes inherited from osg::NodeVisitor | |
| VisitorType | _visitorType |
| unsigned int | _traversalNumber |
| ref_ptr< FrameStamp > | _frameStamp |
| TraversalMode | _traversalMode |
| Node::NodeMask | _traversalMask |
| Node::NodeMask | _nodeMaskOverride |
| NodePath | _nodePath |
| ref_ptr< Referenced > | _userData |
| ref_ptr< DatabaseRequestHandler > | _databaseRequestHandler |
| ref_ptr< ImageRequestHandler > | _imageRequestHandler |
Protected Attributes inherited from osg::Referenced | |
| OpenThreads::AtomicPtr | _observerSet |
| OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
| static bool | getThreadSafeReferenceCounting () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
InteresectionVisitor is used to testing for intersections with the scene, traversing the scene using generic osgUtil::Intersector's to test against the scene. To implement different types of intersection techniques, one implements custom versions of the osgUtil::Intersector, and then pass the constructed intersector to the IntersectionVisitor.
|
protected |
|
protected |
| osgUtil::IntersectionVisitor::IntersectionVisitor | ( | Intersector * | intersector = 0, |
| ReadCallback * | readCallback = 0 |
||
| ) |
|
virtual |
Reimplemented from osg::NodeVisitor.
|
virtual |
Reimplemented from osg::NodeVisitor.
|
virtual |
Reimplemented from osg::NodeVisitor.
|
virtual |
Reimplemented from osg::NodeVisitor.
|
virtual |
Reimplemented from osg::NodeVisitor.
|
virtual |
Reimplemented from osg::NodeVisitor.
|
virtual |
Reimplemented from osg::NodeVisitor.
|
virtual |
Reimplemented from osg::NodeVisitor.
|
virtual |
Reimplemented from osg::NodeVisitor.
|
inlineprotected |
|
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.
|
inline |
|
virtual |
Get the eye point in the local coordinate frame a given traversal point.
Reimplemented from osg::NodeVisitor.
|
inline |
Get the intersector that will be used to intersect with the scene, and to store any hits that occur.
|
inline |
Get the const intersector that will be used to intersect with the scene, and to store any hits that occur.
|
inline |
Get the LOD selection scheme.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get the read callback.
|
inline |
Get the const read callback.
|
inline |
Get the reference eye point.
|
inline |
Get the coordinate frame of the reference eye point.
|
inline |
Set whether the intersectors should use KdTrees.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
| osgUtil::IntersectionVisitor::META_NodeVisitor | ( | osgUtil | , |
| IntersectionVisitor | |||
| ) |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References osg::Viewport::computeWindowMatrix().
|
inline |
| void osgUtil::IntersectionVisitor::setIntersector | ( | Intersector * | intersector | ) |
Set the intersector that will be used to intersect with the scene, and to store any hits that occur.
|
inline |
Set the LOD selection scheme.
|
inline |
Set the read callback.
|
inline |
Set the reference eye point that is used for nodes that require an eye point to position themselves, such as billboards.
|
inline |
Set the coordinate frame of the reference eye point.
|
inline |
Set whether the intersectors should use KdTrees when they are found on the scene graph.
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.6