STIR  6.2.0
Namespaces | Functions
sampling_functions.h File Reference

Sampling functions (currently only stir::sample_function_on_regular_grid) More...

#include "stir/numerics/sampling_functions.inl"

Go to the source code of this file.

Namespaces

 stir
 Namespace for the STIR library (and some/most of its applications)
 

Functions

template<class FunctionType , class elemT , class positionT >
void stir::sample_function_on_regular_grid (Array< 3, elemT > &out, FunctionType func, const BasicCoordinate< 3, positionT > &offset, const BasicCoordinate< 3, positionT > &step)
 Generic function to get the values of a 3D function on a regular grid. More...
 
template<typename elemT , typename FunctionType , typename Lambda >
void stir::sample_function_using_index_converter (Array< 3, elemT > &out, FunctionType func, Lambda &&index_converter)
 Generic function to get the values of a 3D function on a grid. More...
 

Detailed Description

Sampling functions (currently only stir::sample_function_on_regular_grid)

Author
Charalampos Tsoumpas
Kris Thielemans
Markus Jehl