Cafu Engine
cf::SceneGraph::SHLMapManT::SHLMapT Struct Reference

Public Member Functions

 SHLMapT ()
 Constructor. More...
 

Public Attributes

ArrayT< float > Coeffs
 This should actually be ArrayT< ArrayT<float> > Coeffs; that is, for each SHLMap element, store an array of coefficients. More...
 
ArrayT< unsigned short > Indices
 For compressed SHL coeffs, this array contains the index for each map element into the bigger lookup-table. More...
 

Constructor & Destructor Documentation

SHLMapManT::SHLMapT::SHLMapT ( )

Constructor.

Member Data Documentation

ArrayT<float> cf::SceneGraph::SHLMapManT::SHLMapT::Coeffs

This should actually be ArrayT< ArrayT<float> > Coeffs; that is, for each SHLMap element, store an array of coefficients.

However, this adds the overhead of the internal 'ArrayT' management data to the storage for each element, and thus we prefer the "flat" approach.

ArrayT<unsigned short> cf::SceneGraph::SHLMapManT::SHLMapT::Indices

For compressed SHL coeffs, this array contains the index for each map element into the bigger lookup-table.

That is, if NrOfRepres>0, then Indices.Size()==SIZE_S*SIZE_T, and 0 otherwise.


The documentation for this struct was generated from the following files: