8 #ifndef META_OCEAN_RENDERING_CONE_H
9 #define META_OCEAN_RENDERING_CONE_H
37 class OCEAN_RENDERING_EXPORT
Cone :
virtual public Shape
This class is the base class for all cones.
Definition: rendering/Cone.h:38
ObjectType type() const override
Returns the type of this object.
virtual bool side() const
Returns whether the side face of the cone is visible.
virtual bool setHeight(const Scalar height)
Sets the height of this cone.
virtual bool setSide(const bool visible)
Sets whether the side face of the cone is visible.
virtual bool bottom() const
Returns whether the bottom face of the cone is visible.
~Cone() override
Destructs a cone object.
virtual Scalar height() const
Returns the height of this cone.
virtual Scalar radius() const
Returns the radius of this cone.
virtual bool setRadius(const Scalar radius)
Sets the radius of this cone.
virtual bool setBottom(const bool visible)
Sets whether the bottom face of the cone is visible.
Cone()
Creates a new cone object.
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< Cone > ConeRef
Definition of a smart object reference holding a cone.
Definition: rendering/Cone.h:22
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15