Ocean
|
This class is the base class for all independent primitive objects. More...
#include <IndependentPrimitive.h>
Public Member Functions | |
ObjectType | type () const override |
Returns the type of this object. | |
![]() | |
const VertexSetRef & | vertexSet () const |
Returns the vertex set of this primitive object. | |
virtual void | setVertexSet (const VertexSetRef &vertexSet) |
Sets the vertex set of this primitive object. | |
ObjectType | type () const override |
Returns the type of this object. | |
![]() | |
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 | |
IndependentPrimitive () | |
Creates a new independent primitive object. | |
~IndependentPrimitive () override | |
Destructs an independent primitive object. | |
![]() | |
Primitive () | |
Creates a new primitive object. | |
~Primitive () override | |
Destructs a primitive object. | |
![]() | |
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 independent primitive objects.
|
protected |
Creates a new independent primitive object.
|
overrideprotected |
Destructs an independent primitive object.
|
overridevirtual |
Returns the type of this object.
Reimplemented from Ocean::Rendering::Object.
Reimplemented in Ocean::Rendering::Lines, Ocean::Rendering::Points, Ocean::Rendering::Quads, and Ocean::Rendering::Triangles.