VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Types | Protected Attributes
txp::TileMapper Class Reference
Inheritance diagram for txp::TileMapper:
Inheritance graph
[legend]

Public Types

typedef osg::Matrix::value_type value_type
 

Public Member Functions

 TileMapper ()
 
virtual void setCullVisitorForDistance (osg::NodeVisitor *nv)
 
virtual float getDistanceToViewPoint (const osg::Vec3 &pos, bool withLODScale) const override
 
virtual void apply (osg::Node &node) override
 
virtual void apply (osg::Group &node) override
 
virtual void apply (osg::Geode &node) override
 
virtual void apply (osg::PagedLOD &node) override
 
void insertTile (const TileIdentifier &tid)
 
bool isTileNeighbourALowerLODLevel (const TileIdentifier &tid, int dx, int dy) const
 

Protected Types

typedef std::map
< TileIdentifier, int
TileMap
 

Protected Attributes

TileMap _tileMap
 
bool _containsGeode
 
osg::ref_ptr< osg::NodeVisitor > _nodeVisitor
 

Member Typedef Documentation

typedef osg::Matrix::value_type txp::TileMapper::value_type
typedef std::map< TileIdentifier, int> txp::TileMapper::TileMap
protected

Constructor & Destructor Documentation

txp::TileMapper::TileMapper ( )
inline

Member Function Documentation

virtual void txp::TileMapper::setCullVisitorForDistance ( osg::NodeVisitor *  nv)
inlinevirtual

References _nodeVisitor.

virtual float txp::TileMapper::getDistanceToViewPoint ( const osg::Vec3 &  pos,
bool  withLODScale 
) const
overridevirtual
virtual void txp::TileMapper::apply ( osg::Node &  node)
overridevirtual
virtual void txp::TileMapper::apply ( osg::Group &  node)
overridevirtual
virtual void txp::TileMapper::apply ( osg::Geode &  node)
overridevirtual
virtual void txp::TileMapper::apply ( osg::PagedLOD &  node)
overridevirtual
void txp::TileMapper::insertTile ( const TileIdentifier tid)
bool txp::TileMapper::isTileNeighbourALowerLODLevel ( const TileIdentifier tid,
int  dx,
int  dy 
) const

Member Data Documentation

TileMap txp::TileMapper::_tileMap
protected
bool txp::TileMapper::_containsGeode
protected
osg::ref_ptr<osg::NodeVisitor> txp::TileMapper::_nodeVisitor
protected

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)