class mrpt::opengl::CRenderizableShaderTriangles

Renderizable generic renderer for objects using the triangles shader.

See also:

opengl::COpenGLScene

#include <mrpt/opengl/CRenderizableShaderTriangles.h>

class CRenderizableShaderTriangles: public mrpt::opengl::CRenderizable
{
public:
    //
methods

    virtual void onUpdateBuffers_Triangles() = 0;
};

// direct descendants

template <int DIM>
class CGeneralizedEllipsoidTemplate;

class CAngularObservationMesh;
class CArrow;
class CAssimpModel;
class CBox;
class CColorBar;
class CCylinder;
class CDisk;
class CFrustum;
class CMesh3D;
class COctoMapVoxels;
class CPlanarLaserScan;
class CPolyhedron;
class CSetOfTriangles;
class CVectorField2D;

Inherited Members

public:
    // structs

    struct RenderContext;

    //
methods

    virtual void render(const RenderContext& rc) const = 0;
    virtual void renderUpdateBuffers() const = 0;
    virtual shader_list_t requiredShaders() const;
    virtual auto getBoundingBox() const = 0;
    virtual void freeOpenGLResources() = 0;

Methods

virtual void onUpdateBuffers_Triangles() = 0

Must be implemented in derived classes to update the geometric entities to be drawn in “m_*_buffer” fields.