39 #include <Eigen/Geometry>
42 #include <OpenGL/gl.h>
67 GLMesh(
const shapes::Mesh& mesh,
unsigned int mesh_label);
76 void render(
const Eigen::Isometry3d& transform)
const;
83 unsigned int mesh_label_;
GLMesh represents a mesh from geometric_shapes for rendering in GL frame buffers.
void render(const Eigen::Isometry3d &transform) const
renders the mesh in current OpenGL frame buffer (context)
GLMesh(const shapes::Mesh &mesh, unsigned int mesh_label)
Constructs a GLMesh object for given mesh and label.