rpos::features::location_provider::PointspMap Class

Point map data type.

Header File

rpos/features/location_provider/points_map.h

Applies to

  • Slamware

Parent Class

rpos::features::location_provider::Map

Operators

/**
*   Retrieve a specific point distribution with the given index.
*/
const PointPDF& operator[](size_t i) const
/**
*  Get the reference to a specific point distribution with the given index.
*/
PointPDF& operator[](size_t i);  

Methods

static PointsMap createMap(rpos::system::types::_u64 timestamp = 0);
/**
*  Retrieve the pixel format of the map.
*/
BitmapMapPixelFormat getMapFormat();
/**
* Read map data from the given input stream.
*/
virtual bool readFromStream(rpos::system::io::IStream &in);
/**
*  Write the map data to the given output stream.
*/
virtual bool writeToStream(rpos::system::io::IStream &out) const;
/**
* Clear map data.
*/
void clear();
/**
* Get the size of the map.
*/
size_t size() const;
/**
* Resize the map to a new size.
*/
void resize(size_t N);