Go to the documentation of this file.
66 void get(
size_t index, mrpt::poses::CPose3DPDFPtr &out_posePDF, mrpt::obs::CSensoryFramePtr &out_SF )
const ;
74 void set(
size_t index,
const mrpt::poses::CPose3DPDFPtr &in_posePDF,
const mrpt::obs::CSensoryFramePtr &in_SF );
83 void set(
size_t index,
const mrpt::poses::CPosePDFPtr &in_posePDF,
const mrpt::obs::CSensoryFramePtr &in_SF );
98 void insert(
const mrpt::poses::CPose3DPDFPtr &in_posePDF,
const mrpt::obs::CSensoryFramePtr &in_SF );
104 void insert(
const mrpt::poses::CPosePDFPtr &in_posePDF,
const mrpt::obs::CSensoryFramePtr &in_SF );
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::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).
CSimpleMap(const CSimpleMap &o)
Copy constructor.
void clear()
Remove all stored pairs.
const Scalar * const_iterator
const_reverse_iterator rend() const
void remove(size_t index)
Deletes 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).
Declares a class that represents a Probability Density Function (PDF) of a 3D pose (6D actually).
const_reverse_iterator rbegin() const
void insert(const mrpt::poses::CPosePDFPtr &in_posePDF, const mrpt::obs::CSensoryFramePtr &in_SF)
Add a new pair to the sequence.
std::deque< TPosePDFSensFramePair > TPosePDFSensFramePairList
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
bool loadFromFile(const std::string &filName)
Load the contents of this object from a .simplemap binary file (possibly compressed with gzip)
void insert(const mrpt::poses::CPosePDF *in_posePDF, const mrpt::obs::CSensoryFrame &in_SF)
Add a new pair to the sequence.
const_iterator end() const
const_iterator begin() const
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
TPosePDFSensFramePairList::reverse_iterator reverse_iterator
bool saveToFile(const std::string &filName) const
Save this object to a .simplemap binary file (compressed with gzip)
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
size_t size() const
Returns the count of pairs (pose,sensory data)
bool empty() const
Returns size()!=0.
virtual ~CSimpleMap()
Destructor:
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'.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
TPosePDFSensFramePairList::iterator iterator
TPosePDFSensFramePairList::const_iterator const_iterator
The virtual base class which provides a unified interface for all persistent objects in MRPT.
Declares a class that represents a probability density function (pdf) of a 2D pose (x,...
#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...
void insert(const mrpt::poses::CPose3DPDF *in_posePDF, const mrpt::obs::CSensoryFrame &in_SF)
Add a new pair to the sequence.
reverse_iterator rbegin()
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
This class stores a sequence of <Probabilistic Pose,SensoryFrame> pairs, thus a "metric map" can be t...
TPosePDFSensFramePairList::const_reverse_iterator const_reverse_iterator
void insert(const mrpt::poses::CPosePDF *in_posePDF, const mrpt::obs::CSensoryFramePtr &in_SF)
Add a new pair to the sequence.
TPosePDFSensFramePairList m_posesObsPairs
The stored data.
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...
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'.
CSimpleMap()
Default constructor (empty map)
std::pair< mrpt::poses::CPose3DPDFPtr, mrpt::obs::CSensoryFramePtr > TPosePDFSensFramePair
Page generated by Doxygen 1.8.20 for MRPT 1.4.0 SVN: at Thu Aug 27 02:40:23 UTC 2020 | | |