8#ifndef META_OCEAN_RENDERING_GI_RAY_INTERSECTION_H
9#define META_OCEAN_RENDERING_GI_RAY_INTERSECTION_H
117 explicit inline operator bool()
const;
206inline RayIntersection::operator bool()
const
static bool isEqual(const Scalar first, const Scalar second)
static constexpr Scalar maxValue()
This class implements a ray intersection object.
Definition RayIntersection.h:44
const Normal & normal() const
Returns the normal.
Definition RayIntersection.h:175
bool operator<(const RayIntersection &intersection) const
Compares two objects.
Definition RayIntersection.h:201
TextureCoordinate intersectionTextureCoordinate
Intersection texture coordinate.
Definition RayIntersection.h:131
const TracingObject * intersectionTracingObject
Renderable object.
Definition RayIntersection.h:137
const Vector3 & position() const
Returns the intersection position.
Definition RayIntersection.h:165
const Vector3 & direction() const
Returns the intersection direction.
Definition RayIntersection.h:170
Normal intersectionNormal
Intersection normal.
Definition RayIntersection.h:128
const LightSources & lightSources() const
Returns the light sources.
Definition RayIntersection.h:196
const TextureCoordinate & textureCoordinate() const
Returns the intersection texture coordinate.
Definition RayIntersection.h:180
Scalar intersectionDistance
Intersection distance.
Definition RayIntersection.h:134
const TracingObject * tracingObject() const
Returns the renderable object.
Definition RayIntersection.h:190
LightSources intersectionLightSources
Light sources.
Definition RayIntersection.h:140
Vector3 intersectionDirection
Intersection direction.
Definition RayIntersection.h:125
Scalar distance() const
Returns the distance.
Definition RayIntersection.h:185
Vector3 intersectionPosition
Intersection position.
Definition RayIntersection.h:122
RayIntersection()
Creates an empty ray intersection object.
Definition RayIntersection.h:143
This class is the abstract base class for all tracing objects.
Definition TracingObject.h:39
VectorT3< Scalar > Vector3
Definition of a 3D vector.
Definition Vector3.h:29
float Scalar
Definition of a scalar type.
Definition Math.h:129
Vector3 Normal
Definition of a 3D normal.
Definition rendering/Rendering.h:83
Vector2 TextureCoordinate
Definition of a 2D texture coordinate.
Definition rendering/Rendering.h:89
std::vector< LightPair > LightSources
Definition of a vector holding light pairs.
Definition GILightSource.h:40
Namespace of the Rendering Global Illumination library.
Definition GIAttribute.h:23
std::vector< RayIntersection > RayIntersections
Definition of a vector holding ray intersection objects.
Definition RayIntersection.h:37
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15