Ocean
|
This class is the base class for all geometries. More...
#include <Shape.h>
Public Member Functions | |
ObjectType | type () const override |
Returns the type of this object. | |
![]() | |
ObjectId | id () const |
Returns the unique object id of this object. | |
const std::string & | name () const |
Returns the name of this object. | |
virtual void | setName (const std::string &name) |
Sets or changes the name of this object. | |
virtual const std::string & | engineName () const =0 |
Returns the name of the owner engine. | |
ObjectRefs | parentObjects () const |
Returns all parent objects. | |
ObjectRefSet | parentNodes () const |
Returns all parent nodes. | |
virtual std::string | descriptiveInformation () const |
Returns descriptive information about the object as string. | |
Protected Member Functions | |
Shape () | |
Creates a new shape node. | |
~Shape () override | |
Destructs a shape node. | |
![]() | |
Renderable () | |
Creates a new renderable object. | |
~Renderable () override | |
Destructs a renderable object. | |
![]() | |
Object () | |
Creates a new object. | |
Object (const Object &object)=delete | |
Disabled copy constructor. | |
virtual | ~Object () |
Destructs an object. | |
Engine & | engine () const |
Returns the render engine which is owner of this object. | |
void | registerParent (const ObjectId parentId) |
Registers a parent node for this (child) node. | |
void | unregisterParent (const ObjectId parentId) |
Unregisters a parent node for this (child) node. | |
void | registerThisObjectAsParent (const ObjectRef &child) |
Registers this object at a child as parent object. | |
void | unregisterThisObjectAsParent (const ObjectRef &child) |
Unregisters this object from a child as parent. | |
Object & | operator= (const Object &object)=delete |
Disabled copy operator. | |
This class is the base class for all geometries.
|
protected |
Creates a new shape node.
|
overrideprotected |
Destructs a shape node.
|
overridevirtual |
Returns the type of this object.
Reimplemented from Ocean::Rendering::Renderable.
Reimplemented in Ocean::Rendering::Sphere, and Ocean::Rendering::Text.