VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
PagedNode2CollectTrianglesVisitor Class Reference

Visitor that collect the triangles once pagedNode2 data are loaded in the intersecting area.

Inheritance diagram for PagedNode2CollectTrianglesVisitor:
Inheritance graph
[legend]

Classes

struct  CollectTriangles
 

Public Member Functions

 PagedNode2CollectTrianglesVisitor (const Coordinate_System *cs, DtTerrainPagingGeometryPtr geometry, const DrawableList &existingDrawable, DrawableMap &newDrawable, DtNodeBoundingExtendedInfoMap &pagedInBoundingMap, const NodePagingRecordMap &pagedInNodes)
 
void apply (osg::Node &node)
 
void apply (osgEarth::PagedNode2 &pagedNode)
 
void apply (osg::Drawable &drawable)
 
void apply (osg::PagedLOD &node)
 
void apply (osg::LightSource &ls)
 
- 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 NodePagingRecordspagedInNodes () const
 
- Public Member Functions inherited from DtMaintainMatrixVisitor
 DtMaintainMatrixVisitor ()
 
 DtMaintainMatrixVisitor (const osg::Matrix &)
 
virtual void apply (osg::Transform &node)
 

Protected Types

typedef std::vector< DtNodeIdPagedNode2Stack
 

Protected Member Functions

void pushPagedNode2 (osgEarth::PagedNode2 &pagedNode2)
 
void popPagedNode2 ()
 
- 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)
 

Protected Attributes

PagedNode2Stack myPagedNode2Stack
 
const DrawableListmyExistingDrawable
 
DrawableMapmyNewDrawable
 
DtNodeBoundingExtendedInfoMapmyPagedInBoundingMap
 
const NodePagingRecordMapmyPagedInNodes
 
- Protected Attributes inherited from DtGeometryPageInVisitor
DtTerrainPagingGeometryPtr myGeometry
 
const Coordinate_SystemmyCoordinateSystem
 
- Protected Attributes inherited from DtPageInVisitor
NodePagingRecords myPagedInNodes
 
- Protected Attributes inherited from DtMaintainMatrixVisitor
osg::Matrix myMatrix
 

Member Typedef Documentation

Constructor & Destructor Documentation

PagedNode2CollectTrianglesVisitor::PagedNode2CollectTrianglesVisitor ( const Coordinate_System cs,
DtTerrainPagingGeometryPtr  geometry,
const DrawableList existingDrawable,
DrawableMap newDrawable,
DtNodeBoundingExtendedInfoMap pagedInBoundingMap,
const NodePagingRecordMap pagedInNodes 
)

Member Function Documentation

void PagedNode2CollectTrianglesVisitor::apply ( osg::Node &  node)
void PagedNode2CollectTrianglesVisitor::apply ( osgEarth::PagedNode2 &  pagedNode)
void PagedNode2CollectTrianglesVisitor::apply ( osg::Drawable &  drawable)
void PagedNode2CollectTrianglesVisitor::apply ( osg::PagedLOD &  node)
virtual

Overwrite PagedLOD so no code from the base classes are executed.

Reimplemented from DtPageInVisitor.

void PagedNode2CollectTrianglesVisitor::apply ( osg::LightSource &  ls)
void PagedNode2CollectTrianglesVisitor::pushPagedNode2 ( osgEarth::PagedNode2 &  pagedNode2)
inlineprotected
void PagedNode2CollectTrianglesVisitor::popPagedNode2 ( )
inlineprotected

Member Data Documentation

PagedNode2Stack PagedNode2CollectTrianglesVisitor::myPagedNode2Stack
protected
const DrawableList& PagedNode2CollectTrianglesVisitor::myExistingDrawable
protected
DrawableMap& PagedNode2CollectTrianglesVisitor::myNewDrawable
protected
DtNodeBoundingExtendedInfoMap& PagedNode2CollectTrianglesVisitor::myPagedInBoundingMap
protected
const NodePagingRecordMap& PagedNode2CollectTrianglesVisitor::myPagedInNodes
protected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)