5
#ifndef OPENCV_RGBD_POSE_GRAPH_HPP
6
#define OPENCV_RGBD_POSE_GRAPH_HPP
8
#include "opencv2/core/affine.hpp"
9
#include "opencv2/core/quaternion.hpp"
33
virtual
void
addNode(
size_t
_nodeId,
const
Affine3d& _pose,
bool
fixed) = 0;
34
virtual
bool
isNodeExist(
size_t
nodeId)
const
= 0;
35
virtual
bool
setNodeFixed(
size_t
nodeId,
bool
fixed) = 0;
36
virtual
bool
isNodeFixed(
size_t
nodeId)
const
= 0;
37
virtual
Affine3d getNodePose(
size_t
nodeId)
const
= 0;
38
virtual
std::vector<size_t> getNodesIds()
const
= 0;
39
virtual
size_t
getNumNodes()
const
= 0;
42
virtual
void
addEdge(
size_t
_sourceNodeId,
size_t
_targetNodeId,
const
Affine3f& _transformation,
43
const
Matx66f& _information = Matx66f::eye()) = 0;
44
virtual
size_t
getEdgeStart(
size_t
i)
const
= 0;
45
virtual
size_t
getEdgeEnd(
size_t
i)
const
= 0;
46
virtual
size_t
getNumEdges()
const
= 0;
49
virtual
bool
isValid()
const
= 0;
56
virtual
double
calcEnergy()
const
= 0;
Template class for small matrices whose type and size are known at compilation time
Definition:
matx.hpp:100
The class defining termination criteria for iterative algorithms.
Definition:
core/types.hpp:853
@ EPS
the desired accuracy or change in parameters at which the iterative algorithm stops
Definition:
core/types.hpp:862
@ COUNT
the maximum number of iterations or elements to compute
Definition:
core/types.hpp:860
Definition:
pose_graph.hpp:27
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75
Definition:
cvstd_wrapper.hpp:74