g2o
Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
g2o::opengl::GLUWrapper Class Reference

handle the GLU quadratic More...

Static Public Member Functions

static GLUquadricObj * getQuadradic ()
 

Protected Member Functions

 GLUWrapper ()
 
 ~GLUWrapper ()
 

Protected Attributes

GLUquadricObj * _quadratic
 

Detailed Description

handle the GLU quadratic

Definition at line 36 of file opengl_primitives.cpp.

Constructor & Destructor Documentation

g2o::opengl::GLUWrapper::GLUWrapper ( )
inlineprotected

Definition at line 45 of file opengl_primitives.cpp.

References _quadratic.

46  {
47  //std::cerr << __PRETTY_FUNCTION__ << std::endl;
48  _quadratic = gluNewQuadric(); // Create A Pointer To The Quadric Object ( NEW )
49  gluQuadricNormals(_quadratic, GLU_SMOOTH); // Create Smooth Normals ( NEW )
50  }
g2o::opengl::GLUWrapper::~GLUWrapper ( )
inlineprotected

Definition at line 51 of file opengl_primitives.cpp.

References _quadratic.

52  {
53  //std::cerr << __PRETTY_FUNCTION__ << std::endl;
54  gluDeleteQuadric(_quadratic);
55  }

Member Function Documentation

static GLUquadricObj* g2o::opengl::GLUWrapper::getQuadradic ( )
inlinestatic

Member Data Documentation

GLUquadricObj* g2o::opengl::GLUWrapper::_quadratic
protected

Definition at line 56 of file opengl_primitives.cpp.

Referenced by getQuadradic(), GLUWrapper(), and ~GLUWrapper().


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