21 #include <boost/unordered_map.hpp>
23 #include <boost/thread.hpp>
24 #include <tbb/atomic.h>
29 #include <tbb/mutex.h>
36 class CompositeViewer;
42 class DtModelDefinition;
57 virtual bool load(
const std::string& modelDefName);
60 virtual void addToIcoList(osgUtil::StateToCompile* state);
63 virtual std::list<osgUtil::StateToCompile* >& toIcoList();
66 virtual void finishPreloading(osgViewer::CompositeViewer& viewer);
101 virtual tbb::task* execute();
std::list< osgUtil::StateToCompile * > myToIcoList
Definition: DtOsgModelPreloader.h:80
static int myNumFramesTillICO
Definition: DtOsgModelPreloader.h:85
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
tbb::mutex myStdOutMutex
Definition: DtOsgModelPreloader.h:79
static tbb::mutex theModelNewingMutex
Definition: DtOsgModelPreloader.h:107
A model definition Interaction any number of named parameters, and also can be used to store cached d...
Definition: DtModelDefinition.h:38
DtOsgModelPreloader is responsible for responding to model preload actions from an agent...
Definition: DtOsgModelPreloader.h:45
DtPreloadAsyncTask is responsible for loading a model in a background thread.
Definition: DtOsgModelPreloader.h:91
tbb::atomic< int > myNumberOfActiveTasks
Definition: DtOsgModelPreloader.h:77
Contains the makVrv::DtModelPreloader class.
static tbb::mutex theOptimizeMutex
Definition: DtOsgModelPreloader.h:108
DtModelDefinition & myDefinition
Definition: DtOsgModelPreloader.h:105
DtOsgModelPreloader & myPreloader
Definition: DtOsgModelPreloader.h:106
static DtOsgModelPreloader * thePreloader
Definition: DtOsgModelPreloader.h:83
Contains makVrv::DtUniqueID type.
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
static int myFramesTillICOCount
Definition: DtOsgModelPreloader.h:84
DtDe & myDe
Definition: DtOsgModelPreloader.h:104
tbb::mutex myListMutex
Definition: DtOsgModelPreloader.h:78
DtModelPreloader is responsible for responding to model preload actions from an agent.
Definition: DtModelPreloader.h:24