Class representing a KDGrove ray caster.
Definition: KDGroveRaycaster.h:19
KDGroveRaycaster(std::shared_ptr< KDGrove > grove)
Definition: KDGroveRaycaster.h:35
std::shared_ptr< KDGrove > grove
The KDGrove for the ray casting.
Definition: KDGroveRaycaster.h:26
virtual std::shared_ptr< KDGroveRaycaster > makeTemporalClone() const
Make a temporal clone of the KDGroveRaycaster.
Definition: KDGroveRaycaster.cpp:50
std::map< double, Primitive * > searchAll(glm::dvec3 rayOrigin, glm::dvec3 rayDir, double tmin, double tmax, bool groundOnly) override
Definition: KDGroveRaycaster.cpp:5
std::shared_ptr< KDGrove > getGrove()
Obtain the KDGrove associated to the KDGroveRaycaster.
Definition: KDGroveRaycaster.h:82
RaySceneIntersection * search(glm::dvec3 rayOrigin, glm::dvec3 rayDir, double tmin, double tmax, bool groundOnly) override
Definition: KDGroveRaycaster.cpp:23
Class representing a the intersection of a ray over a scene made of primitives.
Definition: RaySceneIntersection.h:12
Raycaster interface declaring raycasting operations.
Definition: Raycaster.h:15