1#ifndef GfxTL__CELLLEVELTREESTRATEGY_HEADER__
2#define GfxTL__CELLLEVELTREESTRATEGY_HEADER__
6 template <
class InheritedStrategyT>
9 typedef typename InheritedStrategyT::value_type
value_type;
11 class CellData :
public InheritedStrategyT::CellData
30 template <
class BaseT>
57 template <
class BaseTraversalT>
62 template <
class BuildInformationT>
66 BaseType::InitRootBuildInformation(bi);
70 template <
class BuildInformationT>
73 const BuildInformationT& parentInfo,
74 unsigned int childIdx,
75 BuildInformationT* bi)
const
77 BaseType::InitBuildInformation(parent, parentInfo, childIdx, bi);
78 bi->Level(parentInfo.Level() + 1);
81 template <
class BuildInformationT>
85 BaseType::InitRoot(bi, root);
86 root->Level(bi.Level());
89 template <
class BuildInformationT>
92 const BuildInformationT& pbi,
94 const BuildInformationT& bi,
97 BaseType::InitCell(parent, pbi, child, bi, cell);
98 cell->Level(bi.Level());
101 template <
class TraversalInformationT>
const size_t Level() const
BaseType::CellType CellType
void InitCell(const CellType &parent, const BuildInformationT &pbi, unsigned int child, const BuildInformationT &bi, CellType *cell)
void InitRoot(const BuildInformationT &bi, CellType *root)
void InitBuildInformation(const CellType &parent, const BuildInformationT &parentInfo, unsigned int childIdx, BuildInformationT *bi) const
const size_t CellLevel(const CellType &cell, const TraversalInformationT &) const
InheritedStrategyT::template StrategyBase< BaseT > BaseType
void InitRootBuildInformation(BuildInformationT *bi)
InheritedStrategyT::value_type value_type