Apollo 10.0
自动驾驶开放平台
|
The data structure of ndt Map matrix. 更多...
#include <ndt_map_matrix.h>
Public 成员函数 | |
NdtMapMatrix () | |
The default constructor. | |
~NdtMapMatrix () | |
The default destructor. | |
NdtMapMatrix (const NdtMapMatrix &cells) | |
The copy constructor. | |
virtual void | Init (const BaseMapConfig *config) |
Initialize the matrix with the config. | |
virtual void | Reset (const BaseMapConfig *config) |
Reset the matrix item to default value. | |
void | Init (unsigned int rows, unsigned int cols) |
Initialize the matrix with the size of rows and columns. | |
void | Reset (unsigned int rows, unsigned int cols) |
Reset the matrix item to default value. | |
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 NdtMapCells & | GetMapCell (unsigned int row, unsigned int col) const |
Get a const map cell. | |
NdtMapCells & | GetMapCell (unsigned int row, unsigned int col) |
Get a map cell. | |
unsigned int | GetRows () const |
Get the size of row. | |
unsigned int | GetCols () const |
Get the size of cols. | |
![]() | |
BaseMapMatrix () | |
The default constructor. | |
virtual | ~BaseMapMatrix () |
The deconstructor. | |
BaseMapMatrix (const BaseMapMatrix &cell) | |
The copy constructor. | |
静态 Public 成员函数 | |
static void | Reduce (NdtMapMatrix *cells, const NdtMapMatrix &cells_new) |
Combine two NdtMapMatrix instances (Reduce). | |
The data structure of ndt Map matrix.
在文件 ndt_map_matrix.h 第 141 行定义.
apollo::localization::msf::NdtMapMatrix::NdtMapMatrix | ( | ) |
The default constructor.
在文件 ndt_map_matrix.cc 第 319 行定义.
apollo::localization::msf::NdtMapMatrix::~NdtMapMatrix | ( | ) |
apollo::localization::msf::NdtMapMatrix::NdtMapMatrix | ( | const NdtMapMatrix & | cells | ) |
The copy constructor.
在文件 ndt_map_matrix.cc 第 327 行定义.
|
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.
在文件 ndt_map_matrix.cc 第 377 行定义.
|
virtual |
Get the binary size of the object.
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 ndt_map_matrix.cc 第 401 行定义.
|
inline |
|
virtual |
get intensity image of node.
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 ndt_map_matrix.cc 第 423 行定义.
|
inline |
Get a map cell.
在文件 ndt_map_matrix.h 第 182 行定义.
|
inline |
Get a const map cell.
在文件 ndt_map_matrix.h 第 175 行定义.
|
inline |
|
virtual |
Initialize the matrix with the config.
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 ndt_map_matrix.cc 第 338 行定义.
void apollo::localization::msf::NdtMapMatrix::Init | ( | unsigned int | rows, |
unsigned int | cols | ||
) |
Initialize the matrix with the size of rows and columns.
在文件 ndt_map_matrix.cc 第 346 行定义.
|
virtual |
Load the map cell from a binary chunk.
<return> | The size read (the real size of object). |
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 ndt_map_matrix.cc 第 359 行定义.
|
static |
Combine two NdtMapMatrix instances (Reduce).
在文件 ndt_map_matrix.cc 第 413 行定义.
|
virtual |
Reset the matrix item to default value.
实现了 apollo::localization::msf::BaseMapMatrix.
在文件 ndt_map_matrix.cc 第 342 行定义.
void apollo::localization::msf::NdtMapMatrix::Reset | ( | unsigned int | rows, |
unsigned int | cols | ||
) |
Reset the matrix item to default value.
在文件 ndt_map_matrix.cc 第 352 行定义.