110 void remove(
size_t index);
188 typedef TPosePDFSensFramePairList::const_reverse_iterator
bool empty() const
Returns size()!=0.
const_reverse_iterator rend() const
CSimpleMap()
Default constructor (empty map)
This class stores a sequence of <Probabilistic Pose,SensoryFrame> pairs, thus a "metric map" can be t...
The virtual base class which provides a unified interface for all persistent objects in MRPT...
const_reverse_iterator rbegin() const
const Scalar * const_iterator
std::deque< TPosePDFSensFramePair > TPosePDFSensFramePairList
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) ...
const_iterator begin() const
std::shared_ptr< CPosePDF > Ptr
const_iterator end() const
TPosePDFSensFramePairList::reverse_iterator reverse_iterator
std::shared_ptr< CPose3DPDF > Ptr
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
std::shared_ptr< CSensoryFrame > Ptr
size_t size() const
Returns the count of pairs (pose,sensory data)
TPosePDFSensFramePairList::iterator iterator
GLsizei const GLchar ** string
Declares a class that represents a probability density function (pdf) of a 2D pose (x...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
virtual ~CSimpleMap()
Destructor:
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
TPosePDFSensFramePairList::const_iterator const_iterator
std::pair< mrpt::poses::CPose3DPDF::Ptr, mrpt::obs::CSensoryFrame::Ptr > TPosePDFSensFramePair
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...
TPosePDFSensFramePairList::const_reverse_iterator const_reverse_iterator
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.