8 #ifndef META_OCEAN_RENDERING_GI_CYLINDER_H
9 #define META_OCEAN_RENDERING_GI_CYLINDER_H
23 namespace GlobalIllumination
67 bool setTop(
const bool visible)
override;
73 bool setSide(
const bool visible)
override;
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 cylinders.
Definition: rendering/Cylinder.h:36
This class implements a cylinder object.
Definition: GICylinder.h:34
ObjectType type() const override
Returns the type of this object.
Scalar cylinderHeight
Holds the height of this cylinder.
Definition: GICylinder.h:119
bool setRadius(const Scalar radius) override
Sets the radius of this cylinder.
BoundingSphere boundingSphere() const override
Returns the bounding sphere of this renderable object.
Scalar height() const override
Returns the height of this cylinder.
Scalar radius() const override
Returns the radius of this cylinder.
~GICylinder() override
Destructs a cylinder object.
void rebuildPrimitives()
Rebuilds the primitive vertex, normals and face sets.
Scalar cylinderRadius
Holds the radius of this cylinder.
Definition: GICylinder.h:122
BoundingBox boundingBox() const override
Returns the bounding box of this renderable object.
GICylinder()
Creates a new cylinder object.
bool setHeight(const Scalar height) override
Sets the height of this cylinder.
bool cylinderBottom
Holds the state whether the bottom face is visible.
Definition: GICylinder.h:131
bool cylinderTop
Holds the state whether the top face is visible.
Definition: GICylinder.h:125
bool setTop(const bool visible) override
Sets whether the top face of the cylinder is visible.
bool cylinderSide
Holds the state whether the side face is visible.
Definition: GICylinder.h:128
bool setBottom(const bool visible) override
Sets whether the bottom face of the cylinder is visible.
bool setSide(const bool visible) override
Sets whether the side face of the cylinder is visible.
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 triangle strips object.
Definition: GITriangleStrips.h:32
ObjectType
Definition of different object type.
Definition: Object.h:63
float Scalar
Definition of a scalar type.
Definition: Math.h:128
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15