Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::localization::msf::BaseMapMatrix Class Referenceabstract

The data structure of the map cells in a map node. More...

#include <base_map_matrix.h>

Inheritance diagram for apollo::localization::msf::BaseMapMatrix:
Inheritance graph
Collaboration diagram for apollo::localization::msf::BaseMapMatrix:
Collaboration graph

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...
 

Detailed Description

The data structure of the map cells in a map node.

Constructor & Destructor Documentation

◆ BaseMapMatrix() [1/2]

apollo::localization::msf::BaseMapMatrix::BaseMapMatrix ( )

The default constructor.

◆ ~BaseMapMatrix()

virtual apollo::localization::msf::BaseMapMatrix::~BaseMapMatrix ( )
virtual

The deconstructor.

◆ BaseMapMatrix() [2/2]

apollo::localization::msf::BaseMapMatrix::BaseMapMatrix ( const BaseMapMatrix cell)

The copy constructor.

Member Function Documentation

◆ CreateBinary()

virtual unsigned int apollo::localization::msf::BaseMapMatrix::CreateBinary ( unsigned char *  buf,
unsigned int  buf_size 
) const
pure virtual

Create the binary. Serialization of the object.

Parameters
<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.

◆ GetBinarySize()

virtual unsigned int apollo::localization::msf::BaseMapMatrix::GetBinarySize ( ) const
pure virtual

◆ GetIntensityImg()

virtual void apollo::localization::msf::BaseMapMatrix::GetIntensityImg ( cv::Mat *  intensity_img) const
pure virtual

◆ Init()

virtual void apollo::localization::msf::BaseMapMatrix::Init ( const BaseMapConfig config)
pure virtual

◆ LoadBinary()

virtual unsigned int apollo::localization::msf::BaseMapMatrix::LoadBinary ( unsigned char *  buf)
pure virtual

Load the map cell from a binary chunk.

Parameters
<return>The size read (the real size of object).

Implemented in apollo::localization::msf::NdtMapMatrix, apollo::localization::msf::LosslessMapMatrix, and apollo::localization::msf::LossyMapMatrix2D.

◆ Reset()

virtual void apollo::localization::msf::BaseMapMatrix::Reset ( const BaseMapConfig config)
pure virtual

The documentation for this class was generated from the following file: