gtsam_points
Loading...
Searching...
No Matches
drawable.hpp
Go to the documentation of this file.
1#ifndef GLK_DRAWABLE_HPP
2#define GLK_DRAWABLE_HPP
3
4#include <vector>
5#include <Eigen/Core>
6
7#include <GL/gl3w.h>
8#include <glk/glsl_shader.hpp>
9
10namespace glk {
11
12class Drawable {
13public:
14 using Ptr = std::shared_ptr<Drawable>;
15 using ConstPtr = std::shared_ptr<const Drawable>;
16
17 virtual ~Drawable() {}
18
19 virtual void draw(glk::GLSLShader& shader) const {}
20};
21
22} // namespace glk
23
24#endif
Definition drawable.hpp:12
virtual void draw(glk::GLSLShader &shader) const
Definition drawable.hpp:19
virtual ~Drawable()
Definition drawable.hpp:17
std::shared_ptr< Drawable > Ptr
Definition drawable.hpp:14
std::shared_ptr< const Drawable > ConstPtr
Definition drawable.hpp:15
Definition glsl_shader.hpp:20
Definition async_buffer_copy.hpp:6