moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
GLMesh represents a mesh from geometric_shapes for rendering in GL frame buffers. More...
#include <gl_mesh.h>
Public Member Functions | |
GLMesh (const shapes::Mesh &mesh, unsigned int mesh_label) | |
Constructs a GLMesh object for given mesh and label. More... | |
~GLMesh () | |
Destructor. More... | |
void | render (const Eigen::Isometry3d &transform) const |
renders the mesh in current OpenGL frame buffer (context) More... | |
GLMesh represents a mesh from geometric_shapes for rendering in GL frame buffers.
mesh_filter::GLMesh::GLMesh | ( | const shapes::Mesh & | mesh, |
unsigned int | mesh_label | ||
) |
Constructs a GLMesh object for given mesh and label.
[in] | mesh | |
[in] | mesh_label |
Definition at line 46 of file gl_mesh.cpp.
mesh_filter::GLMesh::~GLMesh | ( | ) |
Destructor.
Definition at line 76 of file gl_mesh.cpp.
void mesh_filter::GLMesh::render | ( | const Eigen::Isometry3d & | transform | ) | const |
renders the mesh in current OpenGL frame buffer (context)
[in] | transform | the modelview transformation describing the pose of the mesh in camera coordinate frame |
Definition at line 81 of file gl_mesh.cpp.