26 #ifndef MLN_WIN_CUBE3D_HH
27 # define MLN_WIN_CUBE3D_HH
33 # include <mln/core/internal/classical_window_base.hh>
34 # include <mln/core/alias/dpoint3d.hh>
88 void print_(std::ostream& ostr)
const;
96 # ifndef MLN_INCLUDE_ONLY
102 mln_precondition(length % 2 == 1);
105 minus_d = static_cast<def::coord>(- d);
106 for (
def::coord sli = minus_d; sli <= d; ++sli)
107 for (
def::coord row = minus_d; row <= d; ++row)
108 for (
def::coord col = minus_d; col <= d; ++col)
127 ostr <<
"[cube3d: length=" <<
length_ <<
']';
130 # endif // ! MLN_INCLUDE_ONLY
138 #endif // ! MLN_WIN_CUBE3D_HH