8#ifndef META_OCEAN_RENDERING_GI_GEOMETRY_H
9#define META_OCEAN_RENDERING_GI_GEOMETRY_H
This class implements a 3D bounding box.
Definition BoundingBox.h:23
This class implements a bounding sphere.
Definition BoundingSphere.h:23
virtual RenderableRef renderable(const unsigned int index) const
Returns a specified renderable holds by this geometry object.
Geometry()
Creates a new geometry object.
void addRenderable(const RenderableRef &renderable, const AttributeSetRef &attributes) override
Adds a new renderable object to this geometry.
BoundingBox boundingBox(const bool involveLocalTransformation=true) const override
Returns the bounding box of this node.
void removeRenderable(const RenderableRef &renderable) override
Removes a renderable object connected to this geometry.
friend class GIFactory
Definition GIGeometry.h:33
void buildTracing(TracingGroup &group, const HomogenousMatrix4 &modelTransform, const LightSources &lightSources) const override
Builds the tracing object for this node and adds it to an already existing group of tracing objects.
GIGeometry()
Creates a new geometry object.
BoundingSphere boundingSphere(const bool involveLocalTransformation=true) const override
Returns the bounding sphere of this node.
~GIGeometry() override
Destructs a geometry object.
GINode()
Creates a new Global Illumination node object.
This class implements a group of tracing objects.
Definition TracingGroup.h:28
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition HomogenousMatrix4.h:44
SmartObjectRef< AttributeSet > AttributeSetRef
Definition of a smart object reference holding an attribute set.
Definition AttributeSet.h:32
SmartObjectRef< Renderable > RenderableRef
Definition of a smart object reference holding a renderable node.
Definition Renderable.h:29
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
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15