Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Geo::AbstractRayChunk::ResultsIterator

    └>std::iterator<std::forward_iterator_tag, const RayResultHandle>

Iterator to a const ray result, allows iterating linearly over the ray results.

Functions

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


Anchor
a2a6a31201dc07c0ace75f3421ce9a8f6
a2a6a31201dc07c0ace75f3421ce9a8f6

bool Geo::AbstractRayChunk< T >::ResultsIterator::GetIsFrontFacing

...

public: bool GetIsFrontFacing() const

...

Is the intersection on the front-face of the triangle?


Anchor
ad32792fcd4e1183c6bf28345e78d6b38
ad32792fcd4e1183c6bf28345e78d6b38

bool Geo::AbstractRayChunk< T >::ResultsIterator::GetIsIntersection

...

public: bool GetIsIntersection() const

...

Checks if there was an intersection.


Anchor
ae3638a621e905971926f5f0ab1d10ea8
ae3638a621e905971926f5f0ab1d10ea8

const RayType* Geo::AbstractRayChunk< T >::ResultsIterator::GetRay

...

public: const RayType * GetRay() const

...

Gets the ray.


Anchor
a37cfeddd17fae1a9f5420c2771b9b6b1
a37cfeddd17fae1a9f5420c2771b9b6b1

Geo::v128 Geo::AbstractRayChunk< T >::ResultsIterator::GetRayIntersection

...

public: Geo::v128 GetRayIntersection() const

...

Gets the point of intersection.


Anchor
a91a1b539e9bb6fa6d284268aff0a3b29
a91a1b539e9bb6fa6d284268aff0a3b29

float Geo::AbstractRayChunk< T >::ResultsIterator::GetRayIntersectionDistance

...

public: float GetRayIntersectionDistance() const

...

Gets the distance along the ray at the intersection.


Anchor
a299f4fbf03c405c1017ee1b59b8774b0
a299f4fbf03c405c1017ee1b59b8774b0

const RayResult& Geo::AbstractRayChunk< T >::ResultsIterator::GetRayResult

...

public: const RayResult & GetRayResult() const

...

Gets the underlying RayResult.


Anchor
a0d6a1cfc5b0661b17205dd962be9e30f
a0d6a1cfc5b0661b17205dd962be9e30f

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.


Anchor
a1d18210be84919c9549cdb133a283a5d
a1d18210be84919c9549cdb133a283a5d

float Geo::AbstractRayChunk< T >::ResultsIterator::GetTValue

...

public: float GetTValue() const

...

Gets the t-value along the ray at the intersection point.


Anchor
aa88e8ead2331569adcf75834fbf4e26e
aa88e8ead2331569adcf75834fbf4e26e

bool Geo::AbstractRayChunk< T >::ResultsIterator::operator!=

...

public: bool operator!=
(
    const ResultsIterator & rhs
) const

...

Comparison.


Anchor
a9d8f11887f6ef3b694b2a71e9d81406f
a9d8f11887f6ef3b694b2a71e9d81406f

ResultsIterator& Geo::AbstractRayChunk< T >::ResultsIterator::operator++

...

public: ResultsIterator & operator++()

...

Advances this iterator to the next result.


Anchor
af9af7b95013d457ec937e16fd03de34a
af9af7b95013d457ec937e16fd03de34a

bool Geo::AbstractRayChunk< T >::ResultsIterator::operator==

...

public: bool operator==
(
    const ResultsIterator & rhs
) const

...

Comparison.


Anchor
aec07bc16dfceb07e53eb3671799a1d02
aec07bc16dfceb07e53eb3671799a1d02

Geo::AbstractRayChunk< T >::ResultsIterator::ResultsIterator

...

public: ResultsIterator()

...

Constructors.


Anchor
a3ce5654f94c0536c6301596b2cde3b34
a3ce5654f94c0536c6301596b2cde3b34

Geo::AbstractRayChunk< T >::ResultsIterator::ResultsIterator

...

public: ResultsIterator
(
    RayType * ray,
    RayResult * rayResult
)

...

Constructors.