a helper struct with static template functions
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::ostream &f) |
static void | write_VERTEX_line (const TNodeID id, const mrpt::poses::CPose3D &p, std::ostream &f) |
static void | write_EDGE_line (const TPairNodeIDs &edgeIDs, const CPosePDFGaussianInf &edge, std::ostream &f) |
static void | write_EDGE_line (const TPairNodeIDs &edgeIDs, const CPose3DPDFGaussianInf &edge, std::ostream &f) |
static void | write_EDGE_line (const TPairNodeIDs &edgeIDs, const CPosePDFGaussian &edge, std::ostream &f) |
static void | write_EDGE_line (const TPairNodeIDs &edgeIDs, const CPose3DPDFGaussian &edge, std::ostream &f) |
static void | write_EDGE_line (const TPairNodeIDs &edgeIDs, const mrpt::poses::CPose2D &edge, std::ostream &f) |
static void | write_EDGE_line (const TPairNodeIDs &edgeIDs, const mrpt::poses::CPose3D &edge, std::ostream &f) |
static void | save_graph_of_poses_to_ostream (const graph_t *g, std::ostream &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::utils::CStream &out) |
static void | read_graph_of_poses_from_binary_file (graph_t *g, mrpt::utils::CStream &in) |
static void | load_graph_of_poses_from_text_stream (graph_t *g, std::istream &f, const std::string &fil=std::string("(none)")) |
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) |
|
inlinestatic |
Definition at line 846 of file CNetworkOfPoses_impl.h.
References mrpt::poses::CPose2D::phi(), mrpt::math::square(), mrpt::math::wrapToPi(), mrpt::poses::CPoseOrPoint< DERIVEDCLASS >::x(), and mrpt::poses::CPoseOrPoint< DERIVEDCLASS >::y().
|
inlinestatic |
Definition at line 852 of file CNetworkOfPoses_impl.h.
References mrpt::poses::CPose3D::pitch(), mrpt::poses::CPose3D::roll(), mrpt::math::square(), mrpt::math::wrapToPi(), mrpt::poses::CPoseOrPoint< DERIVEDCLASS >::x(), mrpt::poses::CPoseOrPoint< DERIVEDCLASS >::y(), and mrpt::poses::CPose3D::yaw().
|
inlinestatic |
Definition at line 809 of file CNetworkOfPoses_impl.h.
References mrpt::math::multiply_HCHt_scalar(), and mrpt::math::wrapToPiInPlace().
|
inlinestatic |
Definition at line 813 of file CNetworkOfPoses_impl.h.
References mrpt::math::multiply_HCHt_scalar(), and mrpt::math::wrapToPiInPlace().
|
inlinestatic |
Definition at line 819 of file CNetworkOfPoses_impl.h.
References mrpt::math::multiply_HCHt_scalar(), mrpt::math::UNINITIALIZED_MATRIX, and mrpt::math::wrapToPiInPlace().
|
inlinestatic |
Definition at line 825 of file CNetworkOfPoses_impl.h.
References mrpt::math::multiply_HCHt_scalar(), mrpt::math::UNINITIALIZED_MATRIX, and mrpt::math::wrapToPiInPlace().
|
inlinestatic |
Definition at line 834 of file CNetworkOfPoses_impl.h.
References mrpt::math::square(), and mrpt::math::wrapToPiInPlace().
|
inlinestatic |
Definition at line 838 of file CNetworkOfPoses_impl.h.
References mrpt::math::square(), and mrpt::math::wrapToPiInPlace().
|
inlinestatic |
Definition at line 867 of file CNetworkOfPoses_impl.h.
References ASSERTMSG_, mrpt::format(), MRPT_END, MRPT_START, static_size, and mrpt::poses::UNINITIALIZED_POSE.
Referenced by mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS >::getEdgeSquareError().
|
inlinestatic |
Definition at line 672 of file CNetworkOfPoses_impl.h.
References min, MRPT_END, and MRPT_START.
Referenced by mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS >::collapseDuplicatedEdges().
|
inlinestatic |
Definition at line 714 of file CNetworkOfPoses_impl.h.
References ASSERTMSG_, mrpt::mrpt::format(), MRPT_END, MRPT_OVERRIDE, MRPT_START, and MRPT_UNUSED_PARAM.
Referenced by mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS >::dijkstra_nodes_estimate().
|
inlinestatic |
Definition at line 655 of file CNetworkOfPoses_impl.h.
References THROW_EXCEPTION_FMT.
Referenced by mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS >::loadFromTextFile().
|
inlinestatic |
Definition at line 204 of file CNetworkOfPoses_impl.h.
References mrpt::graphs::detail::TPosePDFHelper< POSE_PDF >::copyFrom2D(), mrpt::graphs::detail::TPosePDFHelper< POSE_PDF >::copyFrom3D(), mrpt::format(), mrpt::utils::CTextFileLinesParser::getCurrentLineNumber(), mrpt::utils::CTextFileLinesParser::getNextLine(), min, mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS >::nodes, mrpt::math::TPose2D::phi, mrpt::math::TPose3D::pitch, mrpt::math::TPose3DQuat::qr, mrpt::math::TPose3DQuat::qx, mrpt::math::TPose3DQuat::qy, mrpt::math::TPose3DQuat::qz, mrpt::utils::CTextFileLinesParser::rewind(), mrpt::math::TPose3D::roll, mrpt::system::strCmpI(), THROW_EXCEPTION, mrpt::math::TPose2D::x, mrpt::math::TPose3D::x, mrpt::math::TPose3DQuat::x, mrpt::math::TPose2D::y, mrpt::math::TPose3D::y, mrpt::math::TPose3DQuat::y, mrpt::math::TPose3D::yaw, mrpt::math::TPose3D::z, and mrpt::math::TPose3DQuat::z.
Referenced by mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS >::readAsText().
|
inlinestatic |
Definition at line 178 of file CNetworkOfPoses_impl.h.
References ASSERT_EQUAL_, and MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION.
Referenced by mrpt::graphs::operator>>().
|
inlinestatic |
Definition at line 163 of file CNetworkOfPoses_impl.h.
References version.
Referenced by mrpt::graphs::operator<<().
|
inlinestatic |
Definition at line 124 of file CNetworkOfPoses_impl.h.
Referenced by mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS >::writeAsText().
|
inlinestatic |
Definition at line 149 of file CNetworkOfPoses_impl.h.
References THROW_EXCEPTION_FMT.
Referenced by mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS >::saveToTextFile().
|
inlinestatic |
|
inlinestatic |
Definition at line 82 of file CNetworkOfPoses_impl.h.
References mrpt::poses::CPose3DPDFGaussianInf::cov_inv, mrpt::poses::CPose3DPDFGaussianInf::mean, mrpt::poses::CPose3D::pitch(), mrpt::poses::CPose3D::roll(), mrpt::poses::CPoseOrPoint< DERIVEDCLASS >::x(), mrpt::poses::CPoseOrPoint< DERIVEDCLASS >::y(), and mrpt::poses::CPose3D::yaw().
|
inlinestatic |
Definition at line 96 of file CNetworkOfPoses_impl.h.
|
inlinestatic |
Definition at line 102 of file CNetworkOfPoses_impl.h.
|
inlinestatic |
Definition at line 108 of file CNetworkOfPoses_impl.h.
|
inlinestatic |
Definition at line 115 of file CNetworkOfPoses_impl.h.
|
inlinestatic |
Definition at line 61 of file CNetworkOfPoses_impl.h.
|
inlinestatic |
Definition at line 66 of file CNetworkOfPoses_impl.h.
Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019 |