VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrv::DtOsgModelPreloader Class Reference

DtOsgModelPreloader is responsible for responding to model preload actions from an agent. More...

Inheritance diagram for makVrv::DtOsgModelPreloader:
Inheritance graph
[legend]

Public Member Functions

 DtOsgModelPreloader (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtOsgModelPreloader ()
 DTOR.
virtual bool load (const std::string &modelDefName)
 Load the model for the given model definition.
- Public Member Functions inherited from makVrv::DtModelPreloader
 DtModelPreloader (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtModelPreloader ()
 DTOR.

Protected Types

typedef osg::ref_ptr< osg::Node > NodeRefPtr
typedef boost::unordered_map
< std::string, NodeRefPtr
ModelDefinitionFilenameMap

Protected Member Functions

virtual osg::ref_ptr< osg::Node > loadNodeFile (DtModelDefinition &definition)
 Load a node from a file, node cached for preloading.

Protected Attributes

ModelDefinitionFilenameMap myModelDefinitionFilenameMap
- Protected Attributes inherited from makVrv::DtModelPreloader
DtDemyDe

Detailed Description

DtOsgModelPreloader is responsible for responding to model preload actions from an agent.

vrvOsg

Member Typedef Documentation

typedef osg::ref_ptr<osg::Node> makVrv::DtOsgModelPreloader::NodeRefPtr
protected
typedef boost::unordered_map<std::string, NodeRefPtr> makVrv::DtOsgModelPreloader::ModelDefinitionFilenameMap
protected

Constructor & Destructor Documentation

makVrv::DtOsgModelPreloader::DtOsgModelPreloader ( DtDe de,
DtUniqueID  id 
)

CTOR.

virtual makVrv::DtOsgModelPreloader::~DtOsgModelPreloader ( )
virtual

DTOR.

Member Function Documentation

virtual bool makVrv::DtOsgModelPreloader::load ( const std::string &  modelDefName)
virtual

Load the model for the given model definition.

Implements makVrv::DtModelPreloader.

virtual osg::ref_ptr<osg::Node> makVrv::DtOsgModelPreloader::loadNodeFile ( DtModelDefinition definition)
protectedvirtual

Load a node from a file, node cached for preloading.

Member Data Documentation

ModelDefinitionFilenameMap makVrv::DtOsgModelPreloader::myModelDefinitionFilenameMap
protected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)