8 #ifndef META_OCEAN_RENDERING_CYLINDER_H
9 #define META_OCEAN_RENDERING_CYLINDER_H
58 virtual bool top()
const;
96 virtual bool setTop(
const bool visible);
This class is the base class for all cylinders.
Definition: rendering/Cylinder.h:36
virtual bool top() const
Returns whether the top face of the cylinder is visible.
virtual bool setTop(const bool visible)
Sets whether the top face of the cylinder is visible.
virtual Scalar radius() const
Returns the radius of this cylinder.
virtual bool side() const
Reutrn whether the side face of the cylinder is visible.
virtual bool setSide(const bool visible)
Sets whether the side face of the cylinder is visible.
virtual bool bottom() const
Returns whether the bottom face of the cylinder is visible.
Cylinder()
Creates a new cylinder object.
~Cylinder() override
Destructs a cylinder object.
virtual bool setRadius(const Scalar radius)
Sets the radius of this cylinder.
virtual bool setHeight(const Scalar height)
Sets the height of this cylinder.
virtual Scalar height() const
Returns the height of this cylinder.
ObjectType type() const override
Returns the type of this object.
virtual bool setBottom(const bool visible)
Sets whether the bottom face of the cylinder is visible.
ObjectType
Definition of different object type.
Definition: Object.h:63
This class is the base class for all geometries.
Definition: rendering/Shape.h:35
This class implements a smart rendering object reference.
Definition: rendering/ObjectRef.h:34
float Scalar
Definition of a scalar type.
Definition: Math.h:128
SmartObjectRef< Cylinder > CylinderRef
Definition of a smart object reference holding a cylinder.
Definition: rendering/Cylinder.h:22
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15