Loading...
Searching...
No Matches
PointKdTreeSearcher.hpp
Go to the documentation of this file.
#define CUBBYFLOW_NEIGHBOR_SEARCHER_TYPE_NAME(DerivedClassName, N)
Definition PointNeighborSearcher.hpp:163
Definition Matrix.hpp:30
Front-end to create PointKdTreeSearcher objects step by step.
Definition PointKdTreeSearcher.hpp:142
Builder & operator=(Builder &&other) noexcept=delete
Deleted move assignment operator.
std::shared_ptr< PointKdTreeSearcher< N > > MakeShared() const
Builds shared pointer of PointKdTreeSearcher instance.
~Builder() override=default
Default virtual destructor.
Builder(Builder &&other) noexcept=delete
Deleted move constructor.
Builder(const Builder &other)=delete
Deleted copy constructor.
PointKdTreeSearcher Build() const
Builds PointKdTreeSearcher instance.
Builder & operator=(const Builder &other)=delete
Deleted copy assignment operator.
std::shared_ptr< PointNeighborSearcher< N > > BuildPointNeighborSearcher() const override
Returns shared pointer of PointNeighborSearcher3 type.
void Deserialize(const std::vector< uint8_t > &buffer) override
Deserializes the neighbor searcher from the buffer.
PointKdTreeSearcher & operator=(const PointKdTreeSearcher &other)
Copy assignment operator.
bool HasNearbyPoint(const Vector< double, N > &origin, double radius) const override
PointKdTreeSearcher()=default
Constructs an empty kD-tree instance.
static Builder GetBuilder()
Returns builder fox PointKdTreeSearcher.
void Set(const PointKdTreeSearcher &other)
Copy from the other instance.
~PointKdTreeSearcher() override=default
Default virtual destructor.
PointKdTreeSearcher & operator=(PointKdTreeSearcher &&other) noexcept
Move assignment operator.
void Build(const ConstArrayView1< Vector< double, N > > &points, double maxSearchRadius) override
void ForEachNearbyPoint(const Vector< double, N > &origin, double radius, const ForEachNearbyPointFunc &callback) const override
PointKdTreeSearcher(const PointKdTreeSearcher &other)
Copy constructor.
void Serialize(std::vector< uint8_t > *buffer) const override
Serializes the neighbor searcher into the buffer.
PointKdTreeSearcher(PointKdTreeSearcher &&other) noexcept
Move constructor.
std::shared_ptr< PointNeighborSearcher< N > > Clone() const override
Creates a new instance of the object with same properties than original.
Abstract base class for N-D point neighbor searcher builders.
Definition PointNeighborSearcher.hpp:120
Abstract base class for N-D neighbor point searcher.
Definition PointNeighborSearcher.hpp:33
std::function< void(size_t, const Vector< double, N > &)> ForEachNearbyPointFunc
Definition PointNeighborSearcher.hpp:38
Definition pybind11Utils.hpp:21
std::shared_ptr< PointKdTreeSearcher2 > PointKdTreeSearcher2Ptr
Shared pointer for the PointKdTreeSearcher2 type.
Definition PointKdTreeSearcher.hpp:131
std::shared_ptr< PointKdTreeSearcher3 > PointKdTreeSearcher3Ptr
Shared pointer for the PointKdTreeSearcher3 type.
Definition PointKdTreeSearcher.hpp:134
1.9.8