|
|
using | VertexArray = _VertexArray |
| |
|
using | ElementArray = _ElementArray |
| |
|
using | Scalar = typename VertexArray::Scalar |
| |
|
using | Index = typename ElementArray::Scalar |
| |
|
using | PointType = Eigen::Matrix<Scalar, 1, VertexArray::ColsAtCompileTime> |
| |
|
| virtual BVHType | get_bvh_type () const =0 |
| | Get the enum type.
|
| |
| virtual bool | does_support_pointcloud () const =0 |
| | Does it support supplying elements or just points?
|
| |
|
virtual bool | does_support_triangles () const =0 |
| |
|
virtual bool | does_support_lines () const =0 |
| |
|
virtual void | build (const VertexArray &vertices, const ElementArray &elements)=0 |
| | Construct bvh based on vertices and elements.
|
| |
|
virtual void | build (const VertexArray &vertices)=0 |
| |
| virtual bool | does_support_query_closest_point () const =0 |
| | Query for the closest point.
|
| |
|
virtual ClosestPoint | query_closest_point (const PointType &p) const =0 |
| |
| virtual bool | does_support_query_k_nearest_neighbours () const =0 |
| | Query for the k nearest neighbours.
|
| |
|
virtual std::vector< ClosestPoint > | query_k_nearest_neighbours (const PointType &p, int k) const =0 |
| |
| virtual bool | does_support_query_in_sphere_neighbours () const =0 |
| | Query for the closest point with in radius.
|
| |
|
virtual std::vector< ClosestPoint > | query_in_sphere_neighbours (const PointType &p, const Scalar radius) const =0 |
| |
| virtual std::vector< ClosestPoint > | batch_query_closest_point (const VertexArray &query_pts) const =0 |
| | Batch query closest points.
|
| |
|
|
std::vector< ClosestPoint > | default_batch_query_closest_point (const VertexArray &query_pts) const |
| |
◆ get_bvh_type()
template<typename _VertexArray, typename _ElementArray>
| virtual BVHType get_bvh_type |
( |
| ) |
const |
|
pure virtual |
◆ does_support_pointcloud()
template<typename _VertexArray, typename _ElementArray>
| virtual bool does_support_pointcloud |
( |
| ) |
const |
|
pure virtual |
◆ does_support_query_closest_point()
template<typename _VertexArray, typename _ElementArray>
| virtual bool does_support_query_closest_point |
( |
| ) |
const |
|
pure virtual |
◆ does_support_query_k_nearest_neighbours()
template<typename _VertexArray, typename _ElementArray>
| virtual bool does_support_query_k_nearest_neighbours |
( |
| ) |
const |
|
pure virtual |
◆ does_support_query_in_sphere_neighbours()
template<typename _VertexArray, typename _ElementArray>
| virtual bool does_support_query_in_sphere_neighbours |
( |
| ) |
const |
|
pure virtual |
◆ batch_query_closest_point()
template<typename _VertexArray, typename _ElementArray>
| virtual std::vector< ClosestPoint > batch_query_closest_point |
( |
const VertexArray & | query_pts | ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: