21 #ifndef otbIndicesStackFunctor_h
22 #define otbIndicesStackFunctor_h
26 #include "itkVariableLengthVector.h"
46 template <
typename TIndice>
55 using OutputType = itk::VariableLengthVector<typename IndiceType::OutputType>;
66 throw std::runtime_error(
"Can not build IndicesStackFunctor from an empty list of indices.");
82 out[idx] = (*indice)(in);