36 namespace registration {
44 PoseGraphNode(
const Eigen::Matrix4d &pose = Eigen::Matrix4d::Identity())
70 int source_node_id = -1,
71 int target_node_id = -1,
72 const Eigen::Matrix4d &transformation = Eigen::Matrix4d::Identity(),
74 bool uncertain =
false,
75 double confidence = 1.0)
76 : source_node_id_(source_node_id),
77 target_node_id_(target_node_id),
78 transformation_(transformation),
79 information_(information),
80 uncertain_(uncertain),
81 confidence_(confidence) {}
bool ConvertToJsonValue(Json::Value &value) const override
Definition: PoseGraph.cpp:38
Eigen::Matrix6d_u information_
Information matrix.
Definition: PoseGraph.h:96
std::vector< PoseGraphEdge > edges_
List of PoseGraphEdge.
Definition: PoseGraph.h:128
double confidence_
Confidence value of the edge.
Definition: PoseGraph.h:108
PoseGraphNode(const Eigen::Matrix4d &pose=Eigen::Matrix4d::Identity())
Default Constructor.
Definition: PoseGraph.h:44
Edge of PoseGraph.
Definition: PoseGraph.h:59
Eigen::Matrix4d_u pose_
Definition: PoseGraph.h:53
int source_node_id_
Source PoseGraphNode id.
Definition: PoseGraph.h:90
~PoseGraphNode()
Definition: PoseGraph.cpp:36
int target_node_id_
Target PoseGraphNode id.
Definition: PoseGraph.h:92
std::vector< PoseGraphNode > nodes_
List of PoseGraphNode.
Definition: PoseGraph.h:126
Data structure defining the pose graph.
Definition: PoseGraph.h:114
bool uncertain_
Whether the edge is uncertain.
Definition: PoseGraph.h:101
Definition: Open3DViewer.h:29
Node of PoseGraph.
Definition: PoseGraph.h:41
PoseGraphEdge(int source_node_id=-1, int target_node_id=-1, const Eigen::Matrix4d &transformation=Eigen::Matrix4d::Identity(), const Eigen::Matrix6d &information=Eigen::Matrix6d::Identity(), bool uncertain=false, double confidence=1.0)
Parameterized Constructor.
Definition: PoseGraph.h:69
Eigen::Matrix< double, 6, 6, Eigen::DontAlign > Matrix6d_u
Definition: Eigen.h:42
bool ConvertFromJsonValue(const Json::Value &value) override
Definition: PoseGraph.cpp:51
Eigen::Matrix< double, 4, 4, Eigen::DontAlign > Matrix4d_u
Definition: Eigen.h:43
Eigen::Matrix4d_u transformation_
Transformation matrix.
Definition: PoseGraph.h:94
Definition: IJsonConvertible.h:42
Eigen::Matrix< double, 6, 6 > Matrix6d
Extending Eigen namespace by adding frequently used matrix type.
Definition: Eigen.h:37