Main MRPT website > C++ reference for MRPT 1.5.7
stock_objects.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 #ifndef opengl_StockObjects_H
10 #define opengl_StockObjects_H
11 
13 
14 namespace mrpt
15 {
16  namespace opengl
17  {
18  /** A collection of pre-built 3D objects for quick insertion in opengl::COpenGLScene objects.
19  * \ingroup mrpt_opengl_grp
20  */
21  namespace stock_objects
22  {
23  /** Returns a representation of Rhodon.
24  * The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.
25  * <div align="center">
26  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;">
27  * <tr> <td> mrpt::opengl::stock_objects::RobotRhodon() </td> <td> \image html preview_stock_objects_RobotRhodon.png </td> </tr>
28  * </table>
29  * </div>
30  */
31  CSetOfObjectsPtr OPENGL_IMPEXP RobotRhodon();
32 
33  /** Returns a representation of RobotGiraff.
34  * The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.
35  * <div align="center">
36  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;">
37  * <tr> <td> mrpt::opengl::stock_objects::RobotGiraff() </td> <td> \image html preview_stock_objects_RobotGiraff.png </td> </tr>
38  * </table>
39  * </div>
40  */
41  CSetOfObjectsPtr OPENGL_IMPEXP RobotGiraff();
42 
43  /** Returns a representation of a Pioneer II mobile base.
44  * The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.
45  * <div align="center">
46  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;">
47  * <tr> <td> mrpt::opengl::stock_objects::RobotPioneer() </td> <td> \image html preview_stock_objects_RobotPioneer.png </td> </tr>
48  * </table>
49  * </div>
50  */
51  CSetOfObjectsPtr OPENGL_IMPEXP RobotPioneer();
52 
53  /** Returns three arrows representing a X,Y,Z 3D corner.
54  * The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.
55  * \sa CornerXYZSimple, CornerXYSimple, CornerXYZEye
56  * <div align="center">
57  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;">
58  * <tr> <td> mrpt::opengl::stock_objects::CornerXYZ() </td> <td> \image html preview_stock_objects_CornerXYZ.png </td> </tr>
59  * </table>
60  * </div>
61  */
62  CSetOfObjectsPtr OPENGL_IMPEXP CornerXYZ(float scale=1.0);
63 
64  /** Returns three arrows representing a X,Y,Z 3D corner.
65  * Differently from CornerXYZ the arrowhead of Z axis ends where the object is placed.
66  * This is useful if you want to place this object with the same position and orientation of a camera.
67  * The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.
68  * \sa CornerXYZSimple, CornerXYSimple
69  * <div align="center">
70  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;">
71  * <tr> <td> mrpt::opengl::stock_objects::CornerXYZ() </td> <td> \image html preview_stock_objects_CornerXYZ.png </td> </tr>
72  * </table>
73  * </div>
74  */
75  CSetOfObjectsPtr OPENGL_IMPEXP CornerXYZEye();
76 
77  /** Returns three arrows representing a X,Y,Z 3D corner (just thick lines instead of complex arrows for faster rendering than CornerXYZ).
78  * The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.
79  * \sa CornerXYZ, CornerXYSimple
80  * <div align="center">
81  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;">
82  * <tr> <td> mrpt::opengl::stock_objects::CornerXYZSimple() </td> <td> \image html preview_stock_objects_CornerXYZSimple.png </td> </tr>
83  * </table>
84  * </div>
85  */
86  CSetOfObjectsPtr OPENGL_IMPEXP CornerXYZSimple(float scale=1.0, float lineWidth=1.0);
87 
88  /** Returns two arrows representing a X,Y 2D corner (just thick lines, fast to render).
89  * The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.
90  * \sa CornerXYZSimple, CornerXYZ, CornerXYZEye
91  * <div align="center">
92  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;">
93  * <tr> <td> mrpt::opengl::stock_objects::CornerXYSimple() </td> <td> \image html preview_stock_objects_CornerXYSimple.png </td> </tr>
94  * </table>
95  * </div>
96  */
97  CSetOfObjectsPtr OPENGL_IMPEXP CornerXYSimple(float scale=1.0, float lineWidth=1.0);
98 
99  /** Returns a simple 3D model of a PointGrey Bumblebee stereo camera.
100  * The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.
101  * <div align="center">
102  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;">
103  * <tr> <td> mrpt::opengl::stock_objects::BumblebeeCamera() </td> <td> \image html preview_stock_objects_BumblebeeCamera.png </td> </tr>
104  * </table>
105  * </div>
106  */
107  CSetOfObjectsPtr OPENGL_IMPEXP BumblebeeCamera();
108 
109  /** Returns a simple 3D model of a Hokuyo URG scanner.
110  * The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.
111  * <div align="center">
112  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;">
113  * <tr> <td> mrpt::opengl::stock_objects::Hokuyo_URG() </td> <td> \image html preview_stock_objects_Hokuyo_URG.png </td> </tr>
114  * </table>
115  * </div>
116  */
117  CSetOfObjectsPtr OPENGL_IMPEXP Hokuyo_URG();
118 
119  /** Returns a simple 3D model of a Hokuyo UTM scanner.
120  * The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.
121  * <div align="center">
122  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;">
123  * <tr> <td> mrpt::opengl::stock_objects::Hokuyo_UTM() </td> <td> \image html preview_stock_objects_Hokuyo_UTM.png </td> </tr>
124  * </table>
125  * </div>
126  */
127  CSetOfObjectsPtr OPENGL_IMPEXP Hokuyo_UTM();
128 
129  /** Returns a simple 3D model of a househam sprayer.
130  * The generated object must be inserted in a opengl::COpenGLScene or opengl::CSetOfObjects.
131  * <div align="center">
132  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px; border-style: solid;">
133  * <tr> <td> mrpt::opengl::stock_objects::Househam_Sprayer() </td> <td> \image html preview_stock_objects_Househam_Sprayer.png </td> </tr>
134  * </table>
135  * </div>
136  */
137  CSetOfObjectsPtr OPENGL_IMPEXP Househam_Sprayer();
138 
139  } // end namespace stock_objects
140  }
141 
142 } // End of namespace
143 
144 
145 #endif
GLenum GLenum GLenum GLenum GLenum scale
Definition: glext.h:5717
CSetOfObjectsPtr OPENGL_IMPEXP RobotGiraff()
Returns a representation of RobotGiraff.
CSetOfObjectsPtr OPENGL_IMPEXP CornerXYZ(float scale=1.0)
Returns three arrows representing a X,Y,Z 3D corner.
CSetOfObjectsPtr OPENGL_IMPEXP CornerXYZEye()
Returns three arrows representing a X,Y,Z 3D corner.
CSetOfObjectsPtr OPENGL_IMPEXP RobotRhodon()
Returns a representation of Rhodon.
CSetOfObjectsPtr OPENGL_IMPEXP CornerXYSimple(float scale=1.0, float lineWidth=1.0)
Returns two arrows representing a X,Y 2D corner (just thick lines, fast to render).
CSetOfObjectsPtr OPENGL_IMPEXP 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 f...
CSetOfObjectsPtr OPENGL_IMPEXP RobotPioneer()
Returns a representation of a Pioneer II mobile base.
CSetOfObjectsPtr OPENGL_IMPEXP Househam_Sprayer()
Returns a simple 3D model of a househam sprayer.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
CSetOfObjectsPtr OPENGL_IMPEXP Hokuyo_UTM()
Returns a simple 3D model of a Hokuyo UTM scanner.
CSetOfObjectsPtr OPENGL_IMPEXP Hokuyo_URG()
Returns a simple 3D model of a Hokuyo URG scanner.
CSetOfObjectsPtr OPENGL_IMPEXP BumblebeeCamera()
Returns a simple 3D model of a PointGrey Bumblebee stereo camera.



Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019