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

◆ hitPrimIDs

unsigned Isis::RTCMultiHitRay::hitPrimIDs[16]

IDs of the primitives (trinagles) hit.

Definition at line 68 of file EmbreeTargetShape.h.

◆ hitUs

float Isis::RTCMultiHitRay::hitUs[16]

Barycentric u coordinate of the hits.

Definition at line 69 of file EmbreeTargetShape.h.

◆ hitVs

float Isis::RTCMultiHitRay::hitVs[16]

Barycentric v coordinate of the hits.

Definition at line 70 of file EmbreeTargetShape.h.

◆ lastHit

int Isis::RTCMultiHitRay::lastHit

Index of the last hit in the hit containers.

Definition at line 71 of file EmbreeTargetShape.h.

Referenced by Isis::EmbreeShapeModel::pointToRay(), RTCMultiHitRay(), RTCMultiHitRay(), and RTCMultiHitRay().


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