Apollo
6.0
Open source self driving car software
|
The data structure of the map cells in a map node. More...
#include <base_map_matrix.h>
Public Member Functions | |
BaseMapMatrix () | |
The default constructor. More... | |
virtual | ~BaseMapMatrix () |
The deconstructor. More... | |
BaseMapMatrix (const BaseMapMatrix &cell) | |
The copy constructor. More... | |
virtual void | Init (const BaseMapConfig *config)=0 |
Initialize the map matrix. More... | |
virtual void | Reset (const BaseMapConfig *config)=0 |
Reset map cells data. More... | |
virtual unsigned int | LoadBinary (unsigned char *buf)=0 |
Load the map cell from a binary chunk. More... | |
virtual unsigned int | CreateBinary (unsigned char *buf, unsigned int buf_size) const =0 |
Create the binary. Serialization of the object. More... | |
virtual unsigned int | GetBinarySize () const =0 |
Get the binary size of the object. More... | |
virtual void | GetIntensityImg (cv::Mat *intensity_img) const =0 |
get intensity image of node. More... | |
The data structure of the map cells in a map node.
apollo::localization::msf::BaseMapMatrix::BaseMapMatrix | ( | ) |
The default constructor.
|
virtual |
The deconstructor.
apollo::localization::msf::BaseMapMatrix::BaseMapMatrix | ( | const BaseMapMatrix & | cell | ) |
The copy constructor.
|
pure 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. |
Implemented in apollo::localization::msf::NdtMapMatrix, apollo::localization::msf::LosslessMapMatrix, and apollo::localization::msf::LossyMapMatrix2D.
|
pure virtual |
Get the binary size of the object.
Implemented in apollo::localization::msf::NdtMapMatrix, apollo::localization::msf::LosslessMapMatrix, and apollo::localization::msf::LossyMapMatrix2D.
|
pure virtual |
get intensity image of node.
Implemented in apollo::localization::msf::NdtMapMatrix, apollo::localization::msf::LosslessMapMatrix, and apollo::localization::msf::LossyMapMatrix2D.
|
pure virtual |
Initialize the map matrix.
Implemented in apollo::localization::msf::NdtMapMatrix, apollo::localization::msf::LosslessMapMatrix, and apollo::localization::msf::LossyMapMatrix2D.
|
pure virtual |
Load the map cell from a binary chunk.
<return> | The size read (the real size of object). |
Implemented in apollo::localization::msf::NdtMapMatrix, apollo::localization::msf::LosslessMapMatrix, and apollo::localization::msf::LossyMapMatrix2D.
|
pure virtual |
Reset map cells data.
Implemented in apollo::localization::msf::NdtMapMatrix, apollo::localization::msf::LosslessMapMatrix, and apollo::localization::msf::LossyMapMatrix2D.