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

Detailed Description

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

Functions

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

Function Documentation

◆ BumblebeeCamera()

CSetOfObjects::Ptr 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 395 of file StockObjects.cpp.

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

Here is the call graph for this function:

◆ CornerXYSimple()

CSetOfObjects::Ptr mrpt::opengl::stock_objects::CornerXYSimple ( float  scale = 1.0,
float  lineWidth = 1.0 
)

◆ CornerXYZ()

CSetOfObjects::Ptr mrpt::opengl::stock_objects::CornerXYZ ( float  scale = 1.0)

◆ CornerXYZEye()

CSetOfObjects::Ptr 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 368 of file StockObjects.cpp.

◆ CornerXYZSimple()

CSetOfObjects::Ptr mrpt::opengl::stock_objects::CornerXYZSimple ( float  scale = 1.0,
float  lineWidth = 1.0 
)

◆ Hokuyo_URG()

CSetOfObjects::Ptr 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 470 of file StockObjects.cpp.

◆ Hokuyo_UTM()

CSetOfObjects::Ptr 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 505 of file StockObjects.cpp.

◆ Househam_Sprayer()

CSetOfObjects::Ptr 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 540 of file StockObjects.cpp.

References mrpt::utils::DEG2RAD().

Here is the call graph for this function:

◆ RobotGiraff()

CSetOfObjects::Ptr 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 303 of file StockObjects.cpp.

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

Here is the call graph for this function:

◆ RobotPioneer()

CSetOfObjects::Ptr 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

Definition at line 32 of file StockObjects.cpp.

References mrpt::opengl::CSetOfTriangles::TTriangle::r.

Referenced by mrpt::hmtslam::CLocalMetricHypothesis::getAs3DScene(), and mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::initRobotModelVisualizationInternal().

Here is the caller graph for this function:

◆ RobotRhodon()

CSetOfObjects::Ptr 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 240 of file StockObjects.cpp.

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

Here is the call graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019