![]() |
VR-Forces 5.0.1 Developer's Guide
|
This class allows us to incrementally aggregate multiple separate light points sharing common data into a single DtLightPointNode.

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 | |
| DtLightPointAggregator & | operator= (const DtLightPointAggregator &other)=delete |
|
protected |
| makVrv::DtLightPointAggregator::DtLightPointAggregator | ( | ) |
CTOR.
|
virtual |
DTOR.
|
privatedelete |
Copy Constructor not implemented – Copy Not Allowed.
|
privatedelete |
Assignment Operator Not implemented – Assignment Not Allowed.
|
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.
|
protected |