#include <src/libslic3r/SLA/SpatIndex.hpp>
◆ Slic3r::sla::BoxIndex::Impl
| class Slic3r::sla::BoxIndex::Impl |
| Class Members |
|
typedef rtree< BoxIndexEl, rstar< 16, 4 > > |
BoostIndex |
|
◆ QueryType
| Enumerator |
|---|
| qtIntersects | |
| qtWithin | |
@ qtWithin
Definition SpatIndex.hpp:83
@ qtIntersects
Definition SpatIndex.hpp:83
◆ BoxIndex() [1/3]
| Slic3r::sla::BoxIndex::BoxIndex |
( |
| ) |
|
std::unique_ptr< Impl > m_impl
Definition SpatIndex.hpp:64
◆ ~BoxIndex()
| Slic3r::sla::BoxIndex::~BoxIndex |
( |
| ) |
|
◆ BoxIndex() [2/3]
108:
m_impl(
new Impl(*cpy.m_impl)) {}
◆ BoxIndex() [3/3]
| Slic3r::sla::BoxIndex::BoxIndex |
( |
BoxIndex && |
cpy | ) |
|
109:
m_impl(std::move(cpy.m_impl)) {}
◆ empty()
| bool Slic3r::sla::BoxIndex::empty |
( |
| ) |
const |
|
inline |
89{
return size() == 0; }
size_t size() const
Definition SpatIndex.cpp:151
References size().
◆ foreach()
157{
158 for(
auto& el :
m_impl->m_store) fn(el);
159}
References m_impl.
◆ insert() [1/2]
77 {
78 insert(std::make_pair(bb,
unsigned(idx)));
79 }
void insert(const BoxIndexEl &)
Definition SpatIndex.cpp:123
References insert().
◆ insert() [2/2]
◆ operator=() [1/2]
118{
120 return *this;
121}
References m_impl.
◆ operator=() [2/2]
112{
113 m_impl.reset(
new Impl(*cpy.m_impl));
114 return *this;
115}
References m_impl.
◆ query()
◆ remove()
129{
130 return m_impl->m_store.remove(el) == 1;
131}
References m_impl.
◆ size()
| size_t Slic3r::sla::BoxIndex::size |
( |
| ) |
const |
◆ m_impl
| std::unique_ptr<Impl> Slic3r::sla::BoxIndex::m_impl |
|
private |
The documentation for this class was generated from the following files: