![]() |
VR-Forces 5.0.3 Developer's Guide
|
OSG Visitor class which pages the highest level of detail of paged LOD nodes in. This is a base class, intended to be overridden. This base class will cause paging in of every paged LOD node. Subclasses may be more selective by overriding requiresPageIn().

Public Member Functions | |
| DtPageInVisitor () | |
| DtPageInVisitor (const osg::Matrix &) | |
| virtual void | apply (osg::LOD &node) |
| virtual void | apply (osg::PagedLOD &node) |
| const NodePagingRecords & | pagedInNodes () const |
Public Member Functions inherited from DtMaintainMatrixVisitor | |
| DtMaintainMatrixVisitor () | |
| DtMaintainMatrixVisitor (const osg::Matrix &) | |
| virtual void | apply (osg::Transform &node) |
Protected Member Functions | |
| virtual bool | requiresPageIn (const osg::BoundingSphere &) |
| virtual osg::Node * | getNode (const std::string &filepath, const osgDB::Options *, bool &valid) |
| virtual bool | shouldExit () const |
Protected Member Functions inherited from DtMaintainMatrixVisitor | |
| virtual osg::BoundingSphere | worldRefNodeBounds (osg::Node &node) |
Protected Attributes | |
| NodePagingRecords | myPagedInNodes |
Protected Attributes inherited from DtMaintainMatrixVisitor | |
| osg::Matrix | myMatrix |
| DtPageInVisitor::DtPageInVisitor | ( | ) |
|
explicit |
|
virtual |
|
virtual |
Reimplemented in PagedNode2CollectTrianglesVisitor, and PagedNode2LoadDataVisitor.
|
inline |
|
protectedvirtual |
Reimplemented in DtGeometryPageInVisitor.
|
protectedvirtual |
Produce a node from a filepath. Default calls osgDB::readNodeFile. If a node cannot be created then a dummy node (an empty group) will be returned and the valid parameter will be set to false (true if otherwise)
|
protectedvirtual |
Should the traversal quit. Used to bail out when exiting.
|
protected |