Main MRPT website
>
C++ reference for MRPT 1.9.9
mrpt
obs
T2DScanProperties.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 T2DScanProperties_H
10
#define T2DScanProperties_H
11
12
#include <
mrpt/utils/core_defs.h
>
13
14
namespace
mrpt
15
{
16
namespace
obs
17
{
18
/** Auxiliary struct that holds all the relevant *geometry* information about a
19
* 2D scan.
20
* This class is used in CSinCosLookUpTableFor2DScans
21
* \ingroup mrpt_obs_grp
22
* \sa CObservation2DRangeScan, CObservation2DRangeScan::getScanProperties,
23
* CSinCosLookUpTableFor2DScans
24
*/
25
struct
T2DScanProperties
26
{
27
size_t
nRays
;
28
double
aperture
;
29
/** Angles storage order: true=counterclockwise; false=clockwise */
30
bool
rightToLeft
;
31
};
32
/** Order operator, so T2DScanProperties can appear in associative STL
33
* containers. */
34
bool
operator<
(
const
T2DScanProperties
&
a
,
const
T2DScanProperties
&
b
);
35
36
}
// End of namespace
37
}
// End of namespace
38
39
#endif
mrpt::obs::operator<
bool operator<(const T2DScanProperties &a, const T2DScanProperties &b)
Order operator, so T2DScanProperties can appear in associative STL containers.
Definition:
CObservation2DRangeScan.cpp:490
mrpt::obs::T2DScanProperties::nRays
size_t nRays
Definition:
T2DScanProperties.h:27
mrpt::obs::T2DScanProperties
Auxiliary struct that holds all the relevant geometry information about a 2D scan.
Definition:
T2DScanProperties.h:25
b
GLubyte GLubyte b
Definition:
glext.h:6279
mrpt::obs::T2DScanProperties::aperture
double aperture
Definition:
T2DScanProperties.h:28
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition:
CParticleFilter.h:17
mrpt::obs::T2DScanProperties::rightToLeft
bool rightToLeft
Angles storage order: true=counterclockwise; false=clockwise.
Definition:
T2DScanProperties.h:30
a
GLubyte GLubyte GLubyte a
Definition:
glext.h:6279
core_defs.h
Page generated by
Doxygen 1.8.14
for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019