#ifndef CYLINDERGLRENDERER_H #define CYLINDERGLRENDERER_H #include #include #include /** * @brief Cylinder renderer */ class CylinderGLRenderer { public: CylinderGLRenderer(); CylinderGLRenderer(int nPoints); /** * @brief Init this renderer to draw a cylinder with a finite number of points */ void init(int nPoints); /** * @brief Render a cylinder */ void render(); /** * @brief Returns the array that contains values */ const std::vector& getValues() const; /** * @brief Returns the array that contains indices */ const std::vector& getIndices() const; private: std::vector m_values; std::vector m_indices; }; #endif // CYLINDERGLRENDERER_H