This is the documentation for Enlighten.
class Geo AbstractRayChunk ResultsIterator
class Geo::AbstractRayChunk::ResultsIterator
Iterator to a const ray result, allows iterating linearly over the ray results.
Functions
Name | Description |
---|---|
GetIsFrontFacing() | Is the intersection on the front-face of the triangle? |
GetIsIntersection() | Checks if there was an intersection. |
GetRay() | Gets the ray. |
GetRayIntersection() | Gets the point of intersection. |
GetRayIntersectionDistance() | Gets the distance along the ray at the intersection. |
GetRayResult() | Gets the underlying RayResult. |
GetTriangleIdx() | Gets the index of the intersected triangle. If this is negative nothing was intersected. |
GetTValue() | Gets the t-value along the ray at the intersection point. |
operator!=(const ResultsIterator &) | Comparison. |
operator++() | Advances this iterator to the next result. |
operator==(const ResultsIterator &) | Comparison. |
ResultsIterator() | Constructors. |
ResultsIterator(RayType *, RayResult *) | Constructors. |
bool Geo::AbstractRayChunk< T >::ResultsIterator::GetIsFrontFacing
public: bool GetIsFrontFacing() const
Is the intersection on the front-face of the triangle?
bool Geo::AbstractRayChunk< T >::ResultsIterator::GetIsIntersection
public: bool GetIsIntersection() const
Checks if there was an intersection.
const RayType* Geo::AbstractRayChunk< T >::ResultsIterator::GetRay
public: const RayType * GetRay() const
Gets the ray.
Geo::v128 Geo::AbstractRayChunk< T >::ResultsIterator::GetRayIntersection
public: Geo::v128 GetRayIntersection() const
Gets the point of intersection.
float Geo::AbstractRayChunk< T >::ResultsIterator::GetRayIntersectionDistance
public: float GetRayIntersectionDistance() const
Gets the distance along the ray at the intersection.
const RayResult& Geo::AbstractRayChunk< T >::ResultsIterator::GetRayResult
public: const RayResult & GetRayResult() const
Gets the underlying RayResult.
Geo::s32 Geo::AbstractRayChunk< T >::ResultsIterator::GetTriangleIdx
public: Geo::s32 GetTriangleIdx() const
Gets the index of the intersected triangle. If this is negative nothing was intersected.
float Geo::AbstractRayChunk< T >::ResultsIterator::GetTValue
public: float GetTValue() const
Gets the t-value along the ray at the intersection point.
bool Geo::AbstractRayChunk< T >::ResultsIterator::operator!=
public: bool operator!=
(
  const ResultsIterator & rhs
) const
Comparison.
ResultsIterator& Geo::AbstractRayChunk< T >::ResultsIterator::operator++
public: ResultsIterator & operator++()
Advances this iterator to the next result.
bool Geo::AbstractRayChunk< T >::ResultsIterator::operator==
public: bool operator==
(
  const ResultsIterator & rhs
) const
Comparison.
Geo::AbstractRayChunk< T >::ResultsIterator::ResultsIterator
public: ResultsIterator()
Constructors.
Geo::AbstractRayChunk< T >::ResultsIterator::ResultsIterator
public: ResultsIterator
(
  RayType * ray,
  RayResult * rayResult
)
Constructors.