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

Instance post cull processor for checking lightpoint node sectors and performing small feature culling on the light points. More...

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

Public Member Functions

 DtInstanceLpProcessor (DtInstanceManager &instanceManager, DtDe &de)
 constructor: sets the myInstanceManger object
virtual ~DtInstanceLpProcessor ()
 DTOR.
virtual void processRange (unsigned int instanceStride, unsigned int instanceOffset, unsigned int instanceCount)
 Main instance processor callback loops over all the drawable instances and processes any lightpoints it finds.
- Public Member Functions inherited from makVrv::DtInstanceProcessor
virtual ~DtInstanceProcessor ()
 DTOR.

Protected Member Functions

virtual void updateLpRange (unsigned int instanceStride, unsigned int instanceOffset, unsigned int instanceCount, osg::Camera *camera)
 Loops over all the instances and calls updateLightPoints for their drawables.
virtual void updateLightPoints (const ArrayRange &drawableRange, unsigned int drawableOffset, int instanceIx, osg::Camera *camera)
 Loops over all the drawables on an instance and checks for light points if it is a light point it performs small feature culling and sector processing.
virtual void slot_reloadShader (void)
 If the reload shader signal is signaled than next time a light point is updated tell it to reload it's shaders.

Protected Attributes

DtInstanceManagermyInstanceManager
 Instance manager object for this processor.
DtDemyDe
double myLastShaderReload

Detailed Description

Instance post cull processor for checking lightpoint node sectors and performing small feature culling on the light points.

Constructor & Destructor Documentation

makVrv::DtInstanceLpProcessor::DtInstanceLpProcessor ( DtInstanceManager instanceManager,
DtDe de 
)

constructor: sets the myInstanceManger object

virtual makVrv::DtInstanceLpProcessor::~DtInstanceLpProcessor ( )
virtual

DTOR.

Member Function Documentation

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

Main instance processor callback loops over all the drawable instances and processes any lightpoints it finds.

Implements makVrv::DtInstanceProcessor.

virtual void makVrv::DtInstanceLpProcessor::updateLpRange ( unsigned int  instanceStride,
unsigned int  instanceOffset,
unsigned int  instanceCount,
osg::Camera *  camera 
)
protectedvirtual

Loops over all the instances and calls updateLightPoints for their drawables.

virtual void makVrv::DtInstanceLpProcessor::updateLightPoints ( const ArrayRange drawableRange,
unsigned int  drawableOffset,
int  instanceIx,
osg::Camera *  camera 
)
protectedvirtual

Loops over all the drawables on an instance and checks for light points if it is a light point it performs small feature culling and sector processing.

virtual void makVrv::DtInstanceLpProcessor::slot_reloadShader ( void  )
protectedvirtual

If the reload shader signal is signaled than next time a light point is updated tell it to reload it's shaders.

Member Data Documentation

DtInstanceManager& makVrv::DtInstanceLpProcessor::myInstanceManager
protected

Instance manager object for this processor.

DtDe& makVrv::DtInstanceLpProcessor::myDe
protected
double makVrv::DtInstanceLpProcessor::myLastShaderReload
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)