Public Member Functions | Private Attributes
mesh_filter::GLMesh Class Reference

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

#include <gl_mesh.h>

List of all members.

Public Member Functions

 GLMesh (const shapes::Mesh &mesh, unsigned int mesh_label)
 Constucts a GLMesh object for given mesh and label.
void render (const Eigen::Affine3d &transform) const
 renders the mesh in current OpenGL frame buffer (context)
 ~GLMesh ()
 Destructor.

Private Attributes

GLuint list_
 the OpenGL mesh represented as a OpenGL list
unsigned int mesh_label_
 label of current mesh

Detailed Description

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

Author:
Suat Gedikli (gedikli@willowgarage.com)

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 (gedikli@willowgarage.com)
Parameters:
[in]mesh
[in]mesh_label

Definition at line 46 of file gl_mesh.cpp.

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 (gedikli@willowgarage.com)

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 Wed Jan 17 2018 03:32:02