Jet
v1.3.3
|
Abstract base class for 3-D intersection test query engine. More...
#include <jet/intersection_query_engine3.h>
Public Member Functions | |
virtual bool | intersects (const BoundingBox3D &box, const BoxIntersectionTestFunc3< T > &testFunc) const =0 |
Returns true if given box intersects with any of the stored items. More... | |
virtual bool | intersects (const Ray3D &ray, const RayIntersectionTestFunc3< T > &testFunc) const =0 |
Returns true if given ray intersects with any of the stored items. More... | |
virtual void | forEachIntersectingItem (const BoundingBox3D &box, const BoxIntersectionTestFunc3< T > &testFunc, const IntersectionVisitorFunc3< T > &visitorFunc) const =0 |
Invokes visitorFunc for every intersecting items. More... | |
virtual void | forEachIntersectingItem (const Ray3D &ray, const RayIntersectionTestFunc3< T > &testFunc, const IntersectionVisitorFunc3< T > &visitorFunc) const =0 |
Invokes visitorFunc for every intersecting items. More... | |
virtual ClosestIntersectionQueryResult3< T > | closestIntersection (const Ray3D &ray, const GetRayIntersectionFunc3< T > &testFunc) const =0 |
Returns the closest intersection for given ray . More... | |
Abstract base class for 3-D intersection test query engine.
|
pure virtual |
Returns the closest intersection for given ray
.
Implemented in jet::Octree< T >, jet::Bvh3< T >, jet::ListQueryEngine3< T >, jet::Bvh3< Surface3Ptr >, jet::Bvh3< size_t >, and jet::Bvh3< ImplicitSurface3Ptr >.
|
pure virtual |
Invokes visitorFunc
for every intersecting items.
Implemented in jet::Octree< T >, jet::Bvh3< T >, jet::ListQueryEngine3< T >, jet::Bvh3< Surface3Ptr >, jet::Bvh3< size_t >, and jet::Bvh3< ImplicitSurface3Ptr >.
|
pure virtual |
Invokes visitorFunc
for every intersecting items.
Implemented in jet::Octree< T >, jet::Bvh3< T >, jet::ListQueryEngine3< T >, jet::Bvh3< Surface3Ptr >, jet::Bvh3< size_t >, and jet::Bvh3< ImplicitSurface3Ptr >.
|
pure virtual |
Returns true if given box
intersects with any of the stored items.
Implemented in jet::Octree< T >, jet::Bvh3< T >, jet::ListQueryEngine3< T >, jet::Bvh3< Surface3Ptr >, jet::Bvh3< size_t >, and jet::Bvh3< ImplicitSurface3Ptr >.
|
pure virtual |
Returns true if given ray
intersects with any of the stored items.
Implemented in jet::Octree< T >, jet::Bvh3< T >, jet::ListQueryEngine3< T >, jet::Bvh3< Surface3Ptr >, jet::Bvh3< size_t >, and jet::Bvh3< ImplicitSurface3Ptr >.