Apollo 10.0
自动驾驶开放平台
apollo::localization::msf::BaseMapMatrix类 参考abstract

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

#include <base_map_matrix.h>

类 apollo::localization::msf::BaseMapMatrix 继承关系图:
apollo::localization::msf::BaseMapMatrix 的协作图:

Public 成员函数

 BaseMapMatrix ()
 The default constructor.
 
virtual ~BaseMapMatrix ()
 The deconstructor.
 
 BaseMapMatrix (const BaseMapMatrix &cell)
 The copy constructor.
 
virtual void Init (const BaseMapConfig *config)=0
 Initialize the map matrix.
 
virtual void Reset (const BaseMapConfig *config)=0
 Reset map cells data.
 
virtual unsigned int LoadBinary (unsigned char *buf)=0
 Load the map cell from a binary chunk.
 
virtual unsigned int CreateBinary (unsigned char *buf, unsigned int buf_size) const =0
 Create the binary.
 
virtual unsigned int GetBinarySize () const =0
 Get the binary size of the object.
 
virtual void GetIntensityImg (cv::Mat *intensity_img) const =0
 get intensity image of node.
 

详细描述

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

在文件 base_map_matrix.h28 行定义.

构造及析构函数说明

◆ BaseMapMatrix() [1/2]

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

The default constructor.

在文件 base_map_matrix.cc23 行定义.

23{}

◆ ~BaseMapMatrix()

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

The deconstructor.

在文件 base_map_matrix.cc25 行定义.

25{}

◆ BaseMapMatrix() [2/2]

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

The copy constructor.

在文件 base_map_matrix.cc27 行定义.

27{}

成员函数说明

◆ CreateBinary()

unsigned int apollo::localization::msf::BaseMapMatrix::CreateBinary ( unsigned char *  buf,
unsigned int  buf_size 
) const
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.

apollo::localization::msf::LosslessMapMatrix, apollo::localization::msf::LossyMapMatrix2D , 以及 apollo::localization::msf::NdtMapMatrix 内被实现.

在文件 base_map_matrix.cc31 行定义.

32 {
33 return 0;
34}

◆ GetBinarySize()

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

Get the binary size of the object.

apollo::localization::msf::LosslessMapMatrix, apollo::localization::msf::LossyMapMatrix2D , 以及 apollo::localization::msf::NdtMapMatrix 内被实现.

在文件 base_map_matrix.cc36 行定义.

36{ return 0; }

◆ 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()

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

Load the map cell from a binary chunk.

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

apollo::localization::msf::LosslessMapMatrix, apollo::localization::msf::LossyMapMatrix2D , 以及 apollo::localization::msf::NdtMapMatrix 内被实现.

在文件 base_map_matrix.cc29 行定义.

29{ return 0; }

◆ Reset()

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

该类的文档由以下文件生成: