moveit2
The MoveIt Motion Planning Framework for ROS 2.
Public Member Functions | List of all members
mesh_filter::GLMesh Class Reference

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...
 

Detailed Description

GLMesh represents a mesh from geometric_shapes for rendering in GL frame buffers.

Author
Suat Gedikli (gedik.nosp@m.li@w.nosp@m.illow.nosp@m.gara.nosp@m.ge.co.nosp@m.m)

Definition at line 58 of file gl_mesh.h.

Constructor & Destructor Documentation

◆ GLMesh()

mesh_filter::GLMesh::GLMesh ( const shapes::Mesh &  mesh,
unsigned int  mesh_label 
)

Constructs a GLMesh object for given mesh and label.

Author
Suat Gedikli (gedik.nosp@m.li@w.nosp@m.illow.nosp@m.gara.nosp@m.ge.co.nosp@m.m)
Parameters
[in]mesh
[in]mesh_label

Definition at line 46 of file gl_mesh.cpp.

◆ ~GLMesh()

mesh_filter::GLMesh::~GLMesh ( )

Destructor.

Definition at line 76 of file gl_mesh.cpp.

Member Function Documentation

◆ render()

void mesh_filter::GLMesh::render ( const Eigen::Isometry3d &  transform) const

renders the mesh in current OpenGL frame buffer (context)

Parameters
[in]transformthe modelview transformation describing the pose of the mesh in camera coordinate frame
Author
Suat Gedikli (gedik.nosp@m.li@w.nosp@m.illow.nosp@m.gara.nosp@m.ge.co.nosp@m.m)

Definition at line 81 of file gl_mesh.cpp.


The documentation for this class was generated from the following files: