Main MRPT website
>
C++ reference for MRPT 1.5.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
#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
mrpt::obs::operator<
bool OBS_IMPEXP operator<(const T2DScanProperties &a, const T2DScanProperties &b)
Order operator, so T2DScanProperties can appear in associative STL containers.
Definition:
CObservation2DRangeScan.cpp:468
mrpt::obs::T2DScanProperties::nRays
size_t nRays
Definition:
T2DScanProperties.h:25
mrpt::obs::T2DScanProperties
Auxiliary struct that holds all the relevant geometry information about a 2D scan.
Definition:
T2DScanProperties.h:24
OBS_IMPEXP
#define OBS_IMPEXP
Definition:
obs/include/mrpt/obs/link_pragmas.h:41
b
GLubyte GLubyte b
Definition:
glext.h:5575
link_pragmas.h
mrpt::obs::T2DScanProperties::aperture
double aperture
Definition:
T2DScanProperties.h:26
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition:
CParticleFilter.h:16
mrpt::obs::T2DScanProperties::rightToLeft
bool rightToLeft
Angles storage order: true=counterclockwise; false=clockwise.
Definition:
T2DScanProperties.h:27
a
GLubyte GLubyte GLubyte a
Definition:
glext.h:5575
core_defs.h
Page generated by
Doxygen 1.8.14
for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020