Isis 3 Programmer Reference
|
Struct for capturing multiple intersections when using embree::rtcintersectscene. More...
#include <EmbreeTargetShape.h>
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... | |
Struct for capturing multiple intersections when using embree::rtcintersectscene.
Definition at line 60 of file EmbreeTargetShape.h.
Isis::RTCMultiHitRay::RTCMultiHitRay | ( | ) |
Default constructor for RTCMultiHitRay.
Definition at line 45 of file EmbreeTargetShape.cpp.
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). |
Definition at line 73 of file EmbreeTargetShape.cpp.
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). |
Definition at line 103 of file EmbreeTargetShape.cpp.
References lastHit.
unsigned Isis::RTCMultiHitRay::hitGeomIDs[16] |
IDs of the geometries (bodies) hit.
Definition at line 83 of file EmbreeTargetShape.h.
Referenced by Isis::EmbreeTargetShape::multiHitFilter().
unsigned Isis::RTCMultiHitRay::hitPrimIDs[16] |
IDs of the primitives (trinagles) hit.
Definition at line 84 of file EmbreeTargetShape.h.
Referenced by Isis::EmbreeTargetShape::getHitInformation(), and Isis::EmbreeTargetShape::multiHitFilter().
float Isis::RTCMultiHitRay::hitUs[16] |
Barycentric u coordinate of the hits.
Definition at line 85 of file EmbreeTargetShape.h.
Referenced by Isis::EmbreeTargetShape::getHitInformation(), and Isis::EmbreeTargetShape::multiHitFilter().
float Isis::RTCMultiHitRay::hitVs[16] |
Barycentric v coordinate of the hits.
Definition at line 86 of file EmbreeTargetShape.h.
Referenced by Isis::EmbreeTargetShape::getHitInformation(), and Isis::EmbreeTargetShape::multiHitFilter().
int Isis::RTCMultiHitRay::lastHit |
Index of the last hit in the hit containers.
Definition at line 87 of file EmbreeTargetShape.h.
Referenced by Isis::EmbreeTargetShape::getHitInformation(), Isis::EmbreeShapeModel::intersectSurface(), Isis::EmbreeShapeModel::isVisibleFrom(), Isis::EmbreeShapeModel::localRadius(), Isis::EmbreeTargetShape::multiHitFilter(), Isis::EmbreeShapeModel::pointToRay(), RTCMultiHitRay(), and Isis::EmbreeShapeModel::sortHits().