class mrpt::opengl::CRenderizableShaderWireFrame

Overview

Renderizable generic renderer for objects using the wireframe shader.

See also:

opengl::Scene

#include <mrpt/opengl/CRenderizableShaderWireFrame.h>

class CRenderizableShaderWireFrame: public mrpt::opengl::CRenderizable
{
public:
    // construction

    CRenderizableShaderWireFrame();

    // methods

    virtual void onUpdateBuffers_Wireframe() = 0;
};

// direct descendants

template <int DIM>
class CGeneralizedEllipsoidTemplate;

class CAngularObservationMesh;
class CAssimpModel;
class CAxis;
class CBox;
class CColorBar;
class CFrustum;
class CGridPlaneXY;
class CGridPlaneXZ;
class CMesh;
class CMesh3D;
class COctoMapVoxels;
class CPlanarLaserScan;
class CPolyhedron;
class CSetOfLines;
class CSimpleLine;
class CVectorField2D;
class CVectorField3D;

Inherited Members

public:
    // structs

    struct OutdatedState;
    struct RenderContext;
    struct State;

    // methods

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

Methods

virtual void onUpdateBuffers_Wireframe() = 0

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