16 #include <tbb/cache_aligned_allocator.h>
20 class DtInstanceManager;
34 virtual void processRange(
unsigned int instanceOffset,
unsigned int instanceCount);
45 tbb::cache_aligned_allocator<InstanceMatrix> >
matStack;
46 std::vector<
unsigned int,
51 void updateDofRange(
unsigned int instanceOffset,
unsigned int instanceCount);
54 bool isRangeVisible(
unsigned int offset,
unsigned int count);
60 unsigned int templateIx,
const ArrayRange& dofRange,
unsigned int drawableOffset,
unsigned int matrixOffse);
Contains makVrv::DtInstanceProcessor declaration.
Contains makVrv::DtInstanceState declaration.
Temporary data required during DOF processing.
Definition: DtInstanceDofProcessor.h:39
osg::Quat quat
Definition: DtInstanceDofProcessor.h:41
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
Specifies a range of drawables in the drawable array.
Definition: DtInstanceState.h:20
Manages data for instanced rendering system and kicks off DtInstanceProcessors to update instance sta...
Definition: DtInstanceManager.h:75
osg::Matrixf InstanceMatrix
Type of osg matrix to use for transforms relative to instance base.
Definition: DtInstanceState.h:46
Instance processor to apply DOF hierarchies to instanced drawables.
Definition: DtInstanceDofProcessor.h:24
InstanceMatrix mat
Definition: DtInstanceDofProcessor.h:43
osg::Quat quatTemp
Definition: DtInstanceDofProcessor.h:42
std::vector< unsigned int, tbb::cache_aligned_allocator< unsigned int > > childCountStack
Definition: DtInstanceDofProcessor.h:47
Contains DLL export macros.
voidpf uLong offset
Definition: ioapi.h:42
DtInstanceManager & myInstanceManager
Definition: DtInstanceDofProcessor.h:63
std::vector< InstanceMatrix, tbb::cache_aligned_allocator< InstanceMatrix > > matStack
Definition: DtInstanceDofProcessor.h:45
Interface for a class that implements a per-frame instance processing step.
Definition: DtInstanceProcessor.h:21