9 #ifndef CHierarchicalMapMHPartition_H 10 #define CHierarchicalMapMHPartition_H 25 namespace poses {
class CPose3DPDFParticles; }
70 size_t nodeCount()
const;
74 size_t arcCount()
const;
79 CHMHMapNodePtr getFirstNode();
114 void saveAreasDiagramForMATLAB(
124 void saveAreasDiagramWithEllipsedForMATLAB(
128 float uncertaintyExagerationFactor = 1.0f,
129 bool drawArcs =
false,
130 unsigned int numberOfIterationsForOptimalGlobalPoses = 4
138 void saveGlobalMapForMATLAB(
147 void findPathBetweenNodes(
152 bool direction=
false)
const;
159 void computeCoordinatesTransformationBetweenNodes(
164 unsigned int particlesCount = 100,
165 float additionalNoiseXYratio = 0.02,
172 float computeMatchProbabilityBetweenNodes(
178 unsigned int monteCarloSamplesPose = 300
183 void findArcsBetweenNodes(
191 void findArcsOfTypeBetweenNodes(
201 CHMHMapArcPtr findArcOfTypeBetweenNodes(
206 bool &isInverted )
const;
210 bool areNodesNeightbour(
214 const char *requiredAnnotation=NULL )
const;
221 void computeGloballyConsistentNodeCoordinates(
225 const unsigned int &numberOfIterations = 2)
const;
234 const unsigned int &numberOfIterationsForOptimalGlobalPoses = 5,
235 const bool &showRobotPoseIDs =
true 247 double computeOverlapProbabilityBetweenNodes(
251 const size_t &monteCarloSamples = 100,
252 const float margin_to_substract = 6
std::vector< CHMHMapNode::TNodeID > TNodeIDsList
A type that reprensents a sequence of node IDs.
Represents a set of nodes and arcs, posibly only a part of the whole hierarchical, multi-hypothesis map.
double DEG2RAD(const double x)
Degrees to radians.
Declares a class that represents a Probability Density function (PDF) of a 3D(6D) pose ...
std::map< CHMHMapNode::TNodeID, CHMHMapNodePtr > TNodeList
A map between node IDs and nodes (used in HMT-SLAM).
const Scalar * const_iterator
int64_t THypothesisID
An integer number uniquely identifying each of the concurrent hypotheses for the robot topological pa...
A class for storing a list of text lines.
TNodeList::iterator iterator
iterator begin()
Returns an iterator to the first node in the graph.
iterator end()
Returns an iterator to the end of the list of nodes in the graph.
GLsizei const GLchar ** string
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
CHierarchicalMapMHPartition()
This class allows the user to create, load, save, and render 3D scenes using OpenGL primitives...
Declares a class that represents a Probability Density function (PDF) of a 3D pose ...
TNodeList::const_iterator const_iterator
const_iterator begin() const
Returns an iterator to the first node in the graph.
TNodeList m_nodes
The internal list of nodes and arcs in the whole hierarchical model.
A class for storing a sequence of arcs (a path).
const_iterator end() const
Returns an iterator to the end of the list of nodes in the graph.
Declares a class that represents a Probability Density function (PDF) of a 3D pose.
mrpt::utils::TNodeID TNodeID
The type of the IDs of nodes.