Isis 3 Programmer Reference
Isis::RayHitInformation Struct Reference

Container that holds the body fixed intersection point and unit surface normal for a hit. More...

#include <EmbreeTargetShape.h>

Collaboration diagram for Isis::RayHitInformation:
Collaboration graph

Public Member Functions

 RayHitInformation ()
 Default constructor for RayHitInformation.
 
 RayHitInformation (LinearAlgebra::Vector &location, LinearAlgebra::Vector &normal, int primID)
 Constructor for RayHitInformation given an intersection and unit surface normal.
 

Public Attributes

LinearAlgebra::Vector intersection
 The (x, y, z) intersection location.
 
LinearAlgebra::Vector surfaceNormal
 The unit surface normal vector at the intersection.
 
int primID
 The primitive ID of the hit.
 

Detailed Description

Container that holds the body fixed intersection point and unit surface normal for a hit.

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

Definition at line 118 of file EmbreeTargetShape.h.

Constructor & Destructor Documentation

◆ RayHitInformation() [1/2]

Isis::RayHitInformation::RayHitInformation ( )

Default constructor for RayHitInformation.

Definition at line 196 of file EmbreeTargetShape.cpp.

References intersection, primID, surfaceNormal, and Isis::LinearAlgebra::vector().

◆ RayHitInformation() [2/2]

Isis::RayHitInformation::RayHitInformation ( LinearAlgebra::Vector & location,
LinearAlgebra::Vector & normal,
int prim )

Constructor for RayHitInformation given an intersection and unit surface normal.

Parameters
locationThe body-fixed (x, y, z) location of the intersection in kilometers.
normalThe unit surface normal vector in body-fixed (x, y, z).
primIDThe primitive ID

Definition at line 211 of file EmbreeTargetShape.cpp.

Member Data Documentation

◆ intersection

LinearAlgebra::Vector Isis::RayHitInformation::intersection

The (x, y, z) intersection location.

Definition at line 122 of file EmbreeTargetShape.h.

Referenced by RayHitInformation().

◆ primID

int Isis::RayHitInformation::primID

The primitive ID of the hit.

Definition at line 124 of file EmbreeTargetShape.h.

Referenced by RayHitInformation().

◆ surfaceNormal

LinearAlgebra::Vector Isis::RayHitInformation::surfaceNormal

The unit surface normal vector at the intersection.

Definition at line 123 of file EmbreeTargetShape.h.

Referenced by RayHitInformation().


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