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 393 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 447 of file StockObjects.cpp.
Referenced by mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, mrpt::graphs::detail::TMRSlamNodeAnnotations, mrpt::graphs::detail::edge_annotations_empty >::drawEdgeRelPoses(), mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, mrpt::graphs::detail::TMRSlamNodeAnnotations, mrpt::graphs::detail::edge_annotations_empty >::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 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< mrpt::graphs::CNetworkOfPoses2DInf >::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 366 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 419 of file StockObjects.cpp.
Referenced by mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, mrpt::graphs::detail::TMRSlamNodeAnnotations, mrpt::graphs::detail::edge_annotations_empty >::drawEdgeRelPoses(), mrpt::graphs::detail::CVisualizer< CPOSE, MAPS_IMPLEMENTATION, mrpt::graphs::detail::TMRSlamNodeAnnotations, mrpt::graphs::detail::edge_annotations_empty >::drawNodeCorners(), mrpt::kinematics::CKinematicChain::getAs3DObject(), mrpt::opengl::graph_tools::graph_visualize(), mrpt::opengl::CSetOfObjects::posePDF2opengl(), and mrpt::nav::PlannerTPS_VirtualBase::renderMoveTree().
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 468 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 503 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 538 of file StockObjects.cpp.
References mrpt::DEG2RAD().
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 301 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::CSetOfTriangles::TTriangle::a, mrpt::opengl::CSetOfTriangles::TTriangle::b, mrpt::opengl::CSetOfTriangles::TTriangle::g, mrpt::opengl::CSetOfTriangles::TTriangle::r, mrpt::opengl::CSetOfTriangles::TTriangle::x, mrpt::opengl::CSetOfTriangles::TTriangle::y, and mrpt::opengl::CSetOfTriangles::TTriangle::z.
Referenced by mrpt::hmtslam::CLocalMetricHypothesis::getAs3DScene(), and mrpt::graphslam::CGraphSlamEngine< mrpt::graphs::CNetworkOfPoses2DInf >::initRobotModelVisualizationInternal().
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 238 of file StockObjects.cpp.
References mrpt::opengl::CPolyhedron::CreateCustomPrism().
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |