8 #ifndef META_OCEAN_RENDERING_GLES_LINE_STRIPS_H
9 #define META_OCEAN_RENDERING_GLES_LINE_STRIPS_H
22 namespace GLESceneGraph
110 GLuint vboIndices_ = 0u;
This class implements a GLESceneGraph attribute set object.
Definition: GLESAttributeSet.h:40
This class implements a class factory for all GLESceneGraph objects.
Definition: GLESFactory.h:30
This class implements a base for all GLESceneGraph framebuffers.
Definition: rendering/glescenegraph/GLESFramebuffer.h:34
This class implements a GLESceneGraph line strips object.
Definition: GLESLineStrips.h:32
VertexIndexGroups strips() const override
Returns the strips of this primitive object.
void setLineWidth(const Scalar width) override
Sets the width (thickness) in pixels at which all lines will be rendered.
void updateBoundingBox() override
Updates the bounding box of this primitive.
void setStrips(const VertexIndexGroups &strips) override
Sets the strips of this primitive object.
void release()
Releases the internal vertex buffer object containing the line strips indices.
~GLESLineStrips() override
Destructs a GLESceneGraph line strips object.
GLESLineStrips()
Creates a new GLESceneGraph line strips object.
void render(const SquareMatrix4 &projectionMatrix, const HomogenousMatrix4 &camera_T_object, const HomogenousMatrix4 &camera_T_world, const SquareMatrix3 &normalMatrix, GLESShaderProgram &shaderProgram) override
Renders the line strips defined by the associated vertex set and the defined line faces.
VertexIndexGroups strips_
The line strips.
Definition: GLESLineStrips.h:113
unsigned int numberStrips() const override
Returns the number of line strips defined in this primitive.
void drawLineStrips()
Draws all line strips with the currently bound shader program.
void render(const GLESFramebuffer &framebuffer, const SquareMatrix4 &projectionMatrix, const HomogenousMatrix4 &camera_T_object, const HomogenousMatrix4 &camera_T_world, const SquareMatrix3 &normalMatrix, GLESAttributeSet &attributeSet, const Lights &lights) override
Renders the line strips defined by the associated vertex set and the defined line faces.
Scalar lineWidth() const override
Returns the width (thickness ) in pixels at which all lines will be rendered.
This class implements a container for an OpenGL ES shader program.
Definition: GLESShaderProgram.h:53
This class is the base class for all GLESceneGraph stripped primitives.
Definition: GLESStripPrimitive.h:32
This class is the base for all rendering line strips.
Definition: LineStrips.h:35
float Scalar
Definition of a scalar type.
Definition: Math.h:128
std::vector< VertexIndices > VertexIndexGroups
Definition of a vector holding vertex indices.
Definition: rendering/Rendering.h:125
std::vector< LightPair > Lights
Definition of a set holding light sources.
Definition: GLESLightSource.h:44
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15