Public Member Functions | Private Attributes | 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)
 Constucts a GLMesh object for given mesh and label. More...
 
void render (const Eigen::Affine3d &transform) const
 renders the mesh in current OpenGL frame buffer (context) More...
 
 ~GLMesh ()
 Destructor. More...
 

Private Attributes

GLuint list_
 the OpenGL mesh represented as a OpenGL list More...
 
unsigned int mesh_label_
 label of current mesh 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 60 of file gl_mesh.h.

Constructor & Destructor Documentation

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

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

mesh_filter::GLMesh::~GLMesh ( )

Destructor.

Definition at line 76 of file gl_mesh.cpp.

Member Function Documentation

void mesh_filter::GLMesh::render ( const Eigen::Affine3d &  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.

Member Data Documentation

GLuint mesh_filter::GLMesh::list_
private

the OpenGL mesh represented as a OpenGL list

Definition at line 82 of file gl_mesh.h.

unsigned int mesh_filter::GLMesh::mesh_label_
private

label of current mesh

Definition at line 85 of file gl_mesh.h.


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


perception
Author(s): Ioan Sucan , Jon Binney , Suat Gedikli
autogenerated on Mon Jan 15 2018 03:51:11