Go to the documentation of this file.
152 std::vector<uint32_t> indexesToRemove,
bool changeCoordsRef =
true);
184 const std::map<uint32_t, int64_t>* renameIndexes = NULL)
const;
187 template <
class MATRIX>
Configuration parameters.
#define MRPT_ENUM_TYPE_END()
void getAs3DScene(mrpt::opengl::CSetOfObjects::Ptr &objs, const std::map< uint32_t, int64_t > *renameIndexes=NULL) const
Return a 3D representation of the graph: poses & links between them.
void updatePartitions(std::vector< std::vector< uint32_t >> &partitions)
Recalculate the map/graph partitions.
void saveToConfigFile(mrpt::config::CConfigFileBase &target, const std::string §ion) const
This method saves the options to a ".ini"-like file or memory-stored string list.
std::shared_ptr< CSensoryFrame > Ptr
mrpt::maps::TMatchingRatioParams mrp
These parameters are loaded/saved to config files with the prefix "mrp.{param_name}".
void setSimilarityMethod(similarity_method_t method)
Select the similarity method to use for newly inserted keyframes.
mrpt::maps::CSimpleMap m_individualFrames
void removeSetOfNodes(std::vector< uint32_t > indexesToRemove, bool changeCoordsRef=true)
Remove a list of keyframes, with indices as returned by addMapFrame()
void setSimilarityMethod(similarity_func_t func)
Sets a custom function for the similarity of new keyframes.
Declares a class that represents a Probability Density Function (PDF) of a 3D pose (6D actually).
mrpt::math::CMatrixD m_A
Adjacency matrix.
std::deque< mrpt::maps::CMultiMetricMap::Ptr > m_individualMaps
Parameters for CMetricMap::compute3DMatchingRatio()
mrpt::maps::CSimpleMap * getSequenceOfFrames()
Access to the sequence of Sensory Frames.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define MRPT_ENUM_TYPE_BEGIN(_ENUM_TYPE_WITH_NS)
GLsizei GLsizei GLchar * source
TOptions options
Algorithm parameters.
A set of TMetricMapInitializer structures, passed to the constructor CMultiMetricMap::CMultiMetricMap...
const mrpt::maps::CSimpleMap * getSequenceOfFrames() const
Read-only access to the sequence of Sensory Frames.
mrpt::maps::TSetOfMetricMapInitializers metricmap
Type and parameters of metric map(s) to build for each keyframe.
double partitionThreshold
!< N-cut partition threshold [0,2] (default=1)
Declares a class for storing a "sensory frame", a set of "observations" taken by the robot approximat...
const mrpt::math::CMatrixDouble & getAdjacencyMatrix() const
Return a const ref to the internal adjacency matrix.
This class allows loading and storing values and vectors of different types from a configuration text...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
mrpt::obs::CSensoryFrame::Ptr raw_observations
unsigned __int64 uint64_t
Map keyframe, comprising raw observations and they as a metric map.
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
The virtual base class which provides a unified interface for all persistent objects in MRPT.
bool m_last_last_partition_are_new_ones
This will be true after adding new observations, and before an "updatePartitions" is invoked.
uint64_t minimumNumberElementsEachCluster
If a partition leads to a cluster with less elements than this, it will be rejected even if had a goo...
std::shared_ptr< CMultiMetricMap > Ptr
std::shared_ptr< CSetOfObjects > Ptr
void changeCoordinatesOrigin(const mrpt::poses::CPose3D &newOrigin)
Versatile class for consistent logging and management of output messages.
size_t getNodesCount()
Get the total node count currently in the internal map/graph.
void loadFromConfigFile(const mrpt::config::CConfigFileBase &source, const std::string §ion) override
This method load the options from a ".ini"-like file or memory-stored string list.
Finds partitions in metric maps based on N-cut graph partition theory.
similarity_method_t simil_method
Defines the method for determining the adjacency matrix values.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
uint32_t addMapFrame(const mrpt::obs::CSensoryFrame &frame, const mrpt::poses::CPose3DPDF &robotPose3D)
Insert a new keyframe to the graph.
uint64_t maxKeyFrameDistanceToEval
Maximum distance, in KF identifier numbers, to check for similarity.
std::vector< std::vector< uint32_t > > m_last_partition
The last partition.
This class stores a sequence of <Probabilistic Pose,SensoryFrame> pairs, thus a "metric map" can be t...
CIncrementalMapPartitioner()
ctor
This class is a "CSerializable" wrapper for "CMatrixTemplateNumeric<double>".
GLsizei const GLchar ** string
MRPT_FILL_ENUM_MEMBER(mrpt::slam, smMETRIC_MAP_MATCHING)
similarity_func_t m_sim_func
similarity_method_t
For use in CIncrementalMapPartitioner.
void changeCoordinatesOriginPoseIndex(unsigned int newOriginPose)
The new origin is given by the index of the pose that is to become the new origin.
unsigned __int32 uint32_t
void getAdjacencyMatrix(MATRIX &outMatrix) const
Return a copy of the adjacency matrix.
COutputLogger()
Default class constructor.
std::function< double(const map_keyframe_t &kf1, const map_keyframe_t &kf2, const mrpt::poses::CPose3D &relPose2wrt1)> similarity_func_t
Type of similarity evaluator for map keyframes.
mrpt::maps::CMultiMetricMap::Ptr metric_map
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |