![]() |
VR-Forces 5.0.2 Developer's Guide
|
Visitor that load all the pagedNode2 data that intersecting with an area.

Public Member Functions | |
| PagedNode2LoadDataVisitor (const Coordinate_System *cs, DtTerrainPagingGeometryPtr geometry) | |
| bool | isFullyLoaded () const |
| void | apply (osg::Node &node) |
| void | apply (osgEarth::PagedNode2 &pagedNode) |
| void | apply (osg::PagedLOD &node) |
| void | apply (osg::LightSource &ls) |
| void | manualUpdate () |
| void | reset () |
| size_t | count () |
| void | setNodePathHint (const std::stack< osg::ref_ptr< osg::Node > > &hint) |
Public Member Functions inherited from DtGeometryPageInVisitor | |
| DtGeometryPageInVisitor (const Coordinate_System *cs, const DtTerrainPagingGeometryPtr geometry) | |
| DtGeometryPageInVisitor (const Coordinate_System *cs, DtTerrainPagingGeometryPtr geometry, const osg::Matrix &) | |
| DtTerrainPagingGeometryPtr | getGeometry () |
Public Member Functions inherited from DtPageInVisitor | |
| DtPageInVisitor () | |
| DtPageInVisitor (const osg::Matrix &) | |
| virtual void | apply (osg::LOD &node) |
| const NodePagingRecords & | pagedInNodes () const |
Public Member Functions inherited from DtMaintainMatrixVisitor | |
| DtMaintainMatrixVisitor () | |
| DtMaintainMatrixVisitor (const osg::Matrix &) | |
| virtual void | apply (osg::Transform &node) |
Protected Attributes | |
| bool | myFullyLoaded |
| std::set< osg::ref_ptr < osgEarth::PagingManager > > | myPagingManagers |
| std::set< std::string > | myLoadingList |
| std::stack< osg::ref_ptr < osg::Node > > | myNodePathHint |
| size_t | myCount |
Protected Attributes inherited from DtGeometryPageInVisitor | |
| DtTerrainPagingGeometryPtr | myGeometry |
| const Coordinate_System * | myCoordinateSystem |
Protected Attributes inherited from DtPageInVisitor | |
| NodePagingRecords | myPagedInNodes |
Protected Attributes inherited from DtMaintainMatrixVisitor | |
| osg::Matrix | myMatrix |
Additional Inherited Members | |
Protected Member Functions inherited from DtGeometryPageInVisitor | |
| virtual bool | requiresPageIn (const osg::BoundingSphere &) |
Protected Member Functions inherited from DtPageInVisitor | |
| 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) |
| PagedNode2LoadDataVisitor::PagedNode2LoadDataVisitor | ( | const Coordinate_System * | cs, |
| DtTerrainPagingGeometryPtr | geometry | ||
| ) |
| bool PagedNode2LoadDataVisitor::isFullyLoaded | ( | ) | const |
| void PagedNode2LoadDataVisitor::apply | ( | osg::Node & | node | ) |
| void PagedNode2LoadDataVisitor::apply | ( | osgEarth::PagedNode2 & | pagedNode | ) |
|
virtual |
Overwrite PagedLOD so no code from the base classes are executed.
Reimplemented from DtPageInVisitor.
| void PagedNode2LoadDataVisitor::apply | ( | osg::LightSource & | ls | ) |
| void PagedNode2LoadDataVisitor::manualUpdate | ( | ) |
| void PagedNode2LoadDataVisitor::reset | ( | ) |
|
inline |
|
inline |
|
protected |
Fully loaded is initially set to true then when traversing the scene graph it will check if all intersecting nodes are loaded, if one is not loaded it will be set to false.
|
protected |
|
protected |
|
protected |
|
protected |