Classes | |
| class | Grid |
Typedefs | |
| template<class T> | |
| using | RasterTraits = _RasterTraits<std::decay_t<T>> |
| template<class T> | |
| using | TRasterValue = typename RasterTraits<T>::ValueType |
Enumerations | |
| enum class | Dir : uint8_t { none = 0b0000 , left = 0b0001 , down = 0b0010 , right = 0b0100 , leftright = left | right , up = 0b1000 , updown = up | down , all = 0b1111 } |
Functions | |
| template<class T> | |
| size_t | rows (const T &raster) |
| template<class T> | |
| size_t | cols (const T &raster) |
| template<class T> | |
| TRasterValue< T > | isoval (const T &rst, const Coord &crd) |
| template<class ExecutionPolicy, class It, class Fn> | |
| void | for_each_idx (ExecutionPolicy &&policy, It from, It to, Fn &&fn) |
| template<class E> | |
| constexpr std::underlying_type_t< E > | _t (E e) noexcept |
| std::ostream & | operator<< (std::ostream &os, const Dir &d) |
| void | step (Coord &crd, const Dir d, const long n=1) |
| template<class Raster, class ExecutionPolicy> | |
| std::vector< marchsq::Ring > | execute_with_policy (ExecutionPolicy &&policy, const Raster &raster, TRasterValue< Raster > isoval, Coord windowsize={}) |
| template<class Raster> | |
| std::vector< marchsq::Ring > | execute (const Raster &raster, TRasterValue< Raster > isoval, Coord windowsize={}) |
Variables | |
| static const constexpr std::array< uint32_t, 16 > | NEXT_CCW |
| using marchsq::__impl::RasterTraits = _RasterTraits<std::decay_t<T>> |
| using marchsq::__impl::TRasterValue = typename RasterTraits<T>::ValueType |
|
strong |
References Slic3r::E.
Referenced by operator<<().
| size_t marchsq::__impl::cols | ( | const T & | raster | ) |
References marchsq::_RasterTraits< std::decay_t< T > >::cols().
Referenced by marchsq::__impl::Grid< Rst >::Grid().
| std::vector< marchsq::Ring > marchsq::__impl::execute | ( | const Raster & | raster, |
| TRasterValue< Raster > | isoval, | ||
| Coord | windowsize = {} ) |
References isoval().
| std::vector< marchsq::Ring > marchsq::__impl::execute_with_policy | ( | ExecutionPolicy && | policy, |
| const Raster & | raster, | ||
| TRasterValue< Raster > | isoval, | ||
| Coord | windowsize = {} ) |
References isoval().
| void marchsq::__impl::for_each_idx | ( | ExecutionPolicy && | policy, |
| It | from, | ||
| It | to, | ||
| Fn && | fn ) |
References marchsq::_Loop< ExecutionPolicy, Enable >::for_each_idx().
Referenced by marchsq::__impl::Grid< Rst >::interpolate_rings(), and marchsq::__impl::Grid< Rst >::tag_grid().
| TRasterValue< T > marchsq::__impl::isoval | ( | const T & | rst, |
| const Coord & | crd ) |
References marchsq::Coord::c, marchsq::_RasterTraits< std::decay_t< T > >::get(), and marchsq::Coord::r.
Referenced by execute(), execute_with_policy(), marchsq::__impl::Grid< Rst >::get_tags_block32(), marchsq::__impl::Grid< Rst >::interpolate_edge(), marchsq::__impl::Grid< Rst >::CellIt::operator*(), and marchsq::__impl::Grid< Rst >::tag_grid().
|
inline |
References _t().
| size_t marchsq::__impl::rows | ( | const T & | raster | ) |
References marchsq::_RasterTraits< std::decay_t< T > >::rows().
Referenced by marchsq::__impl::Grid< Rst >::Grid().
References marchsq::Coord::c, down, left, marchsq::Coord::r, right, and up.
Referenced by marchsq::__impl::Grid< Rst >::CellIt::operator++(), marchsq::__impl::Grid< Rst >::CellIt::operator+=(), marchsq::__impl::Grid< Rst >::CellIt::operator--(), and marchsq::__impl::Grid< Rst >::CellIt::operator-=().
|
staticconstexpr |
Referenced by marchsq::__impl::Grid< Rst >::get_dirs_block8().