Go to the documentation of this file.
7 #ifndef INCLUDE_JET_POINT_NEIGHBOR_SEARCHER3_H_
8 #define INCLUDE_JET_POINT_NEIGHBOR_SEARCHER3_H_
32 typedef std::function<void(
size_t,
const Vector3D&)>
70 const Vector3D& origin,
double radius)
const = 0;
78 virtual std::shared_ptr<PointNeighborSearcher3>
clone()
const = 0;
92 typedef std::shared_ptr<PointNeighborSearcherBuilder3>
95 #define JET_NEIGHBOR_SEARCHER3_TYPE_NAME(DerivedClassName) \
96 std::string typeName() const override { \
97 return #DerivedClassName; \
102 #endif // INCLUDE_JET_POINT_NEIGHBOR_SEARCHER3_H_
virtual ~PointNeighborSearcher3()
Destructor.
std::shared_ptr< PointNeighborSearcherBuilder3 > PointNeighborSearcherBuilder3Ptr
Shared pointer for the PointNeighborSearcherBuilder3 type.
Definition: point_neighbor_searcher3.h:93
1-D read-only array accessor class.
Definition: array_accessor1.h:184
virtual bool hasNearbyPoint(const Vector3D &origin, double radius) const =0
virtual void forEachNearbyPoint(const Vector3D &origin, double radius, const ForEachNearbyPointFunc &callback) const =0
PointNeighborSearcher3()
Default constructor.
virtual void build(const ConstArrayAccessor1< Vector3D > &points)=0
Builds internal acceleration structure for given points list.
Definition: advection_solver2.h:18
virtual std::string typeName() const =0
Returns the type name of the derived class.
Abstract base class for 3-D neighbor point searcher.
Definition: point_neighbor_searcher3.h:28
std::function< void(size_t, const Vector3D &)> ForEachNearbyPointFunc
Definition: point_neighbor_searcher3.h:33
virtual PointNeighborSearcher3Ptr buildPointNeighborSearcher() const =0
Returns shared pointer of PointNeighborSearcher3 type.
std::shared_ptr< PointNeighborSearcher3 > PointNeighborSearcher3Ptr
Shared pointer for the PointNeighborSearcher3 type.
Definition: point_neighbor_searcher3.h:82
Abstract base class for any serializable class.
Definition: serialization.h:17
3-D vector class.
Definition: vector3.h:25
Abstract base class for 3-D point neighbor searcher builders.
Definition: point_neighbor_searcher3.h:85
virtual std::shared_ptr< PointNeighborSearcher3 > clone() const =0
Creates a new instance of the object with same properties than original.