105 void remove(
size_t index);
176 std::pair<mrpt::poses::CPose3DPDF::Ptr, mrpt::obs::CSensoryFrame::Ptr>;
180 using iterator = TPosePDFSensFramePairList::iterator;
183 TPosePDFSensFramePairList::const_reverse_iterator;
std::pair< mrpt::poses::CPose3DPDF::Ptr, mrpt::obs::CSensoryFrame::Ptr > TPosePDFSensFramePair
bool empty() const
Returns size()!=0.
const_reverse_iterator rend() const
This class stores a sequence of <Probabilistic Pose,SensoryFrame> pairs, thus a "metric map" can be t...
const_reverse_iterator rbegin() const
TPosePDFSensFramePairList::iterator iterator
CSimpleMap & operator=(const CSimpleMap &o)
Copy.
bool loadFromFile(const std::string &filName)
Load the contents of this object from a .simplemap binary file (possibly compressed with gzip) ...
TPosePDFSensFramePairList::reverse_iterator reverse_iterator
const_iterator begin() const
const_iterator end() const
TPosePDFSensFramePairList::const_iterator const_iterator
TPosePDFSensFramePairList::const_reverse_iterator const_reverse_iterator
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
size_t size() const
Returns the count of pairs (pose,sensory data)
GLsizei const GLchar ** string
Declares a class that represents a probability density function (pdf) of a 2D pose (x...
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
std::deque< TPosePDFSensFramePair > TPosePDFSensFramePairList
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
reverse_iterator rbegin()
void insertToPos(size_t index, const mrpt::poses::CPose3DPDF::Ptr &in_posePDF, const mrpt::obs::CSensoryFrame::Ptr &in_SF)
Insert a new pair to the sequence, making a copy of the smart pointer (it's not made unique) to...
The virtual base class which provides a unified interface for all persistent objects in MRPT...
CSimpleMap()=default
Default constructor (empty map)
void insert(const mrpt::poses::CPose3DPDF *in_posePDF, const mrpt::obs::CSensoryFrame &in_SF)
Add a new pair to the sequence.
void changeCoordinatesOrigin(const mrpt::poses::CPose3D &newOrigin)
Change the coordinate origin of all stored poses, for consistency with future new poses to enter in t...
TPosePDFSensFramePairList m_posesObsPairs
The stored data.
Declares a class that represents a Probability Density Function (PDF) of a 3D pose (6D actually)...
bool saveToFile(const std::string &filName) const
Save this object to a .simplemap binary file (compressed with gzip)
void clear()
Remove all stored pairs.