8#ifndef META_OCEAN_TRACKING_MAPTEXTURING_TRIANGLES_ID_RENDERER_H
9#define META_OCEAN_TRACKING_MAPTEXTURING_TRIANGLES_ID_RENDERER_H
68 bool render(
const Rendering::VertexSetRef& vertexSet,
const Rendering::TrianglesRef& triangles,
const unsigned int numberTriangles,
const Rendering::TextureFramebufferRef& trianglesStateFramebuffer,
const SquareMatrix4& projectionMatrix,
const HomogenousMatrix4& world_T_camera,
const unsigned int width,
const unsigned int height,
const uint8_t minimalTriangleState,
Frame* idFrame =
nullptr,
Frame* depthFrame =
nullptr);
This class implements Ocean's image class.
Definition Frame.h:1969
This class is the base class for all rendering engines like.
Definition Engine.h:46
This class implements a renderer for triangles with individual color ids.
Definition TrianglesIdRenderer.h:38
static const char * programVertexShaderColorId_
The vertex shader part.
Definition TrianglesIdRenderer.h:99
Rendering::TextureFramebufferRef textureFramebuffer_
The texture framebuffer used when rendering the color ids.
Definition TrianglesIdRenderer.h:93
void release()
Explicitly releases this renderer and releases all resources.
Rendering::ShaderProgramRef shaderProgram_
The shader program rendering individual triangles with individual color ids.
Definition TrianglesIdRenderer.h:90
static const char * partPlatform_
The platform-specific shader part.
Definition TrianglesIdRenderer.h:96
bool initialize(const Rendering::Engine &engine)
Initializes this renderer.
static const char * programFragmentShaderColorId_
The fragment shader part.
Definition TrianglesIdRenderer.h:102
bool isValid() const
Returns whether this renderer has been initialized successfully.
const Rendering::TextureFramebufferRef & textureFramebuffer() const
Returns the current texture framebuffer of this renderer.
Definition TrianglesIdRenderer.h:105
bool render(const Rendering::VertexSetRef &vertexSet, const Rendering::TrianglesRef &triangles, const unsigned int numberTriangles, const Rendering::TextureFramebufferRef &trianglesStateFramebuffer, const SquareMatrix4 &projectionMatrix, const HomogenousMatrix4 &world_T_camera, const unsigned int width, const unsigned int height, const uint8_t minimalTriangleState, Frame *idFrame=nullptr, Frame *depthFrame=nullptr)
Renders triangles with individual ids.
~TrianglesIdRenderer()
Destructs this renderer and releases all resources.
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition HomogenousMatrix4.h:44
SquareMatrixT4< Scalar > SquareMatrix4
Definition of the SquareMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with ...
Definition SquareMatrix4.h:39
SmartObjectRef< TextureFramebuffer > TextureFramebufferRef
Definition of a smart object reference holding a texture framebuffer.
Definition rendering/TextureFramebuffer.h:32
SmartObjectRef< Triangles > TrianglesRef
Definition of a smart object reference holding a triangles node.
Definition Triangles.h:29
SmartObjectRef< VertexSet > VertexSetRef
Definition of a smart object reference holding a vertex set node.
Definition VertexSet.h:31
SmartObjectRef< ShaderProgram > ShaderProgramRef
Definition of a smart object reference holding a shader program object.
Definition rendering/ShaderProgram.h:37
Definition BlockedMesh.h:28
Namespace of the Tracker library.
The namespace covering the entire Ocean framework.
Definition Accessor.h:15