Isis Developer Reference
|
Struct for capturing multiple intersections when using embree::rtcintersectscene. More...
#include <EmbreeTargetShape.h>
Public Member Functions | |
RTCMultiHitRay () | |
Default constructor for RTCMultiHitRay. | |
RTCMultiHitRay (const std::vector< double > &origin, const std::vector< double > &direction) | |
Constructor for RTCMultiHitRay given a ray origin and look direction. | |
RTCMultiHitRay (LinearAlgebra::Vector origin, LinearAlgebra::Vector direction) | |
Constructor for RTCMultiHitRay given a ray origin and look direction as ISIS linear algebra vectors. | |
Public Attributes | |
unsigned | hitGeomIDs [16] |
IDs of the geometries (bodies) hit. | |
unsigned | hitPrimIDs [16] |
IDs of the primitives (trinagles) hit. | |
float | hitUs [16] |
Barycentric u coordinate of the hits. | |
float | hitVs [16] |
Barycentric v coordinate of the hits. | |
int | lastHit |
Index of the last hit in the hit containers. | |
Struct for capturing multiple intersections when using embree::rtcintersectscene.
Isis::RTCMultiHitRay::RTCMultiHitRay | ( | ) |
Default constructor for RTCMultiHitRay.
References lastHit.
Isis::RTCMultiHitRay::RTCMultiHitRay | ( | const std::vector< double > & | origin, |
const std::vector< double > & | direction ) |
Constructor for RTCMultiHitRay given a ray origin and look direction.
origin | The body-fixed (x, y, z) origin of the ray in kilometers. |
direction | The unit look direction vector in body-fixed (x, y, z). |
References lastHit.
Isis::RTCMultiHitRay::RTCMultiHitRay | ( | LinearAlgebra::Vector | origin, |
LinearAlgebra::Vector | direction ) |
Constructor for RTCMultiHitRay given a ray origin and look direction as ISIS linear algebra vectors.
origin | The body-fixed (x, y, z) origin of the ray in kilometers. |
direction | The unit look direction vector in body-fixed (x, y, z). |
References lastHit.
unsigned Isis::RTCMultiHitRay::hitGeomIDs[16] |
IDs of the geometries (bodies) hit.
unsigned Isis::RTCMultiHitRay::hitPrimIDs[16] |
IDs of the primitives (trinagles) hit.
float Isis::RTCMultiHitRay::hitUs[16] |
Barycentric u coordinate of the hits.
float Isis::RTCMultiHitRay::hitVs[16] |
Barycentric v coordinate of the hits.
int Isis::RTCMultiHitRay::lastHit |
Index of the last hit in the hit containers.
Referenced by RTCMultiHitRay(), RTCMultiHitRay(), and RTCMultiHitRay().