Isis 3 Programmer Reference
|
Container that holds the body fixed intersection point and unit surface normal for a hit. More...
#include <EmbreeTargetShape.h>
Public Member Functions | |
RayHitInformation () | |
Default constructor for RayHitInformation. More... | |
RayHitInformation (LinearAlgebra::Vector &location, LinearAlgebra::Vector &normal, int primID) | |
Constructor for RayHitInformation given an intersection and unit surface normal. More... | |
Public Attributes | |
LinearAlgebra::Vector | intersection |
The (x, y, z) intersection location. More... | |
LinearAlgebra::Vector | surfaceNormal |
The unit surface normal vector at the intersection. More... | |
int | primID |
The primitive ID of the hit. More... | |
Container that holds the body fixed intersection point and unit surface normal for a hit.
Definition at line 134 of file EmbreeTargetShape.h.
Isis::RayHitInformation::RayHitInformation | ( | ) |
Default constructor for RayHitInformation.
Definition at line 213 of file EmbreeTargetShape.cpp.
References intersection, primID, surfaceNormal, and Isis::LinearAlgebra::vector().
Isis::RayHitInformation::RayHitInformation | ( | LinearAlgebra::Vector & | location, |
LinearAlgebra::Vector & | normal, | ||
int | prim | ||
) |
Constructor for RayHitInformation given an intersection and unit surface normal.
location | The body-fixed (x, y, z) location of the intersection in kilometers. |
normal | The unit surface normal vector in body-fixed (x, y, z). |
primID | The primitive ID |
Definition at line 228 of file EmbreeTargetShape.cpp.
LinearAlgebra::Vector Isis::RayHitInformation::intersection |
The (x, y, z) intersection location.
Definition at line 138 of file EmbreeTargetShape.h.
Referenced by Isis::EmbreeShapeModel::isVisibleFrom(), Isis::EmbreeShapeModel::localRadius(), RayHitInformation(), Isis::EmbreeShapeModel::sortHits(), and Isis::EmbreeShapeModel::updateIntersection().
int Isis::RayHitInformation::primID |
The primitive ID of the hit.
Definition at line 140 of file EmbreeTargetShape.h.
Referenced by RayHitInformation().
LinearAlgebra::Vector Isis::RayHitInformation::surfaceNormal |
The unit surface normal vector at the intersection.
Definition at line 139 of file EmbreeTargetShape.h.
Referenced by RayHitInformation(), and Isis::EmbreeShapeModel::updateIntersection().