MRPT
2.0.4
|
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... | |
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.
Definition at line 318 of file StockObjects.cpp.
References mrpt::opengl::CPolyhedron::CreateCubicPrism().
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.
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().
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.
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().
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.
Definition at line 291 of file StockObjects.cpp.
References mrpt::opengl::CArrow::Create().
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.
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().
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.
Definition at line 396 of file StockObjects.cpp.
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.
Definition at line 430 of file StockObjects.cpp.
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.
Definition at line 465 of file StockObjects.cpp.
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.
Definition at line 227 of file StockObjects.cpp.
References mrpt::opengl::CPolyhedron::CreateCustomPrism().
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.
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().
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.
Definition at line 164 of file StockObjects.cpp.
References mrpt::opengl::CPolyhedron::CreateCustomPrism().
Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020 |