8 #ifndef META_OCEAN_RENDERING_BOX_H
9 #define META_OCEAN_RENDERING_BOX_H
36 class OCEAN_RENDERING_EXPORT
Box :
virtual public Shape
This class is the base class for all boxes.
Definition: rendering/Box.h:37
virtual bool setSize(const Vector3 &size)
Sets the dimensions of the box.
virtual Vector3 size() const
Returns the dimensions of the box.
Box()
Creates a new box object with default edge length (1, 1, 1) The box will be defined about the origin...
ObjectType type() const override
Returns the type of this object.
~Box() override
Destructs a box 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
SmartObjectRef< Box > BoxRef
Definition of a smart object reference holding a box.
Definition: rendering/Box.h:22
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15