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
txp::TXPNode Class Reference
Inheritance diagram for txp::TXPNode:
Inheritance graph
[legend]

Public Member Functions

 TXPNode ()
 
 TXPNode (const TXPNode &, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 
 META_Node (txp, TXPNode)
 
virtual void traverse (osg::NodeVisitor &nv) override
 
void setArchiveName (const std::string &archiveName)
 
void setOptions (const std::string &options)
 
const std::string & getOptions () const
 
const std::string & getArchiveName () const
 
std::vector< trpgManagedTile * > tilesToLoadFromLocation (const osg::Vec3d &dbLocation)
 
bool loadArchive (TXPArchive *)
 
TXPArchivegetArchive ()
 
TXPPageManagergetPageManager ()
 
void setArchive (TXPArchive *archive)
 
virtual osg::BoundingSphere computeBound () const override
 

Protected Member Functions

virtual ~TXPNode () override
 
void updateEye (osg::NodeVisitor &nv)
 
void updateSceneGraph ()
 
osg::Node * addPagedLODTile (int x, int y)
 

Protected Attributes

std::string _archiveName
 
std::string _options
 
OpenThreads::Mutex _mutex
 
osg::ref_ptr< TXPArchive_archive
 
osg::ref_ptr< TXPPageManager_pageManager
 
double _originX
 
double _originY
 
osg::BoundingBox _extents
 
std::vector< osg::Node * > _nodesToAdd
 
std::vector< osg::Node * > _nodesToRemove
 

Constructor & Destructor Documentation

txp::TXPNode::TXPNode ( )
txp::TXPNode::TXPNode ( const TXPNode ,
const osg::CopyOp &  copyop = osg::CopyOp::SHALLOW_COPY 
)

Copy constructor using CopyOp to manage deep vs shallow copy.

virtual txp::TXPNode::~TXPNode ( )
overrideprotectedvirtual

Member Function Documentation

txp::TXPNode::META_Node ( txp  ,
TXPNode   
)
virtual void txp::TXPNode::traverse ( osg::NodeVisitor &  nv)
overridevirtual
void txp::TXPNode::setArchiveName ( const std::string &  archiveName)
void txp::TXPNode::setOptions ( const std::string &  options)
const std::string& txp::TXPNode::getOptions ( ) const
const std::string& txp::TXPNode::getArchiveName ( ) const
std::vector<trpgManagedTile*> txp::TXPNode::tilesToLoadFromLocation ( const osg::Vec3d &  dbLocation)
bool txp::TXPNode::loadArchive ( TXPArchive )
TXPArchive* txp::TXPNode::getArchive ( )
inline
TXPPageManager* txp::TXPNode::getPageManager ( )
inline
void txp::TXPNode::setArchive ( TXPArchive archive)
inline
virtual osg::BoundingSphere txp::TXPNode::computeBound ( ) const
overridevirtual
void txp::TXPNode::updateEye ( osg::NodeVisitor &  nv)
protected
void txp::TXPNode::updateSceneGraph ( )
protected
osg::Node* txp::TXPNode::addPagedLODTile ( int  x,
int  y 
)
protected

Create a page lod for lod 0 with givin grid location (x,y)

Member Data Documentation

std::string txp::TXPNode::_archiveName
protected
std::string txp::TXPNode::_options
protected
OpenThreads::Mutex txp::TXPNode::_mutex
protected
osg::ref_ptr<TXPArchive> txp::TXPNode::_archive
protected
osg::ref_ptr<TXPPageManager> txp::TXPNode::_pageManager
protected
double txp::TXPNode::_originX
protected
double txp::TXPNode::_originY
protected
osg::BoundingBox txp::TXPNode::_extents
protected
std::vector<osg::Node*> txp::TXPNode::_nodesToAdd
protected
std::vector<osg::Node*> txp::TXPNode::_nodesToRemove
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)