Main MRPT website > C++ reference for MRPT 1.9.9
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-2018, 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
19  * opengl::COpenGLScene objects.
20  * \ingroup mrpt_opengl_grp
21  */
22 namespace stock_objects
23 {
24 /** Returns a representation of Rhodon.
25  * The generated object must be inserted in a opengl::COpenGLScene or
26  * opengl::CSetOfObjects.
27  * <div align="center">
28  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px;
29  * border-style: solid;">
30  * <tr> <td> mrpt::opengl::stock_objects::RobotRhodon() </td> <td> \image
31  * html preview_stock_objects_RobotRhodon.png </td> </tr>
32  * </table>
33  * </div>
34  */
36 
37 /** Returns a representation of RobotGiraff.
38  * The generated object must be inserted in a opengl::COpenGLScene or
39  * opengl::CSetOfObjects.
40  * <div align="center">
41  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px;
42  * border-style: solid;">
43  * <tr> <td> mrpt::opengl::stock_objects::RobotGiraff() </td> <td> \image
44  * html preview_stock_objects_RobotGiraff.png </td> </tr>
45  * </table>
46  * </div>
47  */
49 
50 /** Returns a representation of a Pioneer II mobile base.
51  * The generated object must be inserted in a opengl::COpenGLScene or
52  * opengl::CSetOfObjects.
53  * <div align="center">
54  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px;
55  * border-style: solid;">
56  * <tr> <td> mrpt::opengl::stock_objects::RobotPioneer() </td> <td> \image
57  * html preview_stock_objects_RobotPioneer.png </td> </tr>
58  * </table>
59  * </div>
60  */
62 
63 /** Returns three arrows representing a X,Y,Z 3D corner.
64  * The generated object must be inserted in a opengl::COpenGLScene or
65  * opengl::CSetOfObjects.
66  * \sa CornerXYZSimple, CornerXYSimple, CornerXYZEye
67  * <div align="center">
68  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px;
69  * border-style: solid;">
70  * <tr> <td> mrpt::opengl::stock_objects::CornerXYZ() </td> <td> \image html
71  * preview_stock_objects_CornerXYZ.png </td> </tr>
72  * </table>
73  * </div>
74  */
76 
77 /** Returns three arrows representing a X,Y,Z 3D corner.
78  * Differently from CornerXYZ the arrowhead of Z axis ends where the object is
79  * placed.
80  * This is useful if you want to place this object with the same position and
81  * orientation of a camera.
82  * The generated object must be inserted in a opengl::COpenGLScene or
83  * opengl::CSetOfObjects.
84  * \sa CornerXYZSimple, CornerXYSimple
85  * <div align="center">
86  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px;
87  * border-style: solid;">
88  * <tr> <td> mrpt::opengl::stock_objects::CornerXYZ() </td> <td> \image html
89  * preview_stock_objects_CornerXYZ.png </td> </tr>
90  * </table>
91  * </div>
92  */
94 
95 /** Returns three arrows representing a X,Y,Z 3D corner (just thick lines
96  * instead of complex arrows for faster rendering than CornerXYZ).
97  * The generated object must be inserted in a opengl::COpenGLScene or
98  * opengl::CSetOfObjects.
99  * \sa CornerXYZ, CornerXYSimple
100  * <div align="center">
101  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px;
102  * border-style: solid;">
103  * <tr> <td> mrpt::opengl::stock_objects::CornerXYZSimple() </td> <td>
104  * \image html preview_stock_objects_CornerXYZSimple.png </td> </tr>
105  * </table>
106  * </div>
107  */
108 CSetOfObjects::Ptr CornerXYZSimple(float scale = 1.0, float lineWidth = 1.0);
109 
110 /** Returns two arrows representing a X,Y 2D corner (just thick lines, fast to
111  * render).
112  * The generated object must be inserted in a opengl::COpenGLScene or
113  * opengl::CSetOfObjects.
114  * \sa CornerXYZSimple, CornerXYZ, CornerXYZEye
115  * <div align="center">
116  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px;
117  * border-style: solid;">
118  * <tr> <td> mrpt::opengl::stock_objects::CornerXYSimple() </td> <td> \image
119  * html preview_stock_objects_CornerXYSimple.png </td> </tr>
120  * </table>
121  * </div>
122  */
123 CSetOfObjects::Ptr CornerXYSimple(float scale = 1.0, float lineWidth = 1.0);
124 
125 /** Returns a simple 3D model of a PointGrey Bumblebee stereo camera.
126  * The generated object must be inserted in a opengl::COpenGLScene or
127  * opengl::CSetOfObjects.
128  * <div align="center">
129  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px;
130  * border-style: solid;">
131  * <tr> <td> mrpt::opengl::stock_objects::BumblebeeCamera() </td> <td>
132  * \image html preview_stock_objects_BumblebeeCamera.png </td> </tr>
133  * </table>
134  * </div>
135  */
137 
138 /** Returns a simple 3D model of a Hokuyo URG scanner.
139  * The generated object must be inserted in a opengl::COpenGLScene or
140  * opengl::CSetOfObjects.
141  * <div align="center">
142  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px;
143  * border-style: solid;">
144  * <tr> <td> mrpt::opengl::stock_objects::Hokuyo_URG() </td> <td> \image
145  * html preview_stock_objects_Hokuyo_URG.png </td> </tr>
146  * </table>
147  * </div>
148  */
150 
151 /** Returns a simple 3D model of a Hokuyo UTM scanner.
152  * The generated object must be inserted in a opengl::COpenGLScene or
153  * opengl::CSetOfObjects.
154  * <div align="center">
155  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px;
156  * border-style: solid;">
157  * <tr> <td> mrpt::opengl::stock_objects::Hokuyo_UTM() </td> <td> \image
158  * html preview_stock_objects_Hokuyo_UTM.png </td> </tr>
159  * </table>
160  * </div>
161  */
163 
164 /** Returns a simple 3D model of a househam sprayer.
165  * The generated object must be inserted in a opengl::COpenGLScene or
166  * opengl::CSetOfObjects.
167  * <div align="center">
168  * <table border="0" cellspan="4" cellspacing="4" style="border-width: 1px;
169  * border-style: solid;">
170  * <tr> <td> mrpt::opengl::stock_objects::Househam_Sprayer() </td> <td>
171  * \image html preview_stock_objects_Househam_Sprayer.png </td> </tr>
172  * </table>
173  * </div>
174  */
176 
177 } // end namespace stock_objects
178 }
179 
180 } // End of namespace
181 
182 #endif
CSetOfObjects.h
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition: CKalmanFilterCapable.h:30
mrpt::opengl::stock_objects::RobotGiraff
CSetOfObjects::Ptr RobotGiraff()
Returns a representation of RobotGiraff.
Definition: StockObjects.cpp:301
mrpt::opengl::stock_objects::CornerXYZSimple
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 f...
Definition: StockObjects.cpp:419
mrpt::opengl::CSetOfObjects::Ptr
std::shared_ptr< CSetOfObjects > Ptr
Definition: CSetOfObjects.h:30
scale
GLenum GLenum GLenum GLenum GLenum scale
Definition: glext.h:6503
mrpt::opengl::stock_objects::RobotPioneer
CSetOfObjects::Ptr RobotPioneer()
Returns a representation of a Pioneer II mobile base.
Definition: StockObjects.cpp:30
mrpt::opengl::stock_objects::BumblebeeCamera
CSetOfObjects::Ptr BumblebeeCamera()
Returns a simple 3D model of a PointGrey Bumblebee stereo camera.
Definition: StockObjects.cpp:393
mrpt::opengl::stock_objects::CornerXYZ
CSetOfObjects::Ptr CornerXYZ(float scale=1.0)
Returns three arrows representing a X,Y,Z 3D corner.
Definition: StockObjects.cpp:209
mrpt::opengl::stock_objects::Hokuyo_UTM
CSetOfObjects::Ptr Hokuyo_UTM()
Returns a simple 3D model of a Hokuyo UTM scanner.
Definition: StockObjects.cpp:503
mrpt::opengl::stock_objects::CornerXYSimple
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).
Definition: StockObjects.cpp:447
mrpt::opengl::stock_objects::RobotRhodon
CSetOfObjects::Ptr RobotRhodon()
Returns a representation of Rhodon.
Definition: StockObjects.cpp:238
mrpt::opengl::stock_objects::Hokuyo_URG
CSetOfObjects::Ptr Hokuyo_URG()
Returns a simple 3D model of a Hokuyo URG scanner.
Definition: StockObjects.cpp:468
mrpt::opengl::stock_objects::CornerXYZEye
CSetOfObjects::Ptr CornerXYZEye()
Returns three arrows representing a X,Y,Z 3D corner.
Definition: StockObjects.cpp:366
mrpt::opengl::stock_objects::Househam_Sprayer
CSetOfObjects::Ptr Househam_Sprayer()
Returns a simple 3D model of a househam sprayer.
Definition: StockObjects.cpp:538



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