Ray data structure.
More...
#include <xac_interface_scene_elements_doc.h>
|
| Ray (const float3 &in_origin, const float3 &in_direction, const float3 &in_direction_rec) |
| Default constructor. More...
|
|
| Ray (const float3 &in_origin, const float3 &in_direction) |
| Constructor computing the reciprocal direction. More...
|
|
const float3 & | get_origin () const |
| Get the ray origin position. More...
|
|
const float3 & | get_direction () const |
| Get the ray direction vector. More...
|
|
const float3 & | get_direction_reciprocal () const |
| Get the ray reciprocal direction vector. More...
|
|
◆ Ray() [1/2]
nv::index::xac::Ray::Ray |
( |
const float3 & |
in_origin, |
|
|
const float3 & |
in_direction, |
|
|
const float3 & |
in_direction_rec |
|
) |
| |
|
inline |
◆ Ray() [2/2]
nv::index::xac::Ray::Ray |
( |
const float3 & |
in_origin, |
|
|
const float3 & |
in_direction |
|
) |
| |
|
inline |
Constructor computing the reciprocal direction.
◆ get_direction()
const float3 & nv::index::xac::Ray::get_direction |
( |
| ) |
const |
Get the ray direction vector.
◆ get_direction_reciprocal()
const float3 & nv::index::xac::Ray::get_direction_reciprocal |
( |
| ) |
const |
Get the ray reciprocal direction vector.
◆ get_origin()
const float3 & nv::index::xac::Ray::get_origin |
( |
| ) |
const |
Get the ray origin position.
The documentation for this class was generated from the following file: