VR-Forces 4.8 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 More...
 
virtual ~DtInstanceLpProcessor ()
 DTOR. More...
 
virtual void processRange (unsigned int instanceOffset, unsigned int instanceCount)
 Main instance processor callback loops over all the drawable instances and processes any lightpoints it finds. More...
 
- Public Member Functions inherited from makVrv::DtInstanceProcessor
 DtInstanceProcessor (const char *name)
 
virtual ~DtInstanceProcessor ()
 DTOR. More...
 

Protected Member Functions

virtual void updateLpRange (unsigned int instanceOffset, unsigned int instanceCount, osg::Camera *camera)
 Loops over all the instances and calls updateLightPoints for their drawables. More...
 
virtual void updateLightPoints (const ArrayRange &drawableRange, 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. More...
 
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. More...
 

Protected Attributes

DtInstanceManagermyInstanceManager
 Instance manager object for this processor. More...
 
DtDemyDe
 
double myLastShaderReload
 

Additional Inherited Members

- Public Attributes inherited from makVrv::DtInstanceProcessor
std::string myName
 

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  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  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,
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 Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)