Public Member Functions | Private Attributes | List of all members
karto::LinkInfo Class Reference

#include <Mapper.h>

Inheritance diagram for karto::LinkInfo:
Inheritance graph
[legend]

Public Member Functions

const Matrix3GetCovariance ()
 
const Pose2GetPose1 ()
 
const Pose2GetPose2 ()
 
const Pose2GetPoseDifference ()
 
 LinkInfo (const Pose2 &rPose1, const Pose2 &rPose2, const Matrix3 &rCovariance)
 
void Update (const Pose2 &rPose1, const Pose2 &rPose2, const Matrix3 &rCovariance)
 
virtual ~LinkInfo ()
 
- Public Member Functions inherited from karto::EdgeLabel
 EdgeLabel ()
 
virtual ~EdgeLabel ()
 

Private Attributes

Matrix3 m_Covariance
 
Pose2 m_Pose1
 
Pose2 m_Pose2
 
Pose2 m_PoseDifference
 

Detailed Description

Definition at line 109 of file Mapper.h.

Constructor & Destructor Documentation

karto::LinkInfo::LinkInfo ( const Pose2 rPose1,
const Pose2 rPose2,
const Matrix3 rCovariance 
)
inline

Constructs a link between the given poses

Parameters
rPose1
rPose2
rCovariance

Definition at line 118 of file Mapper.h.

virtual karto::LinkInfo::~LinkInfo ( )
inlinevirtual

Destructor

Definition at line 126 of file Mapper.h.

Member Function Documentation

const Matrix3& karto::LinkInfo::GetCovariance ( )
inline

Gets the link covariance

Returns
link covariance

Definition at line 184 of file Mapper.h.

const Pose2& karto::LinkInfo::GetPose1 ( )
inline

Gets the first pose

Returns
first pose

Definition at line 157 of file Mapper.h.

const Pose2& karto::LinkInfo::GetPose2 ( )
inline

Gets the second pose

Returns
second pose

Definition at line 166 of file Mapper.h.

const Pose2& karto::LinkInfo::GetPoseDifference ( )
inline

Gets the pose difference

Returns
pose difference

Definition at line 175 of file Mapper.h.

void karto::LinkInfo::Update ( const Pose2 rPose1,
const Pose2 rPose2,
const Matrix3 rCovariance 
)
inline

Changes the link information to be the given parameters

Parameters
rPose1
rPose2
rCovariance

Definition at line 137 of file Mapper.h.

Member Data Documentation

Matrix3 karto::LinkInfo::m_Covariance
private

Definition at line 193 of file Mapper.h.

Pose2 karto::LinkInfo::m_Pose1
private

Definition at line 190 of file Mapper.h.

Pose2 karto::LinkInfo::m_Pose2
private

Definition at line 191 of file Mapper.h.

Pose2 karto::LinkInfo::m_PoseDifference
private

Definition at line 192 of file Mapper.h.


The documentation for this class was generated from the following file:


open_karto
Author(s):
autogenerated on Mon Jun 10 2019 14:02:19