Main MRPT website > C++ reference
MRPT logo
Static Public Member Functions
mrpt::graphs::detail::graph_ops Struct Reference

Detailed Description

a helper struct with static template functions

See also:
CNetworkOfPoses

#include <mrpt/graphs/CNetworkOfPoses_impl.h>

List of all members.

Static Public Member Functions

static void write_VERTEX_line (const TNodeID id, const CPose2D &p, std::ofstream &f)
static void write_VERTEX_line (const TNodeID id, const CPose3D &p, std::ofstream &f)
static void write_EDGE_line (const TPairNodeIDs &edgeIDs, const CPosePDFGaussianInf &edge, std::ofstream &f)
static void write_EDGE_line (const TPairNodeIDs &edgeIDs, const CPose3DPDFGaussianInf &edge, std::ofstream &f)
static void write_EDGE_line (const TPairNodeIDs &edgeIDs, const CPosePDFGaussian &edge, std::ofstream &f)
static void write_EDGE_line (const TPairNodeIDs &edgeIDs, const CPose3DPDFGaussian &edge, std::ofstream &f)
static void write_EDGE_line (const TPairNodeIDs &edgeIDs, const CPose2D &edge, std::ofstream &f)
static void write_EDGE_line (const TPairNodeIDs &edgeIDs, const CPose3D &edge, std::ofstream &f)
static void save_graph_of_poses_from_text_file (const graph_t *g, const std::string &fil)
static void load_graph_of_poses_from_text_file (graph_t *g, const std::string &fil)
static size_t graph_of_poses_collapse_dup_edges (graph_t *g)
static void graph_of_poses_dijkstra_init (graph_t *g)
template<class VEC >
static double auxMaha2Dist (VEC &err, const CPosePDFGaussianInf &p)
template<class VEC >
static double auxMaha2Dist (VEC &err, const CPose3DPDFGaussianInf &p)
template<class VEC >
static double auxMaha2Dist (VEC &err, const CPosePDFGaussian &p)
template<class VEC >
static double auxMaha2Dist (VEC &err, const CPose3DPDFGaussian &p)
template<class VEC >
static double auxMaha2Dist (VEC &err, const CPose2D &p)
template<class VEC >
static double auxMaha2Dist (VEC &err, const CPose3D &p)
static double auxEuclid2Dist (const CPose2D &p1, const CPose2D &p2)
static double auxEuclid2Dist (const CPose3D &p1, const CPose3D &p2)
static double graph_edge_sqerror (const graph_t *g, const typename mrpt::graphs::CDirectedGraph< typename graph_t::constraint_t >::edges_map_t::const_iterator &itEdge, bool ignoreCovariances)

Member Function Documentation

static double mrpt::graphs::detail::graph_ops::auxEuclid2Dist ( const CPose2D p1,
const CPose2D p2 
) [inline, static]
static double mrpt::graphs::detail::graph_ops::auxEuclid2Dist ( const CPose3D p1,
const CPose3D p2 
) [inline, static]
template<class VEC >
static double mrpt::graphs::detail::graph_ops::auxMaha2Dist ( VEC &  err,
const CPosePDFGaussianInf p 
) [inline, static]
template<class VEC >
static double mrpt::graphs::detail::graph_ops::auxMaha2Dist ( VEC &  err,
const CPose3DPDFGaussianInf p 
) [inline, static]
template<class VEC >
static double mrpt::graphs::detail::graph_ops::auxMaha2Dist ( VEC &  err,
const CPosePDFGaussian p 
) [inline, static]
template<class VEC >
static double mrpt::graphs::detail::graph_ops::auxMaha2Dist ( VEC &  err,
const CPose3DPDFGaussian p 
) [inline, static]
template<class VEC >
static double mrpt::graphs::detail::graph_ops::auxMaha2Dist ( VEC &  err,
const CPose2D p 
) [inline, static]

Definition at line 525 of file CNetworkOfPoses_impl.h.

References mrpt::math::wrapToPiInPlace(), and mrpt::utils::square().

template<class VEC >
static double mrpt::graphs::detail::graph_ops::auxMaha2Dist ( VEC &  err,
const CPose3D p 
) [inline, static]

Definition at line 529 of file CNetworkOfPoses_impl.h.

References mrpt::math::wrapToPiInPlace(), and mrpt::utils::square().

static double mrpt::graphs::detail::graph_ops::graph_edge_sqerror ( const graph_t *  g,
const typename mrpt::graphs::CDirectedGraph< typename graph_t::constraint_t >::edges_map_t::const_iterator itEdge,
bool  ignoreCovariances 
) [inline, static]
static size_t mrpt::graphs::detail::graph_ops::graph_of_poses_collapse_dup_edges ( graph_t *  g) [inline, static]

Definition at line 405 of file CNetworkOfPoses_impl.h.

References MRPT_START, and MRPT_END.

static void mrpt::graphs::detail::graph_ops::graph_of_poses_dijkstra_init ( graph_t *  g) [inline, static]

Definition at line 447 of file CNetworkOfPoses_impl.h.

References MRPT_START, and MRPT_END.

static void mrpt::graphs::detail::graph_ops::load_graph_of_poses_from_text_file ( graph_t *  g,
const std::string fil 
) [inline, static]
static void mrpt::graphs::detail::graph_ops::save_graph_of_poses_from_text_file ( const graph_t *  g,
const std::string fil 
) [inline, static]

Definition at line 137 of file CNetworkOfPoses_impl.h.

References THROW_EXCEPTION_CUSTOM_MSG1.

static void mrpt::graphs::detail::graph_ops::write_EDGE_line ( const TPairNodeIDs edgeIDs,
const CPosePDFGaussianInf edge,
std::ofstream f 
) [inline, static]
static void mrpt::graphs::detail::graph_ops::write_EDGE_line ( const TPairNodeIDs edgeIDs,
const CPose3DPDFGaussianInf edge,
std::ofstream f 
) [inline, static]
static void mrpt::graphs::detail::graph_ops::write_EDGE_line ( const TPairNodeIDs edgeIDs,
const CPosePDFGaussian edge,
std::ofstream f 
) [inline, static]
static void mrpt::graphs::detail::graph_ops::write_EDGE_line ( const TPairNodeIDs edgeIDs,
const CPose3DPDFGaussian edge,
std::ofstream f 
) [inline, static]
static void mrpt::graphs::detail::graph_ops::write_EDGE_line ( const TPairNodeIDs edgeIDs,
const CPose2D edge,
std::ofstream f 
) [inline, static]
static void mrpt::graphs::detail::graph_ops::write_EDGE_line ( const TPairNodeIDs edgeIDs,
const CPose3D edge,
std::ofstream f 
) [inline, static]
static void mrpt::graphs::detail::graph_ops::write_VERTEX_line ( const TNodeID  id,
const CPose2D p,
std::ofstream f 
) [inline, static]

Definition at line 67 of file CNetworkOfPoses_impl.h.

References mrpt::format(), and mrpt::poses::CPose2D::phi().

static void mrpt::graphs::detail::graph_ops::write_VERTEX_line ( const TNodeID  id,
const CPose3D p,
std::ofstream f 
) [inline, static]



Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011