VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtGeometryPageInVisitor Class Reference

Subclass of DtPageInVisitor which pages in only nodes that fall along a particular geometry. More...

Inheritance diagram for DtGeometryPageInVisitor:
Inheritance graph
[legend]

Public Member Functions

 DtGeometryPageInVisitor (const Coordinate_System *cs, const DtTerrainPagingGeometryPtr geometry)
 DtGeometryPageInVisitor (const Coordinate_System *cs, DtTerrainPagingGeometryPtr geometry, const osg::Matrix &)
- Public Member Functions inherited from DtPageInVisitor
 DtPageInVisitor ()
 DtPageInVisitor (const osg::Matrix &)
virtual void apply (osg::LOD &node)
virtual void apply (osg::PagedLOD &node)
const NodePagingRecordspagedInNodes () 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 &)
- Protected Member Functions inherited from DtPageInVisitor
virtual osg::Node * getNode (const std::string &filepath, const osgDB::Options *, bool &valid)
 Produce a node from a filepath.
virtual bool shouldExit () const
 Should the traversal quit.
- Protected Member Functions inherited from DtMaintainMatrixVisitor
virtual osg::BoundingSphere worldRefNodeBounds (osg::Node &node)

Protected Attributes

DtTerrainPagingGeometryPtr myGeometry
const Coordinate_SystemmyCoordinateSystem
- Protected Attributes inherited from DtPageInVisitor
NodePagingRecords myPagedInNodes
- Protected Attributes inherited from DtMaintainMatrixVisitor
osg::Matrix myMatrix

Additional Inherited Members

- Public Types inherited from DtPageInVisitor
typedef std::vector
< NodePagingRecord
NodePagingRecords

Detailed Description

Subclass of DtPageInVisitor which pages in only nodes that fall along a particular geometry.

Constructor & Destructor Documentation

DtGeometryPageInVisitor::DtGeometryPageInVisitor ( const Coordinate_System cs,
const DtTerrainPagingGeometryPtr  geometry 
)
DtGeometryPageInVisitor::DtGeometryPageInVisitor ( const Coordinate_System cs,
DtTerrainPagingGeometryPtr  geometry,
const osg::Matrix &   
)

Member Function Documentation

virtual bool DtGeometryPageInVisitor::requiresPageIn ( const osg::BoundingSphere &  )
protectedvirtual
Returns
True if this node should be paged in. This is overridden in subclasses, depending on how the paging is being implemented. Default implementation returns true, which pages in the entire database.

Reimplemented from DtPageInVisitor.

Member Data Documentation

DtTerrainPagingGeometryPtr DtGeometryPageInVisitor::myGeometry
protected
const Coordinate_System* DtGeometryPageInVisitor::myCoordinateSystem
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)