Isis Developer Reference
Isis::RTCMultiHitRay Struct Reference

Struct for capturing multiple intersections when using embree::rtcintersectscene. More...

#include <EmbreeTargetShape.h>

Inheritance diagram for Isis::RTCMultiHitRay:
Inheritance graph
Collaboration diagram for Isis::RTCMultiHitRay:
Collaboration graph

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.
 

Detailed Description

Struct for capturing multiple intersections when using embree::rtcintersectscene.

Author
2017-05-11 Jesse Mapel

Constructor & Destructor Documentation

◆ RTCMultiHitRay() [1/3]

Isis::RTCMultiHitRay::RTCMultiHitRay ( )

Default constructor for RTCMultiHitRay.

References lastHit.

◆ RTCMultiHitRay() [2/3]

Isis::RTCMultiHitRay::RTCMultiHitRay ( const std::vector< double > & origin,
const std::vector< double > & direction )

Constructor for RTCMultiHitRay given a ray origin and look direction.

Parameters
originThe body-fixed (x, y, z) origin of the ray in kilometers.
directionThe unit look direction vector in body-fixed (x, y, z).

References lastHit.

◆ RTCMultiHitRay() [3/3]

Isis::RTCMultiHitRay::RTCMultiHitRay ( LinearAlgebra::Vector origin,
LinearAlgebra::Vector direction )

Constructor for RTCMultiHitRay given a ray origin and look direction as ISIS linear algebra vectors.

Parameters
originThe body-fixed (x, y, z) origin of the ray in kilometers.
directionThe unit look direction vector in body-fixed (x, y, z).

References lastHit.

Member Data Documentation

◆ hitGeomIDs

unsigned Isis::RTCMultiHitRay::hitGeomIDs[16]

IDs of the geometries (bodies) hit.

◆ hitPrimIDs

unsigned Isis::RTCMultiHitRay::hitPrimIDs[16]

IDs of the primitives (trinagles) hit.

◆ hitUs

float Isis::RTCMultiHitRay::hitUs[16]

Barycentric u coordinate of the hits.

◆ hitVs

float Isis::RTCMultiHitRay::hitVs[16]

Barycentric v coordinate of the hits.

◆ lastHit

int Isis::RTCMultiHitRay::lastHit

Index of the last hit in the hit containers.

Referenced by RTCMultiHitRay(), RTCMultiHitRay(), and RTCMultiHitRay().


The documentation for this struct was generated from the following files: