GTSAM  4.0.2
C++ library for smoothing and mapping (SAM)
Public Types | Friends | List of all members
gtsam::StereoPoint2 Class Reference

#include <StereoPoint2.h>

Public Types

enum  { dimension = 3 }
 

Friends

GTSAM_EXPORT friend std::ostream & operator<< (std::ostream &os, const StereoPoint2 &p)
 Streaming.
 

Standard Constructors

 StereoPoint2 ()
 
 StereoPoint2 (double uL, double uR, double v)
 
 StereoPoint2 (const Vector3 &v)
 construct from 3D vector
 

Testable

void print (const std::string &s="") const
 
bool equals (const StereoPoint2 &q, double tol=1e-9) const
 

Group

StereoPoint2 operator- () const
 inverse
 
StereoPoint2 operator+ (const Vector3 &v) const
 add vector on right
 
StereoPoint2 operator+ (const StereoPoint2 &b) const
 add
 
StereoPoint2 operator- (const StereoPoint2 &b) const
 subtract
 
static StereoPoint2 Identity ()
 identity
 

Standard Interface

bool operator== (const StereoPoint2 &q) const
 equality
 
double uL () const
 get uL
 
double uR () const
 get uR
 
double v () const
 get v
 
Vector3 vector () const
 
Point2 point2 () const
 
Point2 right () const
 

Deprecated

StereoPoint2 inverse () const
 
StereoPoint2 compose (const StereoPoint2 &p1) const
 
StereoPoint2 between (const StereoPoint2 &p2) const
 
Vector localCoordinates (const StereoPoint2 &t2) const
 
StereoPoint2 retract (const Vector &v) const
 
static Vector Logmap (const StereoPoint2 &p)
 
static StereoPoint2 Expmap (const Vector &d)
 

Detailed Description

A 2D stereo point, v will be same for rectified images

Constructor & Destructor Documentation

◆ StereoPoint2() [1/2]

gtsam::StereoPoint2::StereoPoint2 ( )
inline

default constructor

◆ StereoPoint2() [2/2]

gtsam::StereoPoint2::StereoPoint2 ( double  uL,
double  uR,
double  v 
)
inline

constructor

Member Function Documentation

◆ equals()

bool gtsam::StereoPoint2::equals ( const StereoPoint2 q,
double  tol = 1e-9 
) const
inline

equals

◆ point2()

Point2 gtsam::StereoPoint2::point2 ( ) const
inline

convenient function to get a Point2 from the left image

◆ print()

void gtsam::StereoPoint2::print ( const std::string &  s = "") const

print

◆ right()

Point2 gtsam::StereoPoint2::right ( ) const
inline

convenient function to get a Point2 from the right image

◆ vector()

Vector3 gtsam::StereoPoint2::vector ( ) const
inline

convert to vector


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