8#ifndef META_OCEAN_RENDERING_GEOMETRY_H
9#define META_OCEAN_RENDERING_GEOMETRY_H
This class is the base class for all rendering geometry nodes.
Definition rendering/Geometry.h:43
~Geometry() override
Destructs a geometry object.
ObjectType type() const override
Returns the type of this object.
virtual void addRenderable(const RenderableRef &renderable, const AttributeSetRef &attributes)
Adds a new renderable object to this geometry.
virtual RenderableRef renderable(const unsigned int index) const
Returns a specified renderable holds by this geometry object.
virtual void removeRenderable(const RenderableRef &renderable)
Removes a renderable object connected to this geometry.
std::map< RenderableRef, AttributeSetRef > Renderables
Definition of a map mapping renderable objects to attributes.
Definition rendering/Geometry.h:49
Geometry()
Creates a new geometry object.
virtual AttributeSetRef attributeSet(const unsigned int index) const
Returns an attribute set connected with a renderable object specified by the index.
virtual unsigned int numberRenderables() const
Returns the number of renderable objects connected to this geometry.
Renderables geometryRenderables
Renderables object connected to this geometry.
Definition rendering/Geometry.h:108
This is the base class for all rendering nodes.
Definition rendering/Node.h:47
ObjectType
Definition of different object type.
Definition Object.h:63
This class implements a smart rendering object reference.
Definition rendering/ObjectRef.h:34
SmartObjectRef< Geometry > GeometryRef
Definition of a smart object reference holding a geometry.
Definition rendering/Geometry.h:31
The namespace covering the entire Ocean framework.
Definition Accessor.h:15