![]() |
VR-Forces 4.10 Class Documentation
|
This class allows us to incrementally aggregate multiple separate light points sharing common data into a single DtLightPointNode. More...

Classes | |
| struct | CmpLightPointTuple |
| Functor to provide a comparison function for DtLightPointDivisionTuple This is provided as a functor to avoid oversubscription of operator<(). More... | |
| struct | DtLightPointDivisionTuple |
| This is the set of values which nodes must share to be aggregated. More... | |
Public Member Functions | |
| DtLightPointAggregator () | |
| CTOR. More... | |
| virtual | ~DtLightPointAggregator () |
| DTOR. More... | |
| virtual DtLightPointPerNodeData | aggregate (int nodeGroupId, bool daylightControlled, const DtIndirectFadeParameters &fadeParameters, const DtLightPointNodeAndXform &nodeAndXform, bool combineLightPoints, bool &newNode) |
| Aggregation: return either an existing node, if one is suitable, or create a new node. More... | |
Protected Types | |
| typedef std::map < DtLightPointDivisionTuple, DtLightPointPerNodeData, CmpLightPointTuple > | DtLightNodeMap |
Protected Attributes | |
| DtLightNodeMap | myLightNodeMap |
Private Member Functions | |
| DtLightPointAggregator (const DtLightPointAggregator &other)=delete | |
| Copy Constructor not implemented – Copy Not Allowed. More... | |
| DtLightPointAggregator & | operator= (const DtLightPointAggregator &other)=delete |
| Assignment Operator Not implemented – Assignment Not Allowed. More... | |
This class allows us to incrementally aggregate multiple separate light points sharing common data into a single DtLightPointNode.
|
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 |