![]() |
Prusa Slicer 2.6.0
|
#include <src/libslic3r/SLA/SpatIndex.hpp>
Collaboration diagram for Slic3r::sla::PointIndex:Classes | |
| class | Impl |
Public Member Functions | |
| PointIndex () | |
| ~PointIndex () | |
| PointIndex (const PointIndex &) | |
| PointIndex (PointIndex &&) | |
| PointIndex & | operator= (const PointIndex &) |
| PointIndex & | operator= (PointIndex &&) |
| void | insert (const PointIndexEl &) |
| bool | remove (const PointIndexEl &) |
| void | insert (const Vec3d &v, unsigned idx) |
| std::vector< PointIndexEl > | query (std::function< bool(const PointIndexEl &)>) const |
| std::vector< PointIndexEl > | nearest (const Vec3d &, unsigned k) const |
| std::vector< PointIndexEl > | query (const Vec3d &v, unsigned k) const |
| size_t | size () const |
| bool | empty () const |
| void | foreach (std::function< void(const PointIndexEl &el)> fn) |
| void | foreach (std::function< void(const PointIndexEl &el)> fn) const |
Private Attributes | |
| std::unique_ptr< Impl > | m_impl |
| class Slic3r::sla::PointIndex::Impl |
| Class Members | ||
|---|---|---|
| typedef rtree< PointIndexEl, rstar< 16, 4 > > | BoostIndex | |
| Class Members | ||
|---|---|---|
| BoostIndex | m_store | |
| Slic3r::sla::PointIndex::PointIndex | ( | ) |
| Slic3r::sla::PointIndex::~PointIndex | ( | ) |
| Slic3r::sla::PointIndex::PointIndex | ( | const PointIndex & | cpy | ) |
| Slic3r::sla::PointIndex::PointIndex | ( | PointIndex && | cpy | ) |
|
inline |
References size().
Referenced by Slic3r::sla::DefaultSupportTree::search_pillar_and_connect().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::sla::PointIndex::foreach | ( | std::function< void(const PointIndexEl &el)> | fn | ) |
Referenced by Slic3r::sla::PillarIndex::foreach(), and Slic3r::sla::PillarIndex::guarded_foreach().
Here is the caller graph for this function:| void Slic3r::sla::PointIndex::foreach | ( | std::function< void(const PointIndexEl &el)> | fn | ) | const |
| void Slic3r::sla::PointIndex::insert | ( | const PointIndexEl & | el | ) |
References m_impl.
Referenced by Slic3r::sla::ConcaveHull::add_connector_rectangles(), Slic3r::sla::PillarIndex::guarded_insert(), Slic3r::sla::PillarIndex::insert(), and insert().
Here is the caller graph for this function:| std::vector< PointIndexEl > Slic3r::sla::PointIndex::nearest | ( | const Vec3d & | el, |
| unsigned | k = 1 |
||
| ) | const |
References m_impl.
Referenced by Slic3r::sla::ConcaveHull::add_connector_rectangles(), query(), and Slic3r::sla::DefaultSupportTree::search_pillar_and_connect().
Here is the caller graph for this function:| PointIndex & Slic3r::sla::PointIndex::operator= | ( | const PointIndex & | cpy | ) |
| PointIndex & Slic3r::sla::PointIndex::operator= | ( | PointIndex && | cpy | ) |
|
inline |
References nearest().
Here is the call graph for this function:| std::vector< PointIndexEl > Slic3r::sla::PointIndex::query | ( | std::function< bool(const PointIndexEl &)> | fn | ) | const |
References m_impl.
Referenced by Slic3r::sla::PillarIndex::guarded_query(), and Slic3r::sla::PillarIndex::query().
Here is the caller graph for this function:| bool Slic3r::sla::PointIndex::remove | ( | const PointIndexEl & | el | ) |
References m_impl.
Referenced by Slic3r::sla::DefaultSupportTree::search_pillar_and_connect().
Here is the caller graph for this function:| size_t Slic3r::sla::PointIndex::size | ( | ) | const |
|
private |
Referenced by insert(), nearest(), operator=(), operator=(), query(), remove(), and size().