g2o
Loading...
Searching...
No Matches
g2o::Line3D Class Reference

#include <line3d.h>

Inheritance diagram for g2o::Line3D:
Collaboration diagram for g2o::Line3D:

Public Member Functions

G2O_TYPES_SLAM3D_ADDONS_API Line3D ()
G2O_TYPES_SLAM3D_ADDONS_API Line3D (const Vector6 &v)
G2O_TYPES_SLAM3D_ADDONS_API Vector6 toCartesian () const
G2O_TYPES_SLAM3D_ADDONS_API Vector3 w () const
G2O_TYPES_SLAM3D_ADDONS_API Vector3 d () const
G2O_TYPES_SLAM3D_ADDONS_API void setW (const Vector3 &w_)
G2O_TYPES_SLAM3D_ADDONS_API void setD (const Vector3 &d_)
G2O_TYPES_SLAM3D_ADDONS_API void normalize ()
G2O_TYPES_SLAM3D_ADDONS_API Line3D normalized () const
G2O_TYPES_SLAM3D_ADDONS_API void oplus (const Vector4 &v)
G2O_TYPES_SLAM3D_ADDONS_API Vector4 ominus (const Line3D &line)

Static Public Member Functions

static G2O_TYPES_SLAM3D_ADDONS_API Line3D fromCartesian (const Vector6 &cart)
static G2O_TYPES_SLAM3D_ADDONS_API Line3D fromOrthonormal (const OrthonormalLine3D &ortho)
static G2O_TYPES_SLAM3D_ADDONS_API OrthonormalLine3D toOrthonormal (const Line3D &line)

Public Attributes

 EIGEN_MAKE_ALIGNED_OPERATOR_NEW

Friends

G2O_TYPES_SLAM3D_ADDONS_API friend Line3D operator* (const Isometry3 &t, const Line3D &line)

Detailed Description

Definition at line 53 of file line3d.h.

Constructor & Destructor Documentation

◆ Line3D() [1/2]

G2O_TYPES_SLAM3D_ADDONS_API g2o::Line3D::Line3D ( )
inline

◆ Line3D() [2/2]

G2O_TYPES_SLAM3D_ADDONS_API g2o::Line3D::Line3D ( const Vector6 & v)
inline

Definition at line 64 of file line3d.h.

References G2O_TYPES_SLAM3D_ADDONS_API.

Member Function Documentation

◆ d()

G2O_TYPES_SLAM3D_ADDONS_API Vector3 g2o::Line3D::d ( ) const
inline

◆ fromCartesian()

G2O_TYPES_SLAM3D_ADDONS_API Line3D g2o::Line3D::fromCartesian ( const Vector6 & cart)
inlinestatic

Definition at line 80 of file line3d.h.

References G2O_TYPES_SLAM3D_ADDONS_API, Line3D(), setD(), and setW().

Referenced by main().

◆ fromOrthonormal()

G2O_TYPES_SLAM3D_ADDONS_API Line3D g2o::Line3D::fromOrthonormal ( const OrthonormalLine3D & ortho)
inlinestatic

◆ normalize()

G2O_TYPES_SLAM3D_ADDONS_API void g2o::Line3D::normalize ( )
inline

Definition at line 133 of file line3d.h.

References d(), and G2O_TYPES_SLAM3D_ADDONS_API.

Referenced by fromOrthonormal(), main(), and oplus().

◆ normalized()

G2O_TYPES_SLAM3D_ADDONS_API Line3D g2o::Line3D::normalized ( ) const
inline

Definition at line 138 of file line3d.h.

References d(), G2O_TYPES_SLAM3D_ADDONS_API, and Line3D().

◆ ominus()

◆ oplus()

◆ setD()

G2O_TYPES_SLAM3D_ADDONS_API void g2o::Line3D::setD ( const Vector3 & d_)
inline

Definition at line 76 of file line3d.h.

References G2O_TYPES_SLAM3D_ADDONS_API.

Referenced by fromCartesian(), and fromOrthonormal().

◆ setW()

G2O_TYPES_SLAM3D_ADDONS_API void g2o::Line3D::setW ( const Vector3 & w_)
inline

Definition at line 72 of file line3d.h.

References G2O_TYPES_SLAM3D_ADDONS_API.

Referenced by fromCartesian(), and fromOrthonormal().

◆ toCartesian()

Vector6 g2o::Line3D::toCartesian ( ) const

Definition at line 41 of file line3d.cpp.

References g2o::_skew(), g2o::cst(), d(), and w().

◆ toOrthonormal()

G2O_TYPES_SLAM3D_ADDONS_API OrthonormalLine3D g2o::Line3D::toOrthonormal ( const Line3D & line)
inlinestatic

Definition at line 111 of file line3d.h.

References d(), G2O_TYPES_SLAM3D_ADDONS_API, Line3D(), g2o::OrthonormalLine3D::U, g2o::OrthonormalLine3D::W, and w().

Referenced by ominus(), and oplus().

◆ w()

G2O_TYPES_SLAM3D_ADDONS_API Vector3 g2o::Line3D::w ( ) const
inline

Definition at line 68 of file line3d.h.

References G2O_TYPES_SLAM3D_ADDONS_API.

Referenced by fromOrthonormal(), main(), printPlueckerLine(), toCartesian(), and toOrthonormal().

◆ operator*

G2O_TYPES_SLAM3D_ADDONS_API friend Line3D operator* ( const Isometry3 & t,
const Line3D & line )
friend

Definition at line 51 of file line3d.cpp.

References g2o::_skew(), and Line3D().

Member Data Documentation

◆ EIGEN_MAKE_ALIGNED_OPERATOR_NEW

g2o::Line3D::EIGEN_MAKE_ALIGNED_OPERATOR_NEW

Definition at line 55 of file line3d.h.


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