Main MRPT website > C++ reference for MRPT 1.5.6
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 RobotRhodon ()
 Returns a representation of Rhodon. More...
 
CSetOfObjectsPtr OPENGL_IMPEXP RobotGiraff ()
 Returns a representation of RobotGiraff. More...
 
CSetOfObjectsPtr OPENGL_IMPEXP RobotPioneer ()
 Returns a representation of a Pioneer II mobile base. More...
 
CSetOfObjectsPtr OPENGL_IMPEXP CornerXYZ (float scale=1.0)
 Returns three arrows representing a X,Y,Z 3D corner. More...
 
CSetOfObjectsPtr OPENGL_IMPEXP CornerXYZEye ()
 Returns three arrows representing a X,Y,Z 3D corner. More...
 
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). More...
 
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). More...
 
CSetOfObjectsPtr OPENGL_IMPEXP BumblebeeCamera ()
 Returns a simple 3D model of a PointGrey Bumblebee stereo camera. More...
 
CSetOfObjectsPtr OPENGL_IMPEXP Hokuyo_URG ()
 Returns a simple 3D model of a Hokuyo URG scanner. More...
 
CSetOfObjectsPtr OPENGL_IMPEXP Hokuyo_UTM ()
 Returns a simple 3D model of a Hokuyo UTM scanner. More...
 
CSetOfObjectsPtr OPENGL_IMPEXP Househam_Sprayer ()
 Returns a simple 3D model of a househam sprayer. More...
 

Function Documentation

CSetOfObjectsPtr 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

Definition at line 326 of file StockObjects.cpp.

References mrpt::opengl::CCylinder::Create(), mrpt::opengl::CSetOfObjects::Create(), and mrpt::opengl::CPolyhedron::CreateCubicPrism().

CSetOfObjectsPtr mrpt::opengl::stock_objects::CornerXYSimple ( float  scale = 1.0,
float  lineWidth = 1.0 
)
CSetOfObjectsPtr mrpt::opengl::stock_objects::CornerXYZ ( float  scale = 1.0)
CSetOfObjectsPtr 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

Definition at line 290 of file StockObjects.cpp.

CSetOfObjectsPtr mrpt::opengl::stock_objects::CornerXYZSimple ( float  scale = 1.0,
float  lineWidth = 1.0 
)
CSetOfObjectsPtr mrpt::opengl::stock_objects::Hokuyo_URG ( )

Returns a simple 3D model of a Hokuyo URG scanner.

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

mrpt::opengl::stock_objects::Hokuyo_URG()
preview_stock_objects_Hokuyo_URG.png

Definition at line 399 of file StockObjects.cpp.

CSetOfObjectsPtr mrpt::opengl::stock_objects::Hokuyo_UTM ( )

Returns a simple 3D model of a Hokuyo UTM scanner.

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

mrpt::opengl::stock_objects::Hokuyo_UTM()
preview_stock_objects_Hokuyo_UTM.png

Definition at line 430 of file StockObjects.cpp.

CSetOfObjectsPtr mrpt::opengl::stock_objects::Househam_Sprayer ( )

Returns a simple 3D model of a househam sprayer.

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

mrpt::opengl::stock_objects::Househam_Sprayer()
preview_stock_objects_Househam_Sprayer.png

Definition at line 461 of file StockObjects.cpp.

References mrpt::utils::DEG2RAD().

CSetOfObjectsPtr mrpt::opengl::stock_objects::RobotGiraff ( )

Returns a representation of RobotGiraff.

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

mrpt::opengl::stock_objects::RobotGiraff()
preview_stock_objects_RobotGiraff.png

Definition at line 226 of file StockObjects.cpp.

References mrpt::opengl::CPolyhedron::CreateCustomPrism().

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

Returns a representation of Rhodon.

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

mrpt::opengl::stock_objects::RobotRhodon()
preview_stock_objects_RobotRhodon.png

Definition at line 164 of file StockObjects.cpp.

References mrpt::opengl::CCylinder::Create(), and mrpt::opengl::CPolyhedron::CreateCustomPrism().




Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018