Apollo 10.0
自动驾驶开放平台
|
#include <lossless_map_matrix.h>
Public 成员函数 | |
LosslessMapMatrix () | |
~LosslessMapMatrix () | |
LosslessMapMatrix (const LosslessMapMatrix &matrix) | |
virtual void | Init (const BaseMapConfig *config) |
Initialize the map matrix. | |
virtual void | Reset (const BaseMapConfig *config) |
Reset map cells data. | |
void | Init (unsigned int rows, unsigned int cols) |
void | Reset (unsigned int rows, unsigned int cols) |
virtual unsigned int | LoadBinary (unsigned char *buf) |
Load the map cell from a binary chunk. | |
virtual unsigned int | CreateBinary (unsigned char *buf, unsigned int buf_size) const |
Create the binary. | |
virtual unsigned int | GetBinarySize () const |
Get the binary size of the object. | |
virtual void | GetIntensityImg (cv::Mat *intensity_img) const |
get intensity image of node. | |
const LosslessMapCell & | GetMapCell (unsigned int row, unsigned int col) const |
Get a map cell. | |
LosslessMapCell & | GetMapCell (unsigned int row, unsigned int col) |
Get a map cell. | |
LosslessMapCell * | operator[] (int row) |
const LosslessMapCell * | operator[] (int row) const |
![]() | |
BaseMapMatrix () | |
The default constructor. | |
virtual | ~BaseMapMatrix () |
The deconstructor. | |
BaseMapMatrix (const BaseMapMatrix &cell) | |
The copy constructor. | |
Protected 属性 | |
unsigned int | rows_ |
The number of rows. | |
unsigned int | cols_ |
The number of columns. | |
LosslessMapCell * | map_cells_ |
The matrix data structure. | |
在文件 lossless_map_matrix.h 第 143 行定义.
apollo::localization::msf::LosslessMapMatrix::LosslessMapMatrix | ( | ) |
在文件 lossless_map_matrix.cc 第 261 行定义.
apollo::localization::msf::LosslessMapMatrix::~LosslessMapMatrix | ( | ) |
在文件 lossless_map_matrix.cc 第 267 行定义.
apollo::localization::msf::LosslessMapMatrix::LosslessMapMatrix | ( | const LosslessMapMatrix & | matrix | ) |
在文件 lossless_map_matrix.cc 第 275 行定义.
|
virtual |
Create the binary.
Serialization of the object.
<buf,buf_size> | The buffer and its size. |
<return> | The required or the used size of is returned. |
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 lossless_map_matrix.cc 第 334 行定义.
|
virtual |
Get the binary size of the object.
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 lossless_map_matrix.cc 第 358 行定义.
|
virtual |
get intensity image of node.
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 lossless_map_matrix.cc 第 371 行定义.
|
inline |
Get a map cell.
在文件 lossless_map_matrix.h 第 179 行定义.
|
inline |
Get a map cell.
在文件 lossless_map_matrix.h 第 172 行定义.
|
virtual |
Initialize the map matrix.
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 lossless_map_matrix.cc 第 285 行定义.
void apollo::localization::msf::LosslessMapMatrix::Init | ( | unsigned int | rows, |
unsigned int | cols | ||
) |
在文件 lossless_map_matrix.cc 第 298 行定义.
|
virtual |
Load the map cell from a binary chunk.
<return> | The size read (the real size of object). |
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 lossless_map_matrix.cc 第 315 行定义.
|
inline |
在文件 lossless_map_matrix.h 第 185 行定义.
|
inline |
在文件 lossless_map_matrix.h 第 188 行定义.
|
virtual |
Reset map cells data.
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 lossless_map_matrix.cc 第 294 行定义.
void apollo::localization::msf::LosslessMapMatrix::Reset | ( | unsigned int | rows, |
unsigned int | cols | ||
) |
在文件 lossless_map_matrix.cc 第 308 行定义.
|
protected |
The number of columns.
在文件 lossless_map_matrix.h 第 196 行定义.
|
protected |
The matrix data structure.
在文件 lossless_map_matrix.h 第 198 行定义.
|
protected |
The number of rows.
在文件 lossless_map_matrix.h 第 194 行定义.