8#ifndef META_OCEAN_RENDERING_GI_TRIANGLES_H
9#define META_OCEAN_RENDERING_GI_TRIANGLES_H
22namespace GlobalIllumination
This class implements a 3D bounding box.
Definition BoundingBox.h:23
This class implements a bounding sphere.
Definition BoundingSphere.h:23
This class implements a class factory for all Global Illumination objects.
Definition GIFactory.h:30
This class implements the base class for all independent primitive.
Definition GIIndependentPrimitive.h:32
This class implements triangles.
Definition GITriangles.h:32
TriangleFaces faces() const override
Returns the faces of this triangles object.
~GITriangles() override
Destructs a triangles object.
void buildTracing(TracingGroup &group, const HomogenousMatrix4 &modelTransform, const AttributeSetRef &attributes, const LightSources &lightSources) const override
Builds the tracing object for this node and adds it to an already existing group of tracing objects.
BoundingBox boundingBox() const override
Returns the bounding box of this renderable object.
TriangleFaces trianglesFaces
Faces of the triangles.
Definition GITriangles.h:88
unsigned int numberFaces() const override
Returns the number of triangle faces defined in this primitive.
GITriangles()
Creates a new triangles object.
BoundingSphere boundingSphere() const override
Returns the bounding sphere of this renderable object.
void setFaces(const TriangleFaces &faces) override
Sets the faces of this triangles object.
This class implements a group of tracing objects.
Definition TracingGroup.h:28
This class is the base for all triangles objects.
Definition Triangles.h:42
std::vector< TriangleFace > TriangleFaces
Definition of a vector holding triangle faces.
Definition TriangleFace.h:30
std::vector< LightPair > LightSources
Definition of a vector holding light pairs.
Definition GILightSource.h:40
The namespace covering the entire Ocean framework.
Definition Accessor.h:15