VR-Forces 5.0.1 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)
 
void apply (osg::Node &node)
 
void apply (osgEarth::PagedNode2 &pagedNode)
 
void apply (osg::LightSource &ls)
 
- 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)
 

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
 
- 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

void PagedNode2ActiveVisitor::apply ( osg::Node &  node)
void PagedNode2ActiveVisitor::apply ( osgEarth::PagedNode2 &  pagedNode)
void PagedNode2ActiveVisitor::apply ( osg::LightSource &  ls)
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

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)