|
Apollo
6.0
Open source self driving car software
|
The data structure of ndt Map matrix. More...
#include <ndt_map_matrix.h>


Public Member Functions | |
| NdtMapMatrix () | |
| The default constructor. More... | |
| ~NdtMapMatrix () | |
| The default destructor. More... | |
| NdtMapMatrix (const NdtMapMatrix &cells) | |
| The copy constructor. More... | |
| virtual void | Init (const BaseMapConfig *config) |
| Initialize the matrix with the config. More... | |
| virtual void | Reset (const BaseMapConfig *config) |
| Reset the matrix item to default value. More... | |
| void | Init (unsigned int rows, unsigned int cols) |
| Initialize the matrix with the size of rows and columns. More... | |
| void | Reset (unsigned int rows, unsigned int cols) |
| Reset the matrix item to default value. More... | |
| virtual unsigned int | LoadBinary (unsigned char *buf) |
| Load the map cell from a binary chunk. More... | |
| virtual unsigned int | CreateBinary (unsigned char *buf, unsigned int buf_size) const |
| Create the binary. Serialization of the object. More... | |
| virtual unsigned int | GetBinarySize () const |
| Get the binary size of the object. More... | |
| virtual void | GetIntensityImg (cv::Mat *intensity_img) const |
| get intensity image of node. More... | |
| const NdtMapCells & | GetMapCell (unsigned int row, unsigned int col) const |
| Get a const map cell. More... | |
| NdtMapCells & | GetMapCell (unsigned int row, unsigned int col) |
| Get a map cell. More... | |
| unsigned int | GetRows () const |
| Get the size of row. More... | |
| unsigned int | GetCols () const |
| Get the size of cols. More... | |
Public Member Functions inherited from apollo::localization::msf::BaseMapMatrix | |
| BaseMapMatrix () | |
| The default constructor. More... | |
| virtual | ~BaseMapMatrix () |
| The deconstructor. More... | |
| BaseMapMatrix (const BaseMapMatrix &cell) | |
| The copy constructor. More... | |
Static Public Member Functions | |
| static void | Reduce (NdtMapMatrix *cells, const NdtMapMatrix &cells_new) |
| Combine two NdtMapMatrix instances (Reduce). More... | |
The data structure of ndt Map matrix.
| apollo::localization::msf::NdtMapMatrix::NdtMapMatrix | ( | ) |
The default constructor.
| apollo::localization::msf::NdtMapMatrix::~NdtMapMatrix | ( | ) |
The default destructor.
| apollo::localization::msf::NdtMapMatrix::NdtMapMatrix | ( | const NdtMapMatrix & | cells | ) |
The copy constructor.
|
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. |
Implements apollo::localization::msf::BaseMapMatrix.
|
virtual |
Get the binary size of the object.
Implements apollo::localization::msf::BaseMapMatrix.
|
inline |
Get the size of cols.
|
virtual |
get intensity image of node.
Implements apollo::localization::msf::BaseMapMatrix.
|
inline |
Get a const map cell.
|
inline |
Get a map cell.
|
inline |
Get the size of row.
|
virtual |
Initialize the matrix with the config.
Implements apollo::localization::msf::BaseMapMatrix.
| void apollo::localization::msf::NdtMapMatrix::Init | ( | unsigned int | rows, |
| unsigned int | cols | ||
| ) |
Initialize the matrix with the size of rows and columns.
|
virtual |
Load the map cell from a binary chunk.
| <return> | The size read (the real size of object). |
Implements apollo::localization::msf::BaseMapMatrix.
|
static |
Combine two NdtMapMatrix instances (Reduce).
|
virtual |
Reset the matrix item to default value.
Implements apollo::localization::msf::BaseMapMatrix.
| void apollo::localization::msf::NdtMapMatrix::Reset | ( | unsigned int | rows, |
| unsigned int | cols | ||
| ) |
Reset the matrix item to default value.
1.8.13