18 #include <osg/NodeVisitor>
28 class MatrixTransform;
38 class ThreeDTilesetNode;
39 class ThreeDTilesetContentNode;
48 using osg::NodeVisitor::apply;
53 virtual void apply(osg::Transform& node);
60 virtual osg::BoundingSphere worldRefNodeBounds(osg::Node& node);
77 virtual void apply(osg::LOD& node);
78 virtual void apply(osg::PagedLOD& node);
89 osg::Node* n,
const osg::Matrix& matrix,
const std::string& file,
bool val)
90 : node(n), matrix(matrix),
filename(file), valid(val)
103 virtual bool requiresPageIn(
const osg::BoundingSphere&);
109 virtual osg::Node* getNode(
const std::string& filepath,
const osgDB::Options*,
bool& valid);
113 virtual bool shouldExit()
const;
140 virtual void apply(osg::Node& node);
141 virtual void apply(osg::Group& node);
142 virtual void apply(osg::Geode& node);
143 virtual void apply(osg::LOD& node);
144 virtual void apply(osg::PagedLOD& node);
148 virtual std::string indent();
149 virtual std::string printBoundingInfo(osg::Node& node);
162 using osg::NodeVisitor::apply;
168 virtual void apply(osg::PagedLOD& node);
171 virtual const bool& encounteredPagedLod()
const;
185 using osg::NodeVisitor::apply;
191 virtual void apply(osg::Group& node);
194 virtual const bool& encounteredThreeDTile()
const;
bool valid
Definition: pageInVisitor.h:86
osg::Matrix myMatrix
Definition: pageInVisitor.h:63
DtBoost::shared_ptr< DtTerrainPagingGeometry > DtTerrainPagingGeometryPtr
Definition: terrainPagingGeometry.h:41
Definition: pageInVisitor.h:81
int myChildNumber
Definition: pageInVisitor.h:152
std::vector< NodePagingRecord > NodePagingRecords
Definition: pageInVisitor.h:95
NodePagingRecords myPagedInNodes
Definition: pageInVisitor.h:115
osg::Matrix matrix
Definition: pageInVisitor.h:84
std::string filename
Definition: pageInVisitor.h:85
Visitor which maintains myMatrix as the current offset matrix though all transform nodes...
Definition: pageInVisitor.h:45
bool myEncounteredThreeDTile
Whether or not the visitor has yet encountered a paged lod node.
Definition: pageInVisitor.h:199
bool myEncounteredPagedLod
Whether or not the visitor has yet encountered a paged lod node.
Definition: pageInVisitor.h:176
Visitor that tracks whether any part of the terrain is paging.
Definition: pageInVisitor.h:182
int myIndentLevel
Definition: pageInVisitor.h:151
Subclass of DtPageInVisitor which pages in only nodes that fall along a particular geometry...
Definition: pageInVisitor.h:120
Definition: coordSystem.h:54
Definition: pageInVisitor.h:134
const NodePagingRecords & pagedInNodes() const
Definition: pageInVisitor.h:97
NodePagingRecord(osg::Node *n, const osg::Matrix &matrix, const std::string &file, bool val)
Definition: pageInVisitor.h:88
OSG Visitor class which pages the highest level of detail of paged LOD nodes in.
Definition: pageInVisitor.h:70
A DtChord is a finite line segment in 3-space, represented by two points.
osg::ref_ptr< osg::Node > node
Definition: pageInVisitor.h:83
#define DT_DLL_vantageTerrainImplementation
This file is used to determine how to build.
Definition: vantageTerrainImplementationDefines.h:28
virtual void apply(osg::Transform &node)
const Coordinate_System * myCoordinateSystem
Definition: pageInVisitor.h:130
Visitor that tracks whether any part of the terrain is paging.
Definition: pageInVisitor.h:159
DtTerrainPagingGeometryPtr myGeometry
Definition: pageInVisitor.h:129
virtual bool requiresPageIn(const osg::BoundingSphere &)