Isis 3 Programmer 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. More...
 
 RTCMultiHitRay (const std::vector< double > &origin, const std::vector< double > &direction)
 Constructor for RTCMultiHitRay given a ray origin and look direction. More...
 
 RTCMultiHitRay (LinearAlgebra::Vector origin, LinearAlgebra::Vector direction)
 Constructor for RTCMultiHitRay given a ray origin and look direction as ISIS linear algebra vectors. More...
 

Public Attributes

unsigned hitGeomIDs [16]
 IDs of the geometries (bodies) hit. More...
 
unsigned hitPrimIDs [16]
 IDs of the primitives (trinagles) hit. More...
 
float hitUs [16]
 Barycentric u coordinate of the hits. More...
 
float hitVs [16]
 Barycentric v coordinate of the hits. More...
 
int lastHit
 Index of the last hit in the hit containers. More...
 

Detailed Description

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

Author
2017-05-11 Jesse Mapel
History:
2017-05-11 Jesse Mapel - Original Version

Definition at line 44 of file EmbreeTargetShape.h.

Constructor & Destructor Documentation

◆ RTCMultiHitRay() [1/3]

Isis::RTCMultiHitRay::RTCMultiHitRay ( )

Default constructor for RTCMultiHitRay.

Definition at line 28 of file EmbreeTargetShape.cpp.

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).

Definition at line 56 of file EmbreeTargetShape.cpp.

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).

Definition at line 86 of file EmbreeTargetShape.cpp.

References lastHit.

Member Data Documentation

◆ hitGeomIDs

unsigned Isis::RTCMultiHitRay::hitGeomIDs[16]

IDs of the geometries (bodies) hit.

Definition at line 67 of file EmbreeTargetShape.h.

Referenced by Isis::EmbreeTargetShape::multiHitFilter().

◆ hitPrimIDs

unsigned Isis::RTCMultiHitRay::hitPrimIDs[16]

IDs of the primitives (trinagles) hit.

Definition at line 68 of file EmbreeTargetShape.h.

Referenced by Isis::EmbreeTargetShape::getHitInformation(), and Isis::EmbreeTargetShape::multiHitFilter().

◆ hitUs

float Isis::RTCMultiHitRay::hitUs[16]

Barycentric u coordinate of the hits.

Definition at line 69 of file EmbreeTargetShape.h.

Referenced by Isis::EmbreeTargetShape::getHitInformation(), and Isis::EmbreeTargetShape::multiHitFilter().

◆ hitVs

float Isis::RTCMultiHitRay::hitVs[16]

Barycentric v coordinate of the hits.

Definition at line 70 of file EmbreeTargetShape.h.

Referenced by Isis::EmbreeTargetShape::getHitInformation(), and Isis::EmbreeTargetShape::multiHitFilter().

◆ lastHit


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