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
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. |
Anchor | ||||
---|---|---|---|---|
|
bool Geo::AbstractRayChunk< T >::ResultsIterator::GetIsFrontFacing
...
public: bool GetIsFrontFacing() const
...
Is the intersection on the front-face of the triangle?
Anchor | ||||
---|---|---|---|---|
|
bool Geo::AbstractRayChunk< T >::ResultsIterator::GetIsIntersection
...
public: bool GetIsIntersection() const
...
Checks if there was an intersection.
Anchor | ||||
---|---|---|---|---|
|
const RayType* Geo::AbstractRayChunk< T >::ResultsIterator::GetRay
...
public: const RayType * GetRay() const
...
Gets the ray.
Anchor | ||||
---|---|---|---|---|
|
Geo::v128 Geo::AbstractRayChunk< T >::ResultsIterator::GetRayIntersection
...
public: Geo::v128 GetRayIntersection() const
...
Gets the point of intersection.
Anchor | ||||
---|---|---|---|---|
|
float Geo::AbstractRayChunk< T >::ResultsIterator::GetRayIntersectionDistance
...
public: float GetRayIntersectionDistance() const
...
Gets the distance along the ray at the intersection.
Anchor | ||||
---|---|---|---|---|
|
const RayResult& Geo::AbstractRayChunk< T >::ResultsIterator::GetRayResult
...
public: const RayResult & GetRayResult() const
...
Gets the underlying RayResult.
Anchor | ||||
---|---|---|---|---|
|
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 | ||||
---|---|---|---|---|
|
float Geo::AbstractRayChunk< T >::ResultsIterator::GetTValue
...
public: float GetTValue() const
...
Gets the t-value along the ray at the intersection point.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::AbstractRayChunk< T >::ResultsIterator::operator!=
...
public: bool operator!=
(
const ResultsIterator & rhs
) const
...
Comparison.
Anchor | ||||
---|---|---|---|---|
|
ResultsIterator& Geo::AbstractRayChunk< T >::ResultsIterator::operator++
...
public: ResultsIterator & operator++()
...
Advances this iterator to the next result.
Anchor | ||||
---|---|---|---|---|
|
bool Geo::AbstractRayChunk< T >::ResultsIterator::operator==
...
public: bool operator==
(
const ResultsIterator & rhs
) const
...
Comparison.
Anchor | ||||
---|---|---|---|---|
|
Geo::AbstractRayChunk< T >::ResultsIterator::ResultsIterator
...
public: ResultsIterator()
...
Constructors.
Anchor | ||||
---|---|---|---|---|
|
Geo::AbstractRayChunk< T >::ResultsIterator::ResultsIterator
...
public: ResultsIterator
(
RayType * ray,
RayResult * rayResult
)
...
Constructors.