![]() |
VR-Forces 4.0.4 Class Documentation
|
OSG Visitor class which pages the highest level of detail of paged LOD nodes in. More...

Public Types | |
| typedef std::list< std::pair < osg::Node *, int > > | DtNodeChildList |
Public Member Functions | |
| DtPageInVisitor () | |
| virtual void | apply (osg::Group &node) |
| virtual void | apply (osg::Geode &node) |
| virtual void | apply (osg::LOD &node) |
| virtual void | apply (osg::PagedLOD &node) |
| virtual void | apply (osg::CoordinateSystemNode &node) |
| virtual unsigned int | numNodesRequested () const |
| virtual const DtNodeChildList & | nodesRequested () const |
| virtual bool | allDataPagedIn () const |
| May be called after applying this visitor. | |
| virtual int | pagedLodCount () const |
Protected Member Functions | |
| virtual bool | requiresPageIn (osg::Node &node) |
Protected Attributes | |
| DtNodeChildList | myPagedNodesRequested |
| This holds pointers to all the paged LOD nodes that have requests for paging in initiated by this visitor. | |
| bool | myAllDataPagedIn |
| int | myPagedLodCount |
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().
| typedef std::list<std::pair<osg::Node*, int> > DtPageInVisitor::DtNodeChildList |
| virtual void DtPageInVisitor::apply | ( | osg::Group & | node | ) | [virtual] |
| virtual void DtPageInVisitor::apply | ( | osg::Geode & | node | ) | [virtual] |
| virtual void DtPageInVisitor::apply | ( | osg::LOD & | node | ) | [virtual] |
| virtual void DtPageInVisitor::apply | ( | osg::PagedLOD & | node | ) | [virtual] |
| virtual void DtPageInVisitor::apply | ( | osg::CoordinateSystemNode & | node | ) | [virtual] |
| virtual unsigned int DtPageInVisitor::numNodesRequested | ( | ) | const [virtual] |
| virtual const DtNodeChildList& DtPageInVisitor::nodesRequested | ( | ) | const [virtual] |
| virtual bool DtPageInVisitor::allDataPagedIn | ( | ) | const [virtual] |
May be called after applying this visitor.
| virtual int DtPageInVisitor::pagedLodCount | ( | ) | const [virtual] |
| virtual bool DtPageInVisitor::requiresPageIn | ( | osg::Node & | node | ) | [protected, virtual] |
Reimplemented in DtGeometryPageInVisitor.
This holds pointers to all the paged LOD nodes that have requests for paging in initiated by this visitor.
bool DtPageInVisitor::myAllDataPagedIn [protected] |
int DtPageInVisitor::myPagedLodCount [protected] |