Isis 3 Developer 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

Constructor & Destructor Documentation

◆ RTCOcclusionRay() [1/3]

Isis::RTCOcclusionRay::RTCOcclusionRay ( )

Default constructor for RTCOcclussionRay.

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

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

References ignorePrimID, and lastHit.

Member Data Documentation

◆ ignorePrimID

unsigned Isis::RTCOcclusionRay::ignorePrimID

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

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

◆ lastHit

int Isis::RTCOcclusionRay::lastHit

Index of the last hit in the hit containers.

Referenced by RTCOcclusionRay().


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