|
g2o
|
Classes | |
| class | GLUWrapper |
| handle the GLU quadratic More... | |
Functions | |
| void | drawArrow2D (float len, float head_width, float head_len) |
| void | drawPoseBox () |
| void | drawBox (GLfloat l, GLfloat w, GLfloat h) |
| void | drawPlane (GLfloat l, GLfloat w) |
| void | drawSphere (GLfloat radius) |
| void | drawEllipsoid (GLfloat r1, GLfloat r2, GLfloat r3) |
| void | drawCone (GLfloat radius, GLfloat height) |
| void | drawCylinder (GLfloat radius, GLfloat height) |
| void | drawDisk (GLfloat radius) |
| void | drawCircle (GLfloat radius, int segments) |
| void | drawPyramid (GLfloat length, GLfloat height) |
| void | drawRangeRing (GLfloat range, GLfloat fov, GLfloat range_width) |
| void | drawSlice (GLfloat radius, GLfloat height, GLfloat fov, int slices_per_circle) |
| void | drawPoint (float pointSize) |
| void G2O_OPENGL_API g2o::opengl::drawArrow2D | ( | float | len, |
| float | head_width, | ||
| float | head_len | ||
| ) |
draw a 2D arrow along the x axis with the given len
Definition at line 53 of file opengl_primitives.cpp.
| void G2O_OPENGL_API g2o::opengl::drawBox | ( | GLfloat | l, |
| GLfloat | w, | ||
| GLfloat | h | ||
| ) |
draw a box that is centered in the current coordinate frame
| l | length of the box (x dimension) |
| w | width of the box (y dimension) |
| h | height of the box (z dimension) |
Definition at line 100 of file opengl_primitives.cpp.
Referenced by drawPoseBox().
| void G2O_OPENGL_API g2o::opengl::drawCircle | ( | GLfloat | radius, |
| int | segments = 32 |
||
| ) |
draw a circle using GL_LINES
Definition at line 198 of file opengl_primitives.cpp.
| void G2O_OPENGL_API g2o::opengl::drawCone | ( | GLfloat | radius, |
| GLfloat | height | ||
| ) |
draw a cone
Definition at line 172 of file opengl_primitives.cpp.
References g2o::opengl::GLUWrapper::getQuadradic().
| void G2O_OPENGL_API g2o::opengl::drawCylinder | ( | GLfloat | radius, |
| GLfloat | height | ||
| ) |
draw a (closed) cylinder
| radius | the radius of the cylinder |
| height | the height of the cylinder |
Definition at line 181 of file opengl_primitives.cpp.
References g2o::opengl::GLUWrapper::getQuadradic().
| void G2O_OPENGL_API g2o::opengl::drawDisk | ( | GLfloat | radius | ) |
draw a disk
Definition at line 193 of file opengl_primitives.cpp.
References g2o::opengl::GLUWrapper::getQuadradic().
| void G2O_OPENGL_API g2o::opengl::drawEllipsoid | ( | GLfloat | r1, |
| GLfloat | r2, | ||
| GLfloat | r3 | ||
| ) |
draw a ellipsoid whose center is in the origin of the current coordinate frame
| r1 | radius along x axis |
| r2 | radius along y axis |
| r3 | radius along z axis |
Definition at line 162 of file opengl_primitives.cpp.
References g2o::opengl::GLUWrapper::getQuadradic().
| void G2O_OPENGL_API g2o::opengl::drawPlane | ( | GLfloat | l, |
| GLfloat | w | ||
| ) |
draw a plane in x-y dimension with a height of zero
| l | length in x |
| w | width in y |
Definition at line 145 of file opengl_primitives.cpp.
| void G2O_OPENGL_API g2o::opengl::drawPoint | ( | float | pointSize | ) |
draw a point in the origin, having a size of pointSize
Definition at line 297 of file opengl_primitives.cpp.
| void G2O_OPENGL_API g2o::opengl::drawPoseBox | ( | ) |
draws a box used to represent a 6d pose
Definition at line 67 of file opengl_primitives.cpp.
References drawBox().
| void G2O_OPENGL_API g2o::opengl::drawPyramid | ( | GLfloat | length, |
| GLfloat | height | ||
| ) |
draw a pyramid
Definition at line 210 of file opengl_primitives.cpp.
References g2o::opengl::GLUWrapper::getQuadradic().
| void G2O_OPENGL_API g2o::opengl::drawRangeRing | ( | GLfloat | range, |
| GLfloat | fov, | ||
| GLfloat | range_width = 0.05 |
||
| ) |
draw a range ring
| range | the range (radius) of the partial ring |
| fov | Field Of View of the range sensor |
| range_width | specify how thick the ring should be drawn |
Definition at line 219 of file opengl_primitives.cpp.
References g2o::opengl::GLUWrapper::getQuadradic().
| void G2O_OPENGL_API g2o::opengl::drawSlice | ( | GLfloat | radius, |
| GLfloat | height, | ||
| GLfloat | fov, | ||
| int | slices_per_circle = 32 |
||
| ) |
draw a slice of a cylinder (approximated with slices_per_circle triangles for the complete circle)
| radius | the radius of the cylinder |
| height | the height of the cylinder |
| fov | the "fov" of the slice (om degree) |
| slices_per_circle | the number of triangle used to approximate the fulle circle |
Definition at line 227 of file opengl_primitives.cpp.
| void G2O_OPENGL_API g2o::opengl::drawSphere | ( | GLfloat | radius | ) |
draw a sphere whose center is in the origin of the current coordinate frame
| radius | the radius of the sphere |
Definition at line 158 of file opengl_primitives.cpp.
References g2o::opengl::GLUWrapper::getQuadradic().