8#ifndef META_OCEAN_RENDERING_GI_BOX_H
9#define META_OCEAN_RENDERING_GI_BOX_H
23namespace GlobalIllumination
30class OCEAN_RENDERING_GI_EXPORT
GIBox :
This class implements a 3D bounding box.
Definition BoundingBox.h:23
This class implements a bounding sphere.
Definition BoundingSphere.h:23
This class is the base class for all boxes.
Definition rendering/Box.h:37
This class implements a GLESceneGraph box object.
Definition GIBox.h:34
Scalar boxDiagonal
Diagonal of the box.
Definition GIBox.h:98
Vector3 boxSize
Dimension of the box.
Definition GIBox.h:95
void rebuildPrimitives()
Rebuilds the primitive vertex, normals and face sets.
Vector3 size() const override
Returns the dimensions of the box.
bool setSize(const Vector3 &size) override
Sets the dimensions of the box.
GIBox()
Creates a new box object.
~GIBox() override
Destructs a box object.
BoundingSphere boundingSphere() const override
Returns the bounding sphere of this renderable object.
BoundingBox boundingBox() const override
Returns the bounding box of this renderable object.
ObjectType type() const override
Returns the type of this 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.
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 triangles.
Definition GITriangles.h:32
This class implements a group of tracing objects.
Definition TracingGroup.h:28
ObjectType
Definition of different object type.
Definition Object.h:63
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