#include <EmbreeRaycaster.hpp>
|
bool | castRay (const Vector3f &origin, const Vector3f &direction, IntT &intersection) |
| Cast a single ray onto the mesh. More...
|
|
| EmbreeRaycaster (const MeshBufferPtr mesh) |
|
| ~EmbreeRaycaster () |
|
virtual void | castRays (const Vector3f &origin, const std::vector< Vector3f > &directions, std::vector< IntT > &intersections, std::vector< uint8_t > &hits) |
| Cast a ray from single origin with multiple directions onto the mesh. More...
|
|
virtual void | castRays (const Vector3f &origin, const std::vector< std::vector< Vector3f > > &directions, std::vector< std::vector< IntT > > &intersections, std::vector< std::vector< uint8_t > > &hits) |
| Cast a ray from a single origin with multiple directions (in matrix form) onto the mesh. More...
|
|
virtual void | castRays (const std::vector< Vector3f > &origins, const std::vector< Vector3f > &directions, std::vector< IntT > &intersections, std::vector< uint8_t > &hits) |
| Cast from multiple ray origin/direction pairs onto the mesh. More...
|
|
virtual void | castRays (const std::vector< Vector3f > &origins, const std::vector< std::vector< Vector3f > > &directions, std::vector< std::vector< IntT > > &intersections, std::vector< std::vector< uint8_t > > &hits) |
| Cast rays with multiples origins. Each origin has multiples directions. More...
|
|
| RaycasterBase (const MeshBufferPtr mesh) |
| Constructor: Stores mesh as member. More...
|
|
template<typename IntT>
class lvr2::EmbreeRaycaster< IntT >
Definition at line 51 of file EmbreeRaycaster.hpp.
◆ EmbreeRaycaster()
◆ ~EmbreeRaycaster()
◆ castRay()
Cast a single ray onto the mesh.
- Parameters
-
[in] | origin | Ray origin |
[in] | direction | Ray direction |
[out] | intersection | User defined intersection output |
- Returns
- true Intersection found
-
false Not intersection found
Implements lvr2::RaycasterBase< IntT >.
◆ initializeDevice()
◆ initializeScene()
◆ lvr2embree()
◆ m_context
◆ m_device
◆ m_scene
The documentation for this class was generated from the following file: