8#ifndef META_OCEAN_RENDERING_GI_SPHERE_H
9#define META_OCEAN_RENDERING_GI_SPHERE_H
23namespace 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 Global Illumination shape objects.
Definition GIShape.h:34
This class implements a spehere node.
Definition GISphere.h:34
BoundingBox boundingBox() const override
Returns the bounding box of this renderable object.
BoundingSphere boundingSphere() const override
Returns the bounding sphere of this renderable object.
GISphere()
Creates a new sphere node.
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.
ObjectType type() const override
Returns the type of this object.
bool setRadius(const Scalar radius) override
Sets the radius of this sphere.
~GISphere() override
Destructs a sphere node.
void rebuildPrimitives()
Rebuilds the primitive vertex, normals and face sets.
Scalar radius() const override
Returns the radius of this sphere.
Scalar sphereRadius
Radius of this sphere.
Definition GISphere.h:95
This class implements a triangle strips object.
Definition GITriangleStrips.h:32
This class implements a group of tracing objects.
Definition TracingGroup.h:28
ObjectType
Definition of different object type.
Definition Object.h:63
This class is the base class for all spheres.
Definition rendering/Sphere.h:36
float Scalar
Definition of a scalar type.
Definition Math.h:129
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