Collision test with a ray.
More...
#include <ray_collision_test.h>
Collision test with a ray.
Definition at line 9 of file ray_collision_test.h.
Search option for the colliding triangle.
Enumerator |
---|
SearchClosestTriangle |
Search closest triangle on the ray (will slow the test considerably)
|
SearchFirstTriangle |
Search stop on the first triangle found that collides with the ray (may not be the closest)
|
Definition at line 13 of file ray_collision_test.h.
Claudette::RayCollisionTest::RayCollisionTest |
( |
| ) |
|
Claudette::RayCollisionTest::~RayCollisionTest |
( |
| ) |
|
const float* Claudette::RayCollisionTest::rayDirection |
( |
| ) |
const |
const float* Claudette::RayCollisionTest::rayOrigin |
( |
| ) |
const |
Search Claudette::RayCollisionTest::raySearch |
( |
| ) |
const |
float Claudette::RayCollisionTest::raySegmentMax |
( |
| ) |
const |
float Claudette::RayCollisionTest::raySegmentMin |
( |
| ) |
const |
void Claudette::RayCollisionTest::setRayDirection |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
void Claudette::RayCollisionTest::setRayOrigin |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
void Claudette::RayCollisionTest::setRaySearch |
( |
Search |
srh | ) |
|
void Claudette::RayCollisionTest::setRaySegmentBounds |
( |
float |
min = 0.f , |
|
|
float |
max = 3.4e+38f |
|
) |
| |
The default ray is a standard infinite ray. However, using segmin and segmax a line segment along the ray can be defined
The documentation for this class was generated from the following file: