Isis 3 Programmer Reference
Isis::RTCOcclusionRay Struct Reference

Struct for capturing occluded plates when using embree::rtcintersectscene. More...

#include <EmbreeTargetShape.h>

Inheritance diagram for Isis::RTCOcclusionRay:
Inheritance graph
Collaboration diagram for Isis::RTCOcclusionRay:
Collaboration graph

Public Member Functions

 RTCOcclusionRay ()
 Default constructor for RTCOcclussionRay. More...
 
 RTCOcclusionRay (const std::vector< double > &origin, const std::vector< double > &direction)
 Constructor for RTCOcclusionRay given a ray origin and look direction. More...
 
 RTCOcclusionRay (LinearAlgebra::Vector origin, LinearAlgebra::Vector direction)
 Constructor for RTCOcclusionRay given a ray origin and look direction as ISIS linear algebra vectors. More...
 

Public Attributes

int lastHit
 Index of the last hit in the hit containers. More...
 
unsigned ignorePrimID
 IDs of the primitives (trinagles) which should be ignored. More...
 

Detailed Description

Struct for capturing occluded plates when using embree::rtcintersectscene.

Author
2017-05-15 Kristin Berry
History:
2017-05-15 Kristin Berry - Original Version

Definition at line 99 of file EmbreeTargetShape.h.

Constructor & Destructor Documentation

◆ RTCOcclusionRay() [1/3]

Isis::RTCOcclusionRay::RTCOcclusionRay ( )

Default constructor for RTCOcclussionRay.

Definition at line 129 of file EmbreeTargetShape.cpp.

References ignorePrimID, and lastHit.

◆ RTCOcclusionRay() [2/3]

Isis::RTCOcclusionRay::RTCOcclusionRay ( const std::vector< double > &  origin,
const std::vector< double > &  direction 
)

Constructor for RTCOcclusionRay 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 158 of file EmbreeTargetShape.cpp.

References ignorePrimID, and lastHit.

◆ RTCOcclusionRay() [3/3]

Isis::RTCOcclusionRay::RTCOcclusionRay ( LinearAlgebra::Vector  origin,
LinearAlgebra::Vector  direction 
)

Constructor for RTCOcclusionRay 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 187 of file EmbreeTargetShape.cpp.

References ignorePrimID, and lastHit.

Member Data Documentation

◆ ignorePrimID

unsigned Isis::RTCOcclusionRay::ignorePrimID

IDs of the primitives (trinagles) which should be ignored.

Definition at line 122 of file EmbreeTargetShape.h.

Referenced by Isis::EmbreeShapeModel::intersectSurface(), Isis::EmbreeTargetShape::occlusionFilter(), and RTCOcclusionRay().

◆ lastHit

int Isis::RTCOcclusionRay::lastHit

Index of the last hit in the hit containers.

Definition at line 121 of file EmbreeTargetShape.h.

Referenced by RTCOcclusionRay().


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