Main MRPT website
>
C++ reference for MRPT 1.4.0
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-2016, 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
#include <
mrpt/obs/link_pragmas.h
>
14
15
namespace
mrpt
16
{
17
namespace
obs
18
{
19
/** Auxiliary struct that holds all the relevant *geometry* information about a 2D scan.
20
* This class is used in CSinCosLookUpTableFor2DScans
21
* \ingroup mrpt_obs_grp
22
* \sa CObservation2DRangeScan, CObservation2DRangeScan::getScanProperties, CSinCosLookUpTableFor2DScans
23
*/
24
struct
OBS_IMPEXP
T2DScanProperties
{
25
size_t
nRays
;
26
double
aperture
;
27
bool
rightToLeft
;
//!< Angles storage order: true=counterclockwise; false=clockwise
28
};
29
bool
OBS_IMPEXP
operator<
(
const
T2DScanProperties
&a,
const
T2DScanProperties
&b);
//!< Order operator, so T2DScanProperties can appear in associative STL containers.
30
31
}
// End of namespace
32
}
// End of namespace
33
34
#endif
core_defs.h
mrpt::obs::operator<
bool OBS_IMPEXP operator<(const T2DScanProperties &a, const T2DScanProperties &b)
Order operator, so T2DScanProperties can appear in associative STL containers.
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition:
CParticleFilter.h:17
link_pragmas.h
OBS_IMPEXP
#define OBS_IMPEXP
Definition:
obs/include/mrpt/obs/link_pragmas.h:90
mrpt::obs::T2DScanProperties
Auxiliary struct that holds all the relevant geometry information about a 2D scan.
Definition:
T2DScanProperties.h:24
mrpt::obs::T2DScanProperties::aperture
double aperture
Definition:
T2DScanProperties.h:26
mrpt::obs::T2DScanProperties::rightToLeft
bool rightToLeft
Angles storage order: true=counterclockwise; false=clockwise.
Definition:
T2DScanProperties.h:27
mrpt::obs::T2DScanProperties::nRays
size_t nRays
Definition:
T2DScanProperties.h:25
Page generated by
Doxygen 1.9.5
for MRPT 1.4.0 SVN: at Sun Dec 25 21:25:12 UTC 2022