|
| | IntersectionQueryEngine ()=default |
| | Default constructor.
|
| |
| virtual | ~IntersectionQueryEngine ()=default |
| | Default virtual destructor.
|
| |
| | IntersectionQueryEngine (const IntersectionQueryEngine &other)=default |
| | Default copy constructor.
|
| |
| | IntersectionQueryEngine (IntersectionQueryEngine &&other) noexcept=default |
| | Default move constructor.
|
| |
| IntersectionQueryEngine & | operator= (const IntersectionQueryEngine &other)=default |
| | Default copy assignment operator.
|
| |
| IntersectionQueryEngine & | operator= (IntersectionQueryEngine &&other) noexcept=default |
| | Default move assignment operator.
|
| |
| virtual bool | Intersects (const BoundingBox< double, N > &box, const BoxIntersectionTestFunc< T, N > &testFunc) const =0 |
| | Returns true if given box intersects with any of the stored items.
|
| |
| virtual bool | Intersects (const Ray< double, N > &ray, const RayIntersectionTestFunc< T, N > &testFunc) const =0 |
| | Returns true if given ray intersects with any of the stored items.
|
| |
| virtual void | ForEachIntersectingItem (const BoundingBox< double, N > &box, const BoxIntersectionTestFunc< T, N > &testFunc, const IntersectionVisitorFunc< T > &visitorFunc) const =0 |
| | Invokes visitorFunc for every intersecting items.
|
| |
| virtual void | ForEachIntersectingItem (const Ray< double, N > &ray, const RayIntersectionTestFunc< T, N > &testFunc, const IntersectionVisitorFunc< T > &visitorFunc) const =0 |
| | Invokes visitorFunc for every intersecting items.
|
| |
| virtual ClosestIntersectionQueryResult< T, N > | ClosestIntersection (const Ray< double, N > &ray, const GetRayIntersectionFunc< T, N > &testFunc) const =0 |
| | Returns the closest intersection for given ray.
|
| |
template<
typename T,
size_t N>
class CubbyFlow::IntersectionQueryEngine< T, N >
Abstract base class for N-D intersection test query engine.