8#ifndef META_OCEAN_RENDERING_VERTEX_SET_H
9#define META_OCEAN_RENDERING_VERTEX_SET_H
This class is the base class for all rendering objects.
Definition Object.h:54
ObjectType
Definition of different object type.
Definition Object.h:63
This class implements a smart rendering object reference.
Definition rendering/ObjectRef.h:34
This class is the base class for all rendering vertex sets.
Definition VertexSet.h:47
virtual TextureCoordinates textureCoordinates(const unsigned int layerIndex) const
Returns the texture coordinates of this set.
virtual std::string phantomTextureCoordinateSystem() const
Returns the explicit reference coordinate system of the phantom object, if any.
virtual void set(const Vertices &vertices, const Normals &normals, const TextureCoordinates &textureCoordinates, const RGBAColors &colors)
Sets several attributes concurrently.
virtual RGBAColors colors() const
Returns the colors of this set.
virtual void setVertices(const Vector3 *vertices, const size_t size)
Sets the vertices for this set.
virtual void setTextureCoordinates(const TextureCoordinates &textureCoordinates, const unsigned int layerIndex)
Sets the texels for this set.
virtual void setNormals(const Vector3 *normals, const size_t size)
Sets the normals for this set.
virtual void setVertices(const Vertices &vertices)
Sets the vertices for this set.
virtual Vertices vertices() const
Returns the vertices of this set.
virtual void setPhantomTextureCoordinateSystem(const std::string &reference)
Sets the explicit reference coordinate system of the phantom objects.
VertexSet()
Creates a new vertex set object.
virtual unsigned int numberNormals() const
Returns the number of normals of this set.
virtual unsigned int numberColors() const
Returns the number of colors of this set.
virtual unsigned int numberVertices() const
Returns the number of vertices of this set.
virtual Normals normals() const
Returns the normals of this set.
virtual void setPhantomTextureCoordinates(const Vertices &textureCoordinates, const unsigned int layerIndex)
Sets 3D texels for this set used for phantom objects.
virtual void setNormals(const Normals &normals)
Sets the normals for this set.
~VertexSet() override
Destructs a vertex set object.
ObjectType type() const override
Returns the type of this object.
virtual void setColors(const RGBAColors &colors)
Sets the colors for this set.
virtual unsigned int numberTextureCoordinates(const unsigned int layerIndex) const
Returns the number of texture coordinates of this set.
std::vector< RGBAColor > RGBAColors
Definition of a vector holding rgba color objects.
Definition RGBAColor.h:27
std::vector< Vertex > Vertices
Definition of a vector holding vertices.
Definition rendering/Rendering.h:119
SmartObjectRef< VertexSet > VertexSetRef
Definition of a smart object reference holding a vertex set node.
Definition VertexSet.h:31
std::vector< TextureCoordinate > TextureCoordinates
Definition of a vector holding texture coordinates.
Definition rendering/Rendering.h:113
std::vector< Normal > Normals
Definition of a vector holding normals.
Definition rendering/Rendering.h:107
The namespace covering the entire Ocean framework.
Definition Accessor.h:15