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

Instance processor to apply DOF hierarchies to instanced drawables. More...

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

Classes

struct  DofUpdateStorage
 Temporary data required during DOF processing. More...

Public Member Functions

 DtInstanceDofProcessor (DtInstanceManager &instanceMgr)
 CTOR.
virtual ~DtInstanceDofProcessor ()
 DTOR.
virtual void processRange (unsigned int instanceStride, unsigned int instanceOffset, unsigned int instanceCount)
 Process the specified range of instances, with drawable data separated by instanceStride.
- Public Member Functions inherited from makVrv::DtInstanceProcessor
virtual ~DtInstanceProcessor ()
 DTOR.

Protected Member Functions

void updateDofRange (unsigned int instanceStride, unsigned int instanceOffset, unsigned int instanceCount)
 Apply DOF hierarchy to the specified range of instances, with drawable data separated by instanceStride.
bool isRangeVisible (unsigned int offset, unsigned int count)
 Check whether any drawable in the specified range is visible.
void updateDofs (DofUpdateStorage &localStorage, InstanceMatrix &baseSpatial, unsigned int templateIx, const ArrayRange &dofRange, unsigned int drawableOffset)
 Apply the DOF hierarchy at the specified offset and count to the drawables starting at drawableOffset, offset by baseSpatial.

Protected Attributes

DtInstanceManagermyInstanceManager

Detailed Description

Instance processor to apply DOF hierarchies to instanced drawables.

Constructor & Destructor Documentation

makVrv::DtInstanceDofProcessor::DtInstanceDofProcessor ( DtInstanceManager instanceMgr)

CTOR.

virtual makVrv::DtInstanceDofProcessor::~DtInstanceDofProcessor ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtInstanceDofProcessor::processRange ( unsigned int  instanceStride,
unsigned int  instanceOffset,
unsigned int  instanceCount 
)
virtual

Process the specified range of instances, with drawable data separated by instanceStride.

Implements makVrv::DtInstanceProcessor.

void makVrv::DtInstanceDofProcessor::updateDofRange ( unsigned int  instanceStride,
unsigned int  instanceOffset,
unsigned int  instanceCount 
)
protected

Apply DOF hierarchy to the specified range of instances, with drawable data separated by instanceStride.

bool makVrv::DtInstanceDofProcessor::isRangeVisible ( unsigned int  offset,
unsigned int  count 
)
protected

Check whether any drawable in the specified range is visible.

void makVrv::DtInstanceDofProcessor::updateDofs ( DofUpdateStorage localStorage,
InstanceMatrix baseSpatial,
unsigned int  templateIx,
const ArrayRange dofRange,
unsigned int  drawableOffset 
)
protected

Apply the DOF hierarchy at the specified offset and count to the drawables starting at drawableOffset, offset by baseSpatial.

Uses localStorage for temporary data

Member Data Documentation

DtInstanceManager& makVrv::DtInstanceDofProcessor::myInstanceManager
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)