MRPT  2.0.1
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 318 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 372 of file StockObjects.cpp.

References mrpt::opengl::CCylinder::Create(), mrpt::poses::CPose3D::FromString(), and R.

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 call graph for this function:
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 136 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 291 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 
)

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

Definition at line 343 of file StockObjects.cpp.

References mrpt::opengl::CCylinder::Create(), mrpt::poses::CPose3D::FromString(), and R.

Referenced by mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >::drawEdgeRelPoses(), mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, TMRSlamNodeAnnotations, EDGE_ANNOTATIONS >::drawNodeCorners(), mrpt::kinematics::CKinematicChain::getAs3DObject(), mrpt::opengl::graph_tools::graph_visualize(), mrpt::opengl::CSetOfObjects::posePDF2opengl(), mrpt::nav::PlannerTPS_VirtualBase::renderMoveTree(), and mrpt::apps::KFSLAMApp::Run_KF_SLAM().

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

◆ 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 396 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 430 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 465 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 227 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::TTriangle::a(), mrpt::opengl::TTriangle::b(), mrpt::opengl::TTriangle::computeNormals(), mrpt::opengl::TTriangle::g(), mrpt::opengl::TTriangle::r(), mrpt::opengl::TTriangle::setColor(), and mrpt::opengl::TTriangle::vertex().

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

Here is the call graph for this function:
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 164 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 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020