17#ifndef __fixel_loop_h__
18#define __fixel_loop_h__
31 template <
class DataType>
37 template <
class DataType>
38 FORCE_INLINE void operator() (DataType& data) { ++data.index(0); }
66 template <
class IndexType>
73 return { num_fixels,
offset };
FORCE_INLINE LoopFixelsInVoxel Loop(IndexType &index)
void apply(F &&f, T &&t)
invoke f(x) for each entry in t
FORCE_INLINE Run(const index_type num_fixels, const index_type offset, const std::tuple< DataType &... > &data)
FORCE_INLINE void operator++(int) const
NOMEMALIGN const index_type num_fixels
const std::tuple< DataType &... > data
FORCE_INLINE void operator++()
NOMEMALIGN const index_type num_fixels
FORCE_INLINE Run< DataType... > operator()(DataType &... data) const