1#ifndef GfxTL__CELLCENTERAACUBETREESTRATEGY_HEADER__
2#define GfxTL__CELLCENTERAACUBETREESTRATEGY_HEADER__
8 template <
unsigned int DimT,
class InheritedStrategyT>
11 typedef typename InheritedStrategyT::value_type
value_type;
13 class CellData :
public InheritedStrategyT::CellData
34 template <
class BaseT>
45 template <
class BaseTraversalT>
50 template <
class BuildInformationT>
54 BaseType::InitRoot(bi, root);
55 bi.Cube().Center(&root->Center());
58 template <
class BuildInformationT>
61 const BuildInformationT& pbi,
63 const BuildInformationT& bi,
66 BaseType::InitCell(parent, pbi, child, bi, cell);
67 bi.Cube().Center(&cell->Center());
70 template <
class TraversalInformationT>
73 const TraversalInformationT&,
76 *center = cell.Center();
GfxTL::ScalarTypeDeferer< value_type >::ScalarType ScalarType
const GfxTL::VectorXD< DimT, ScalarType > & Center() const
GfxTL::VectorXD< DimT, ScalarType > & Center()
GfxTL::ScalarTypeDeferer< value_type >::ScalarType ScalarType
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 CellCenter(const CellType &cell, const TraversalInformationT &, CellCenterType *center) const
GfxTL::VectorXD< DimT, ScalarType > CellCenterType
InheritedStrategyT::template StrategyBase< BaseT > BaseType
InheritedStrategyT::value_type value_type
PointT::value_type ScalarType