![]() |
Prusa Slicer 2.6.0
|
#include <src/libnest2d/include/libnest2d/selections/selection_boilerplate.hpp>
Inheritance diagram for libnest2d::selections::SelectionBoilerplate< RawShape >:Public Types | |
| using | ShapeType = RawShape |
| using | Item = _Item< RawShape > |
| using | ItemGroup = _ItemGroup< RawShape > |
| using | PackGroup = _PackGroup< RawShape > |
Public Member Functions | |
| const PackGroup & | getResult () const |
| int | lastPackedBinId () const |
| void | progressIndicator (ProgressFunction fn) |
| void | stopCondition (StopCondition cond) |
| void | clear () |
Protected Member Functions | |
| template<class Placer , class Container , class Bin , class PCfg > | |
| void | remove_unpackable_items (Container &c, const Bin &bin, const PCfg &pcfg) |
Protected Attributes | |
| PackGroup | packed_bins_ |
| ProgressFunction | progress_ = [](unsigned){} |
| StopCondition | stopcond_ = [](){ return false; } |
| int | last_packed_bin_id_ = -1 |
| using libnest2d::selections::SelectionBoilerplate< RawShape >::Item = _Item<RawShape> |
| using libnest2d::selections::SelectionBoilerplate< RawShape >::ItemGroup = _ItemGroup<RawShape> |
| using libnest2d::selections::SelectionBoilerplate< RawShape >::PackGroup = _PackGroup<RawShape> |
| using libnest2d::selections::SelectionBoilerplate< RawShape >::ShapeType = RawShape |
|
inline |
References libnest2d::selections::SelectionBoilerplate< RawShape >::packed_bins_.
|
inline |
|
inline |
References libnest2d::selections::SelectionBoilerplate< RawShape >::last_packed_bin_id_.
|
inline |
References libnest2d::selections::SelectionBoilerplate< RawShape >::progress_.
|
inlineprotected |
References libnest2d::_Item< RawShape >::area(), libnest2d::BIN_ID_UNSET, libnest2d::_Item< RawShape >::binId(), and libnest2d::selections::SelectionBoilerplate< RawShape >::stopcond_.
Here is the call graph for this function:
|
inline |
References libnest2d::selections::SelectionBoilerplate< RawShape >::stopcond_.
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by libnest2d::selections::_DJDHeuristic< RawShape >::packItems(), libnest2d::selections::_FirstFitSelection< RawShape >::packItems(), libnest2d::selections::SelectionBoilerplate< RawShape >::remove_unpackable_items(), and libnest2d::selections::SelectionBoilerplate< RawShape >::stopCondition().