#include <LaserScan.h>
|
enum | Format {
kUnknown =0,
kXY =1,
kXYI =2,
kXYNormal =3,
kXYINormal =4,
kXYZ =5,
kXYZI =6,
kXYZRGB =7,
kXYZNormal =8,
kXYZINormal =9,
kXYZRGBNormal =10
} |
|
|
float | angleIncrement () const |
|
float | angleMax () const |
|
float | angleMin () const |
|
int | channels () const |
|
void | clear () |
|
LaserScan | clone () const |
|
const cv::Mat & | data () const |
|
int | dataType () const |
|
bool | empty () const |
|
float & | field (unsigned int pointIndex, unsigned int channelOffset) |
|
Format | format () const |
|
std::string | formatName () const |
|
int | getIntensityOffset () const |
|
int | getNormalsOffset () const |
|
int | getRGBOffset () const |
|
bool | hasIntensity () const |
|
bool | hasNormals () const |
|
bool | hasRGB () const |
|
bool | is2d () const |
|
bool | isCompressed () const |
|
bool | isEmpty () const |
|
| LaserScan () |
|
| LaserScan (const LaserScan &data, int maxPoints, float maxRange, const Transform &localTransform=Transform::getIdentity()) |
|
| LaserScan (const cv::Mat &data, int maxPoints, float maxRange, Format format, const Transform &localTransform=Transform::getIdentity()) |
|
| LaserScan (const LaserScan &data, float minRange, float maxRange, float angleMin, float angleMax, float angleIncrement, const Transform &localTransform=Transform::getIdentity()) |
|
| LaserScan (const cv::Mat &data, Format format, float minRange, float maxRange, float angleMin, float angleMax, float angleIncrement, const Transform &localTransform=Transform::getIdentity()) |
|
Transform | localTransform () const |
|
int | maxPoints () const |
|
LaserScan | operator+ (const LaserScan &) |
|
LaserScan & | operator+= (const LaserScan &) |
|
float | rangeMax () const |
|
float | rangeMin () const |
|
| RTABMAP_DEPRECATED (LaserScan(const LaserScan &data, int maxPoints, float maxRange, Format format, const Transform &localTransform=Transform::getIdentity()), "Use version without \ormat\argument.") |
|
| RTABMAP_DEPRECATED (LaserScan(const LaserScan &data, Format format, float minRange, float maxRange, float angleMin, float angleMax, float angleIncrement, const Transform &localTransform=Transform::getIdentity()), "Use version without \ormat\argument.") |
|
int | size () const |
|
Definition at line 37 of file LaserScan.h.
◆ Format
Enumerator |
---|
kUnknown | |
kXY | |
kXYI | |
kXYNormal | |
kXYINormal | |
kXYZ | |
kXYZI | |
kXYZRGB | |
kXYZNormal | |
kXYZINormal | |
kXYZRGBNormal | |
Definition at line 40 of file LaserScan.h.
◆ LaserScan() [1/5]
rtabmap::LaserScan::LaserScan |
( |
| ) |
|
◆ LaserScan() [2/5]
◆ LaserScan() [3/5]
◆ LaserScan() [4/5]
rtabmap::LaserScan::LaserScan |
( |
const LaserScan & |
data, |
|
|
float |
minRange, |
|
|
float |
maxRange, |
|
|
float |
angleMin, |
|
|
float |
angleMax, |
|
|
float |
angleIncrement, |
|
|
const Transform & |
localTransform = Transform::getIdentity() |
|
) |
| |
◆ LaserScan() [5/5]
rtabmap::LaserScan::LaserScan |
( |
const cv::Mat & |
data, |
|
|
Format |
format, |
|
|
float |
minRange, |
|
|
float |
maxRange, |
|
|
float |
angleMin, |
|
|
float |
angleMax, |
|
|
float |
angleIncrement, |
|
|
const Transform & |
localTransform = Transform::getIdentity() |
|
) |
| |
◆ angleIncrement()
float rtabmap::LaserScan::angleIncrement |
( |
| ) |
const |
|
inline |
◆ angleMax()
float rtabmap::LaserScan::angleMax |
( |
| ) |
const |
|
inline |
◆ angleMin()
float rtabmap::LaserScan::angleMin |
( |
| ) |
const |
|
inline |
◆ backwardCompatibility() [1/2]
◆ backwardCompatibility() [2/2]
LaserScan rtabmap::LaserScan::backwardCompatibility |
( |
const cv::Mat & |
oldScanFormat, |
|
|
float |
minRange, |
|
|
float |
maxRange, |
|
|
float |
angleMin, |
|
|
float |
angleMax, |
|
|
float |
angleInc, |
|
|
const Transform & |
localTransform = Transform::getIdentity() |
|
) |
| |
|
static |
◆ channels() [1/2]
int rtabmap::LaserScan::channels |
( |
const Format & |
format | ) |
|
|
static |
◆ channels() [2/2]
int rtabmap::LaserScan::channels |
( |
| ) |
const |
|
inline |
◆ clear()
void rtabmap::LaserScan::clear |
( |
| ) |
|
|
inline |
◆ clone()
LaserScan rtabmap::LaserScan::clone |
( |
| ) |
const |
◆ data()
const cv::Mat& rtabmap::LaserScan::data |
( |
| ) |
const |
|
inline |
◆ dataType()
int rtabmap::LaserScan::dataType |
( |
| ) |
const |
|
inline |
◆ empty()
bool rtabmap::LaserScan::empty |
( |
| ) |
const |
|
inline |
◆ field()
float & rtabmap::LaserScan::field |
( |
unsigned int |
pointIndex, |
|
|
unsigned int |
channelOffset |
|
) |
| |
◆ format()
Format rtabmap::LaserScan::format |
( |
| ) |
const |
|
inline |
◆ formatName() [1/2]
◆ formatName() [2/2]
◆ getIntensityOffset()
int rtabmap::LaserScan::getIntensityOffset |
( |
| ) |
const |
|
inline |
◆ getNormalsOffset()
int rtabmap::LaserScan::getNormalsOffset |
( |
| ) |
const |
|
inline |
◆ getRGBOffset()
int rtabmap::LaserScan::getRGBOffset |
( |
| ) |
const |
|
inline |
◆ hasIntensity()
bool rtabmap::LaserScan::hasIntensity |
( |
| ) |
const |
|
inline |
◆ hasNormals()
bool rtabmap::LaserScan::hasNormals |
( |
| ) |
const |
|
inline |
◆ hasRGB()
bool rtabmap::LaserScan::hasRGB |
( |
| ) |
const |
|
inline |
◆ init()
void rtabmap::LaserScan::init |
( |
const cv::Mat & |
data, |
|
|
Format |
format, |
|
|
float |
minRange, |
|
|
float |
maxRange, |
|
|
float |
angleMin, |
|
|
float |
angleMax, |
|
|
float |
angleIncrement, |
|
|
int |
maxPoints, |
|
|
const Transform & |
localTransform = Transform::getIdentity() |
|
) |
| |
|
private |
◆ is2d()
bool rtabmap::LaserScan::is2d |
( |
| ) |
const |
|
inline |
◆ isCompressed()
bool rtabmap::LaserScan::isCompressed |
( |
| ) |
const |
|
inline |
◆ isEmpty()
bool rtabmap::LaserScan::isEmpty |
( |
| ) |
const |
|
inline |
◆ isScan2d()
bool rtabmap::LaserScan::isScan2d |
( |
const Format & |
format | ) |
|
|
static |
◆ isScanHasIntensity()
bool rtabmap::LaserScan::isScanHasIntensity |
( |
const Format & |
format | ) |
|
|
static |
◆ isScanHasNormals()
bool rtabmap::LaserScan::isScanHasNormals |
( |
const Format & |
format | ) |
|
|
static |
◆ isScanHasRGB()
bool rtabmap::LaserScan::isScanHasRGB |
( |
const Format & |
format | ) |
|
|
static |
◆ localTransform()
Transform rtabmap::LaserScan::localTransform |
( |
| ) |
const |
|
inline |
◆ maxPoints()
int rtabmap::LaserScan::maxPoints |
( |
| ) |
const |
|
inline |
◆ operator+()
Concatenate scan's data, localTransform is ignored.
Definition at line 382 of file LaserScan.cpp.
◆ operator+=()
Concatenate scan's data, localTransform is ignored.
Definition at line 376 of file LaserScan.cpp.
◆ rangeMax()
float rtabmap::LaserScan::rangeMax |
( |
| ) |
const |
|
inline |
◆ rangeMin()
float rtabmap::LaserScan::rangeMin |
( |
| ) |
const |
|
inline |
◆ RTABMAP_DEPRECATED() [1/2]
◆ RTABMAP_DEPRECATED() [2/2]
◆ size()
int rtabmap::LaserScan::size |
( |
| ) |
const |
|
inline |
◆ angleIncrement_
float rtabmap::LaserScan::angleIncrement_ |
|
private |
◆ angleMax_
float rtabmap::LaserScan::angleMax_ |
|
private |
◆ angleMin_
float rtabmap::LaserScan::angleMin_ |
|
private |
◆ data_
cv::Mat rtabmap::LaserScan::data_ |
|
private |
◆ format_
Format rtabmap::LaserScan::format_ |
|
private |
◆ localTransform_
Transform rtabmap::LaserScan::localTransform_ |
|
private |
◆ maxPoints_
int rtabmap::LaserScan::maxPoints_ |
|
private |
◆ rangeMax_
float rtabmap::LaserScan::rangeMax_ |
|
private |
◆ rangeMin_
float rtabmap::LaserScan::rangeMin_ |
|
private |
The documentation for this class was generated from the following files: