131 typedef TPosePDFSensFramePairList::iterator
iterator;
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
This class stores a sequence of <Probabilistic Pose,SensoryFrame> pairs, thus a "metric map" can be t...
CSimpleMap()
Default constructor (empty map)
void set(size_t index, const mrpt::poses::CPose3DPDFPtr &in_posePDF, const mrpt::obs::CSensoryFramePtr &in_SF)
Changes the i'th pair, first one is index '0'.
void insert(const mrpt::poses::CPose3DPDF *in_posePDF, const mrpt::obs::CSensoryFramePtr &in_SF)
Add a new pair to the sequence, making a copy of the smart pointer (it's not made unique).
bool empty() const
Returns size()!=0.
void set(size_t index, const mrpt::poses::CPosePDFPtr &in_posePDF, const mrpt::obs::CSensoryFramePtr &in_SF)
Changes the i'th pair, first one is index '0'.
void insert(const mrpt::poses::CPose3DPDFPtr &in_posePDF, const mrpt::obs::CSensoryFramePtr &in_SF)
Add a new pair to the sequence, making a copy of the smart pointer (it's not made unique).
std::deque< TPosePDFSensFramePair > TPosePDFSensFramePairList
TPosePDFSensFramePairList::const_reverse_iterator const_reverse_iterator
const_reverse_iterator rend() const
void insert(const mrpt::poses::CPosePDF *in_posePDF, const mrpt::obs::CSensoryFramePtr &in_SF)
Add a new pair to the sequence.
void clear()
Remove all stored pairs.
reverse_iterator rbegin()
std::pair< mrpt::poses::CPose3DPDFPtr, mrpt::obs::CSensoryFramePtr > TPosePDFSensFramePair
CSimpleMap(const CSimpleMap &o)
Copy constructor.
TPosePDFSensFramePairList m_posesObsPairs
The stored data.
bool saveToFile(const std::string &filName) const
Save this object to a .simplemap binary file (compressed with gzip)
const_iterator end() const
virtual ~CSimpleMap()
Destructor:
size_t size() const
Returns the count of pairs (pose,sensory data)
void insert(const mrpt::poses::CPosePDFPtr &in_posePDF, const mrpt::obs::CSensoryFramePtr &in_SF)
Add a new pair to the sequence.
void insert(const mrpt::poses::CPose3DPDF *in_posePDF, const mrpt::obs::CSensoryFrame &in_SF)
Add a new pair to the sequence.
TPosePDFSensFramePairList::iterator iterator
bool loadFromFile(const std::string &filName)
Load the contents of this object from a .simplemap binary file (possibly compressed with gzip)
TPosePDFSensFramePairList::const_iterator const_iterator
TPosePDFSensFramePairList::reverse_iterator reverse_iterator
void insert(const mrpt::poses::CPosePDF *in_posePDF, const mrpt::obs::CSensoryFrame &in_SF)
Add a new pair to the sequence.
const_reverse_iterator rbegin() const
void remove(size_t index)
Deletes the i'th pair, first one is index '0'.
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...
const_iterator begin() const
void get(size_t index, mrpt::poses::CPose3DPDFPtr &out_posePDF, mrpt::obs::CSensoryFramePtr &out_SF) const
Access to the i'th pair, first one is index '0'.
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Declares a class that represents a Probability Density Function (PDF) of a 3D pose (6D actually).
Declares a class that represents a probability density function (pdf) of a 2D pose (x,...
struct OBS_IMPEXP CSensoryFramePtr
struct BASE_IMPEXP CPose3DPDFPtr
struct BASE_IMPEXP CPosePDFPtr
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.