8#ifndef META_OCEAN_RENDERING_GI_TRIANGLE_STRIPS_H
9#define META_OCEAN_RENDERING_GI_TRIANGLE_STRIPS_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 is the base class for all stripped primitives.
Definition GIStripPrimitive.h:32
This class implements a triangle strips object.
Definition GITriangleStrips.h:32
unsigned int numberStrips() const override
Returns the number of triangle strips defined in this primitive.
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.
unsigned int triangleStripsNumberIndices
Number of indices for all strips.
Definition GITriangleStrips.h:85
BoundingSphere boundingSphere() const override
Returns the bounding sphere of this renderable object.
unsigned int triangleStripsNumberStrips
Number of strip elements.
Definition GITriangleStrips.h:82
void setStrips(const VertexIndexGroups &strips) override
Sets the strips of this primitive object.
~GITriangleStrips() override
Destructs a triangle strips object.
GITriangleStrips()
Creates a new triangle strips object.
BoundingBox boundingBox() const override
Returns the bounding box of this renderable object.
This class implements a group of tracing objects.
Definition TracingGroup.h:28
This class is the base for all rendering triangle strips.
Definition TriangleStrips.h:36
std::vector< VertexIndices > VertexIndexGroups
Definition of a vector holding vertex indices.
Definition rendering/Rendering.h:125
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