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 392 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 
)

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

Definition at line 445 of file StockObjects.cpp.

Referenced by mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >::drawEdgeRelPoses(), mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >::drawNodeCorners(), and mrpt::opengl::graph_tools::graph_visualize().

Here is the caller graph for this function:

◆ CornerXYZ()

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

Definition at line 209 of file StockObjects.cpp.

References mrpt::opengl::CArrow::Create().

Referenced by mrpt::slam::CRangeBearingKFSLAM2D::getAs3DObject(), mrpt::slam::CRangeBearingKFSLAM::getAs3DObject(), mrpt::maps::CBeaconMap::getAs3DObject(), mrpt::hmtslam::CLocalMetricHypothesis::getAs3DScene(), mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::initRobotModelVisualizationInternal(), mrpt::opengl::CSetOfObjects::posePDF2opengl(), mrpt::nav::PlannerTPS_VirtualBase::renderMoveTree(), and TEST_F().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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 365 of file StockObjects.cpp.

References mrpt::opengl::CArrow::Create().

Here is the call graph for this function:

◆ 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 466 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 500 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 535 of file StockObjects.cpp.

◆ 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 301 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 30 of file StockObjects.cpp.

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

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

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 238 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: 4363012a5 Tue Nov 19 10:55:26 2019 +0100 at mar nov 19 11:00:13 CET 2019