VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Member Functions | Protected Types | Protected Attributes | Private Member Functions
makVrv::DtLightPointAggregator Class Reference

This class allows us to incrementally aggregate multiple separate light points sharing common data into a single DtLightPointNode.

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

Classes

struct  CmpLightPointTuple
 
struct  DtLightPointDivisionTuple
 

Public Member Functions

 DtLightPointAggregator ()
 
virtual ~DtLightPointAggregator ()
 
virtual DtLightPointPerNodeData aggregate (int nodeGroupId, bool daylightControlled, const DtIndirectFadeParameters &fadeParameters, const DtLightPointNodeAndXform &nodeAndXform, bool combineLightPoints, bool &newNode)
 

Protected Types

typedef std::map
< DtLightPointDivisionTuple,
DtLightPointPerNodeData,
CmpLightPointTuple
DtLightNodeMap
 

Protected Attributes

DtLightNodeMap myLightNodeMap
 

Private Member Functions

 DtLightPointAggregator (const DtLightPointAggregator &other)=delete
 
DtLightPointAggregatoroperator= (const DtLightPointAggregator &other)=delete
 

Member Typedef Documentation

Constructor & Destructor Documentation

makVrv::DtLightPointAggregator::DtLightPointAggregator ( )

CTOR.

virtual makVrv::DtLightPointAggregator::~DtLightPointAggregator ( )
virtual

DTOR.

makVrv::DtLightPointAggregator::DtLightPointAggregator ( const DtLightPointAggregator other)
privatedelete

Copy Constructor not implemented – Copy Not Allowed.

Member Function Documentation

DtLightPointAggregator& makVrv::DtLightPointAggregator::operator= ( const DtLightPointAggregator other)
privatedelete

Assignment Operator Not implemented – Assignment Not Allowed.

virtual DtLightPointPerNodeData makVrv::DtLightPointAggregator::aggregate ( int  nodeGroupId,
bool  daylightControlled,
const DtIndirectFadeParameters fadeParameters,
const DtLightPointNodeAndXform nodeAndXform,
bool  combineLightPoints,
bool newNode 
)
virtual

Aggregation: return either an existing node, if one is suitable, or create a new node. The newNode boolean is set to true or false, accordingly. nodeGroupId, daylightControlled, fadeParameters, and the dof/lod/switch stacks are used to separate nodes: nodes with different values for any of those things will not be aggregated.

Member Data Documentation

DtLightNodeMap makVrv::DtLightPointAggregator::myLightNodeMap
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)