![]() |
Prusa Slicer 2.6.0
|
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 | SquareTag : uint8_t { none , a , b , ab , c , ac , bc , abc , d , ad , bd , abd , cd , acd , bcd , full } |
| enum class | Dir : uint8_t { left , down , right , up , none } |
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 (ExecutionPolicy &&policy, It from, It to, Fn &&fn) |
| template<class E > | |
| constexpr std::underlying_type_t< E > | _t (E e) noexcept |
| Coord | step (const Coord &crd, Dir d) |
| 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 Dir | NEXT_CCW [] |
| static const constexpr uint8_t | PREV_CCW [] |
| const constexpr uint8_t | DIRMASKS [] |
| using marchsq::__impl::RasterTraits = typedef _RasterTraits<std::decay_t<T> > |
| using marchsq::__impl::TRasterValue = typedef typename RasterTraits<T>::ValueType |
|
strong |
|
strong |
| Enumerator | |
|---|---|
| none | |
| a | |
| b | |
| ab | |
| c | |
| ac | |
| bc | |
| abc | |
| d | |
| ad | |
| bd | |
| abd | |
| cd | |
| acd | |
| bcd | |
| full | |
|
constexprnoexcept |
Referenced by marchsq::__impl::Grid< Rst >::is_visited(), marchsq::__impl::Grid< Rst >::scan_rings(), and marchsq::__impl::Grid< Rst >::set_visited().
Here is the caller graph for this function:| size_t marchsq::__impl::cols | ( | const T & | raster | ) |
References marchsq::_RasterTraits< T, Enable >::cols().
Referenced by marchsq::__impl::Grid< Rst >::edge(), and marchsq::__impl::Grid< Rst >::is_within().
Here is the call graph for this function:
Here is the caller graph for this function:| std::vector< marchsq::Ring > marchsq::__impl::execute | ( | const Raster & | raster, |
| TRasterValue< Raster > | isoval, | ||
| Coord | windowsize = {} |
||
| ) |
| std::vector< marchsq::Ring > marchsq::__impl::execute_with_policy | ( | ExecutionPolicy && | policy, |
| const Raster & | raster, | ||
| TRasterValue< Raster > | isoval, | ||
| Coord | windowsize = {} |
||
| ) |
References execute_with_policy().
Referenced by execute_with_policy().
Here is the call graph for this function:
Here is the caller graph for this function:| void marchsq::__impl::for_each | ( | ExecutionPolicy && | policy, |
| It | from, | ||
| It | to, | ||
| Fn && | fn | ||
| ) |
References marchsq::_Loop< ExecutionPolicy, Enable >::for_each().
Referenced by marchsq::__impl::Grid< Rst >::interpolate_rings(), and marchsq::__impl::Grid< Rst >::tag_grid().
Here is the call graph for this function:
Here is the caller graph for this function:| TRasterValue< T > marchsq::__impl::isoval | ( | const T & | rst, |
| const Coord & | crd | ||
| ) |
References marchsq::Coord::c, marchsq::_RasterTraits< T, Enable >::get(), and marchsq::Coord::r.
Referenced by marchsq::__impl::Grid< Rst >::get_tag_for_cell(), marchsq::__impl::Grid< Rst >::CellIt::operator*(), and marchsq::__impl::Grid< Rst >::tag_grid().
Here is the call graph for this function:
Here is the caller graph for this function:| size_t marchsq::__impl::rows | ( | const T & | raster | ) |
References marchsq::_RasterTraits< T, Enable >::rows().
Referenced by marchsq::__impl::Grid< Rst >::edge(), and marchsq::__impl::Grid< Rst >::is_within().
Here is the call graph for this function:
Here is the caller graph for this function:References marchsq::Coord::c, d, DIRMASKS, and marchsq::Coord::r.
Referenced by marchsq::__impl::Grid< Rst >::CellIt::operator++(), and marchsq::__impl::Grid< Rst >::scan_rings().
Here is the caller graph for this function:Referenced by step().
Referenced by marchsq::__impl::Grid< Rst >::next_dir().
Referenced by marchsq::__impl::Grid< Rst >::is_visited().