Main MRPT website > C++ reference
MRPT logo
Functions
mrpt::opengl::stock_objects Namespace Reference

Detailed Description

A collection of pre-built 3D objects for quick insertion in opengl::COpenGLScene objects.

Functions

CSetOfObjectsPtr OPENGL_IMPEXP RobotPioneer ()
 Returns a representation of a Pioneer II mobile base.
 
CSetOfObjectsPtr OPENGL_IMPEXP CornerXYZ (float scale=1.0)
 Returns three arrows representing a X,Y,Z 3D corner.
 
CSetOfObjectsPtr OPENGL_IMPEXP CornerXYZEye ()
 Returns three arrows representing a X,Y,Z 3D corner.
 
CSetOfObjectsPtr OPENGL_IMPEXP CornerXYZSimple (float scale=1.0, float lineWidth=1.0)
 Returns three arrows representing a X,Y,Z 3D corner (just thick lines instead of complex arrows for faster rendering than CornerXYZ).
 
CSetOfObjectsPtr OPENGL_IMPEXP CornerXYSimple (float scale=1.0, float lineWidth=1.0)
 Returns two arrows representing a X,Y 2D corner (just thick lines, fast to render).
 
CSetOfObjectsPtr OPENGL_IMPEXP BumblebeeCamera ()
 Returns a simple 3D model of a PointGrey Bumblebee stereo camera.
 

Function Documentation

CSetOfObjectsPtr OPENGL_IMPEXP mrpt::opengl::stock_objects::BumblebeeCamera ( )

Returns a simple 3D model of a PointGrey Bumblebee stereo camera.

The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.

mrpt::opengl::stock_objects::BumblebeeCamera()
preview_stock_objects_BumblebeeCamera.png
CSetOfObjectsPtr OPENGL_IMPEXP mrpt::opengl::stock_objects::CornerXYSimple ( float  scale = 1.0,
float  lineWidth = 1.0 
)

Returns two arrows representing a X,Y 2D corner (just thick lines, fast to render).

The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.

See Also
CornerXYZSimple, CornerXYZ, CornerXYZEye

Referenced by mrpt::opengl::graph_tools::graph_visualize().

CSetOfObjectsPtr OPENGL_IMPEXP mrpt::opengl::stock_objects::CornerXYZ ( float  scale = 1.0)

Returns three arrows representing a X,Y,Z 3D corner.

The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.

See Also
CornerXYZSimple, CornerXYSimple, CornerXYZEye
CSetOfObjectsPtr OPENGL_IMPEXP mrpt::opengl::stock_objects::CornerXYZEye ( )

Returns three arrows representing a X,Y,Z 3D corner.

Differently from CornerXYZ the arrowhead of Z axis ends where the object is placed. This is useful if you want to place this object with the same position and orientation of a camera. The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.

See Also
CornerXYZSimple, CornerXYSimple
CSetOfObjectsPtr OPENGL_IMPEXP mrpt::opengl::stock_objects::CornerXYZSimple ( float  scale = 1.0,
float  lineWidth = 1.0 
)

Returns three arrows representing a X,Y,Z 3D corner (just thick lines instead of complex arrows for faster rendering than CornerXYZ).

The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.

See Also
CornerXYZ, CornerXYSimple

Referenced by mrpt::opengl::graph_tools::graph_visualize().

CSetOfObjectsPtr OPENGL_IMPEXP mrpt::opengl::stock_objects::RobotPioneer ( )

Returns a representation of a Pioneer II mobile base.

The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.

mrpt::opengl::stock_objects::RobotPioneer()
preview_stock_objects_RobotPioneer.png



Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013