Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Static Public Member Functions
mrpt::graphs::detail::graph_ops< graph_t > Struct Template Reference

Detailed Description

template<class graph_t>
struct mrpt::graphs::detail::graph_ops< graph_t >

a helper struct with static template functions

See also
CNetworkOfPoses

Definition at line 49 of file CNetworkOfPoses.h.

#include <mrpt/graphs/CNetworkOfPoses.h>

Static Public Member Functions

static void write_VERTEX_line (const TNodeID id, const mrpt::poses::CPose2D &p, std::ofstream &f)
 
static void write_VERTEX_line (const TNodeID id, const mrpt::poses::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 mrpt::poses::CPose2D &edge, std::ofstream &f)
 
static void write_EDGE_line (const TPairNodeIDs &edgeIDs, const mrpt::poses::CPose3D &edge, std::ofstream &f)
 
static void save_graph_of_poses_to_text_file (const graph_t *g, const std::string &fil)
 
static void save_graph_of_poses_to_binary_file (const graph_t *g, mrpt::serialization::CArchive &out)
 
static void read_graph_of_poses_from_binary_file (graph_t *g, mrpt::serialization::CArchive &in)
 
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 mrpt::poses::CPose2D &p)
 
template<class VEC >
static double auxMaha2Dist (VEC &err, const mrpt::poses::CPose3D &p)
 
static double auxEuclid2Dist (const mrpt::poses::CPose2D &p1, const mrpt::poses::CPose2D &p2)
 
static double auxEuclid2Dist (const mrpt::poses::CPose3D &p1, const mrpt::poses::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

◆ auxEuclid2Dist() [1/2]

template<class graph_t >
static double mrpt::graphs::detail::graph_ops< graph_t >::auxEuclid2Dist ( const mrpt::poses::CPose2D p1,
const mrpt::poses::CPose2D p2 
)
inlinestatic

◆ auxEuclid2Dist() [2/2]

template<class graph_t >
static double mrpt::graphs::detail::graph_ops< graph_t >::auxEuclid2Dist ( const mrpt::poses::CPose3D p1,
const mrpt::poses::CPose3D p2 
)
inlinestatic

◆ auxMaha2Dist() [1/6]

template<class graph_t >
template<class VEC >
static double mrpt::graphs::detail::graph_ops< graph_t >::auxMaha2Dist ( VEC &  err,
const CPosePDFGaussianInf p 
)
inlinestatic

◆ auxMaha2Dist() [2/6]

template<class graph_t >
template<class VEC >
static double mrpt::graphs::detail::graph_ops< graph_t >::auxMaha2Dist ( VEC &  err,
const CPose3DPDFGaussianInf p 
)
inlinestatic

◆ auxMaha2Dist() [3/6]

template<class graph_t >
template<class VEC >
static double mrpt::graphs::detail::graph_ops< graph_t >::auxMaha2Dist ( VEC &  err,
const CPosePDFGaussian p 
)
inlinestatic

◆ auxMaha2Dist() [4/6]

template<class graph_t >
template<class VEC >
static double mrpt::graphs::detail::graph_ops< graph_t >::auxMaha2Dist ( VEC &  err,
const CPose3DPDFGaussian p 
)
inlinestatic

◆ auxMaha2Dist() [5/6]

template<class graph_t >
template<class VEC >
static double mrpt::graphs::detail::graph_ops< graph_t >::auxMaha2Dist ( VEC &  err,
const mrpt::poses::CPose2D p 
)
inlinestatic

Definition at line 908 of file CNetworkOfPoses_impl.h.

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

◆ auxMaha2Dist() [6/6]

template<class graph_t >
template<class VEC >
static double mrpt::graphs::detail::graph_ops< graph_t >::auxMaha2Dist ( VEC &  err,
const mrpt::poses::CPose3D p 
)
inlinestatic

Definition at line 914 of file CNetworkOfPoses_impl.h.

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

◆ graph_edge_sqerror()

template<class graph_t >
static double mrpt::graphs::detail::graph_ops< graph_t >::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 
)
inlinestatic

◆ graph_of_poses_collapse_dup_edges()

template<class graph_t >
static size_t mrpt::graphs::detail::graph_ops< graph_t >::graph_of_poses_collapse_dup_edges ( graph_t *  g)
inlinestatic

◆ graph_of_poses_dijkstra_init()

template<class graph_t >
static void mrpt::graphs::detail::graph_ops< graph_t >::graph_of_poses_dijkstra_init ( graph_t *  g)
inlinestatic

◆ load_graph_of_poses_from_text_file()

template<class graph_t >
static void mrpt::graphs::detail::graph_ops< graph_t >::load_graph_of_poses_from_text_file ( graph_t *  g,
const std::string fil 
)
inlinestatic

◆ read_graph_of_poses_from_binary_file()

template<class graph_t >
static void mrpt::graphs::detail::graph_ops< graph_t >::read_graph_of_poses_from_binary_file ( graph_t *  g,
mrpt::serialization::CArchive in 
)
inlinestatic

◆ save_graph_of_poses_to_binary_file()

template<class graph_t >
static void mrpt::graphs::detail::graph_ops< graph_t >::save_graph_of_poses_to_binary_file ( const graph_t *  g,
mrpt::serialization::CArchive out 
)
inlinestatic

Definition at line 208 of file CNetworkOfPoses_impl.h.

References mrpt::typemeta::TTypeName< T >::get().

Referenced by mrpt::graphs::operator<<().

◆ save_graph_of_poses_to_text_file()

template<class graph_t >
static void mrpt::graphs::detail::graph_ops< graph_t >::save_graph_of_poses_to_text_file ( const graph_t *  g,
const std::string fil 
)
inlinestatic

◆ write_EDGE_line() [1/6]

template<class graph_t >
static void mrpt::graphs::detail::graph_ops< graph_t >::write_EDGE_line ( const TPairNodeIDs edgeIDs,
const CPosePDFGaussianInf edge,
std::ofstream &  f 
)
inlinestatic

◆ write_EDGE_line() [2/6]

template<class graph_t >
static void mrpt::graphs::detail::graph_ops< graph_t >::write_EDGE_line ( const TPairNodeIDs edgeIDs,
const CPose3DPDFGaussianInf edge,
std::ofstream &  f 
)
inlinestatic

◆ write_EDGE_line() [3/6]

template<class graph_t >
static void mrpt::graphs::detail::graph_ops< graph_t >::write_EDGE_line ( const TPairNodeIDs edgeIDs,
const CPosePDFGaussian edge,
std::ofstream &  f 
)
inlinestatic

Definition at line 136 of file CNetworkOfPoses_impl.h.

◆ write_EDGE_line() [4/6]

template<class graph_t >
static void mrpt::graphs::detail::graph_ops< graph_t >::write_EDGE_line ( const TPairNodeIDs edgeIDs,
const CPose3DPDFGaussian edge,
std::ofstream &  f 
)
inlinestatic

Definition at line 144 of file CNetworkOfPoses_impl.h.

◆ write_EDGE_line() [5/6]

template<class graph_t >
static void mrpt::graphs::detail::graph_ops< graph_t >::write_EDGE_line ( const TPairNodeIDs edgeIDs,
const mrpt::poses::CPose2D edge,
std::ofstream &  f 
)
inlinestatic

Definition at line 152 of file CNetworkOfPoses_impl.h.

◆ write_EDGE_line() [6/6]

template<class graph_t >
static void mrpt::graphs::detail::graph_ops< graph_t >::write_EDGE_line ( const TPairNodeIDs edgeIDs,
const mrpt::poses::CPose3D edge,
std::ofstream &  f 
)
inlinestatic

Definition at line 161 of file CNetworkOfPoses_impl.h.

◆ write_VERTEX_line() [1/2]

template<class graph_t >
static void mrpt::graphs::detail::graph_ops< graph_t >::write_VERTEX_line ( const TNodeID  id,
const mrpt::poses::CPose2D p,
std::ofstream &  f 
)
inlinestatic

Definition at line 81 of file CNetworkOfPoses_impl.h.

◆ write_VERTEX_line() [2/2]

template<class graph_t >
static void mrpt::graphs::detail::graph_ops< graph_t >::write_VERTEX_line ( const TNodeID  id,
const mrpt::poses::CPose3D p,
std::ofstream &  f 
)
inlinestatic

Definition at line 87 of file CNetworkOfPoses_impl.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at lun oct 28 00:14:14 CET 2019