The data structure of ndt Map cell.
More...
#include <ndt_map_matrix.h>
|
| NdtMapCells () |
| The default constructor. More...
|
|
void | Reset () |
| Reset to default value. More...
|
|
int | AddSample (const float intensity, const float altitude, const float resolution, const Eigen::Vector3f ¢roid, bool is_road=false) |
| Add an sample. More...
|
|
size_t | LoadBinary (const unsigned char *buf) |
| Load the map cell from a binary chunk. More...
|
|
size_t | CreateBinary (unsigned char *buf, size_t buf_size) const |
| Create the binary. Serialization of the object. More...
|
|
size_t | GetBinarySize () const |
| Get the binary size of the object. More...
|
|
The data structure of ndt Map cell.
◆ NdtMapCells()
apollo::localization::msf::pyramid_map::NdtMapCells::NdtMapCells |
( |
| ) |
|
◆ AddSample()
int apollo::localization::msf::pyramid_map::NdtMapCells::AddSample |
( |
const float |
intensity, |
|
|
const float |
altitude, |
|
|
const float |
resolution, |
|
|
const Eigen::Vector3f & |
centroid, |
|
|
bool |
is_road = false |
|
) |
| |
◆ CalAltitude()
static float apollo::localization::msf::pyramid_map::NdtMapCells::CalAltitude |
( |
const float |
resolution, |
|
|
const int |
altitude_index |
|
) |
| |
|
static |
Calculate altitude from altitude index.
◆ CalAltitudeIndex()
static int apollo::localization::msf::pyramid_map::NdtMapCells::CalAltitudeIndex |
( |
const float |
resolution, |
|
|
const float |
altitude |
|
) |
| |
|
static |
Calculate altitude index from altitude.
◆ CreateBinary()
size_t apollo::localization::msf::pyramid_map::NdtMapCells::CreateBinary |
( |
unsigned char * |
buf, |
|
|
size_t |
buf_size |
|
) |
| const |
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. |
◆ GetBinarySize()
size_t apollo::localization::msf::pyramid_map::NdtMapCells::GetBinarySize |
( |
| ) |
const |
Get the binary size of the object.
◆ LoadBinary()
size_t apollo::localization::msf::pyramid_map::NdtMapCells::LoadBinary |
( |
const unsigned char * |
buf | ) |
|
Load the map cell from a binary chunk.
- Parameters
-
<return> | The size read (the real size of object). |
◆ Reduce()
static void apollo::localization::msf::pyramid_map::NdtMapCells::Reduce |
( |
NdtMapCells * |
cell, |
|
|
const NdtMapCells & |
cell_new |
|
) |
| |
|
static |
Combine two MapCell instances (Reduce).
◆ Reset()
void apollo::localization::msf::pyramid_map::NdtMapCells::Reset |
( |
| ) |
|
◆ cells_
std::unordered_map<int, NdtMapSingleCell> apollo::localization::msf::pyramid_map::NdtMapCells::cells_ |
The multiple altitudes of the cell.
◆ max_altitude_index_
int apollo::localization::msf::pyramid_map::NdtMapCells::max_altitude_index_ |
The index of biggest altitude.
◆ min_altitude_index_
int apollo::localization::msf::pyramid_map::NdtMapCells::min_altitude_index_ |
The index of smallest altitude.
◆ road_cell_indices_
std::vector<int> apollo::localization::msf::pyramid_map::NdtMapCells::road_cell_indices_ |
The indices of road surface.
The documentation for this class was generated from the following file: