27 #ifndef MLN_TRAIT_IMAGE_FROM_GRID_HH
28 # define MLN_TRAIT_IMAGE_FROM_GRID_HH
38 # include <mln/core/grids.hh>
41 # define mln_image_from_grid(G, V) typename mln::trait::image_from_grid< G, V >::ret
50 template <
typename T>
struct image1d;
51 template <
typename T>
class image2d;
52 template <
typename T>
struct image3d;
58 template <
typename M,
typename V>
struct image_from_grid;
61 struct image_from_grid< grid::tick, V >
67 struct image_from_grid< grid::square, V >
73 struct image_from_grid< grid::cube, V >
89 #endif // ! MLN_TRAIT_IMAGE_FROM_GRID_HH