Template Class EmbreeRaycaster
Defined in File EmbreeRaycaster.hpp
Inheritance Relationships
Base Type
public lvr2::RaycasterBase< IntT >(Template Class RaycasterBase)
Class Documentation
-
template<typename IntT>
class EmbreeRaycaster : public lvr2::RaycasterBase<IntT> Public Functions
-
EmbreeRaycaster(const MeshBufferPtr mesh)
-
~EmbreeRaycaster()
-
virtual bool castRay(const Vector3f &origin, const Vector3f &direction, IntT &intersection)
Cast a single ray onto the mesh.
- Parameters:
origin – [in] Ray origin
direction – [in] Ray direction
intersection – [out] User defined intersection output
- Returns:
true Intersection found
- Returns:
false Not intersection found
Protected Functions
-
RTCDevice initializeDevice()
-
RTCScene initializeScene(RTCDevice device, const MeshBufferPtr mesh)
-
EmbreeRaycaster(const MeshBufferPtr mesh)