22 #include <matrix/vlVector.h>
24 #include <unordered_map>
28 class DtIntersectorCache;
29 class DtCachedIntersector;
60 virtual bool modelSetRegistered(
DtModelSetId modelSet)
const;
65 virtual void setShareIntersectionResults(
bool);
66 virtual bool shareIntersectionResults()
const;
71 virtual void setCacheIsPermanent(
bool);
74 virtual bool cacheIsPermanent()
const;
77 virtual void setCacheLimit(
int);
80 virtual int cacheLimit()
const;
83 virtual void setCacheClearTime(
double);
86 virtual double cacheClearTime()
const;
90 virtual void onPostTick();
double myLastClearTime
Definition: DtCachedIntersectorsContainer.h:100
friend DtCachedIntersectorsContainerCreator
Definition: DtCachedIntersectorsContainer.h:46
int myCacheLimit
Definition: DtCachedIntersectorsContainer.h:101
DtVirtualBaseClassCreator< DtCachedIntersectorsContainer > DtCachedIntersectorsContainerCreator
creator
Definition: DtCachedIntersectorsContainer.h:32
DtDe & myDe
Definition: DtCachedIntersectorsContainer.h:95
the Intersector Cache class. Use to store intersection and intersection results. Can only be used to ...
Definition: DtIntersectorCache.h:28
DtIntersectorCache * myCache
Definition: DtCachedIntersectorsContainer.h:102
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
Contains makVrv:DtIntersector class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
A Cached Intersector will first look at the local cache, and, if the local cache does not have the in...
Definition: DtCachedIntersector.h:31
bool myCacheIsPermanent
Definition: DtCachedIntersectorsContainer.h:98
The DtCachedIntersectorsContainer class contains instances of cached intersectors of different model ...
Definition: DtCachedIntersectorsContainer.h:43
std::unordered_map< DtModelSetId, DtCachedIntersector * > myIntersectors
Definition: DtCachedIntersectorsContainer.h:96
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:76
DtModelSetId
Definition: DtModelSetEnums.h:19
const char * creatorTypeName< DtCachedIntersectorsContainer >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtCachedIntersectorsContainer.h:39
double myClearTime
Definition: DtCachedIntersectorsContainer.h:99
Contains DLL export macros.