VR-Forces Developer's Guide
 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
PagedNode2ActiveVisitor Class Reference

Visitor that check loaded (active page in/out bounding sphere) pagedNode2.

Inheritance diagram for PagedNode2ActiveVisitor:
Inheritance graph
[legend]

Public Member Functions

 PagedNode2ActiveVisitor (const NodePagingRecordMap &pagedInNode, const NodePagingRecordMap &emptyPagedInNode, NodePagingRecordMap &pagedOutNodes)
 
virtual void apply (osg::Node &node) override
 
void apply (osgEarth::PagedNode2 &pagedNode)
 
virtual void apply (osg::LightSource &ls) override
 
- Public Member Functions inherited from DtBoundingVolumeActivePageVisitor
 DtBoundingVolumeActivePageVisitor (DtTerrainIntersectIDType intersectId=0)
 
const DtNodeBoundingInfoListpagedOutBoundingVolumes () const
 
const DtNodeBoundingInfoMappagedInBoundingVolumes () const
 
bool noValidAreas () const
 
- Public Member Functions inherited from DtMaintainMatrixVisitor
 DtMaintainMatrixVisitor ()
 
 DtMaintainMatrixVisitor (const osg::Matrix &)
 
virtual void apply (osg::Transform &node) override
 

Protected Member Functions

bool addToPagedOutVolumesList (DtNodeBoundingInfoPtr pagedOutArea)
 
bool addToPagedOutVolumesList (DtNodeBoundingInfo *pagedOutArea)
 
- Protected Member Functions inherited from DtBoundingVolumeActivePageVisitor
void pushBound (const osg::BoundingSphere &, bool useMatrix=false)
 
void popBound ()
 
bool addToPagedOutVolumesList (DtNodeBoundingInfoPtr pagedOutArea)
 
bool addToPagedOutVolumesList (DtNodeBoundingInfo *pagedOutArea)
 
void addToPagedInVolumesList (osg::Node *, DtNodeBoundingInfoPtr pagedOutArea)
 
void addToPagedInVolumesList (osg::Node *, DtNodeBoundingInfo *pagedOutArea)
 
- Protected Member Functions inherited from DtMaintainMatrixVisitor
virtual osg::BoundingSphere worldRefNodeBounds (osg::Node &node)
 

Protected Attributes

const NodePagingRecordMapmyPagedInNodes
 
NodePagingRecordMapmyPagedNode2OutNodes
 
const NodePagingRecordMapmyEmptyPagedInNodes
 
std::set< osg::Node * > _traversedNodes
 
int _level
 
std::unordered_map
< std::string,
DtNodeBoundingInfoPtr
myPagedOutBoundingListIndex
 
- Protected Attributes inherited from DtBoundingVolumeActivePageVisitor
tbb::spin_rw_mutex myPagedInOutMutex
 
DtNodeBoundingInfoList myPagedOutBoundingList
 
DtNodeBoundingInfoMap myPagedInBoundingMap
 
bool myNoValidAreas
 
std::stack< osg::BoundingSphere > myBoundingNodeStack
 
DtTerrainIntersectIDType myIntersectId
 
- Protected Attributes inherited from DtMaintainMatrixVisitor
osg::Matrix myMatrix
 

Constructor & Destructor Documentation

PagedNode2ActiveVisitor::PagedNode2ActiveVisitor ( const NodePagingRecordMap pagedInNode,
const NodePagingRecordMap emptyPagedInNode,
NodePagingRecordMap pagedOutNodes 
)

Member Function Documentation

virtual void PagedNode2ActiveVisitor::apply ( osg::Node &  node)
overridevirtual
void PagedNode2ActiveVisitor::apply ( osgEarth::PagedNode2 &  pagedNode)
virtual void PagedNode2ActiveVisitor::apply ( osg::LightSource &  ls)
overridevirtual
bool PagedNode2ActiveVisitor::addToPagedOutVolumesList ( DtNodeBoundingInfoPtr  pagedOutArea)
protected
bool PagedNode2ActiveVisitor::addToPagedOutVolumesList ( DtNodeBoundingInfo pagedOutArea)
protected

Member Data Documentation

const NodePagingRecordMap& PagedNode2ActiveVisitor::myPagedInNodes
protected

Holds all the nodes which have been paged in.

NodePagingRecordMap& PagedNode2ActiveVisitor::myPagedNode2OutNodes
protected
const NodePagingRecordMap& PagedNode2ActiveVisitor::myEmptyPagedInNodes
protected
std::set< osg::Node* > PagedNode2ActiveVisitor::_traversedNodes
protected
int PagedNode2ActiveVisitor::_level
protected
std::unordered_map<std::string, DtNodeBoundingInfoPtr> PagedNode2ActiveVisitor::myPagedOutBoundingListIndex
protected

This is an indexed version of myPagedOutBoundingList (from parent class) so that it is quicker to look up if something is in that list.


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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)