Public Types | Private Attributes | Friends | List of all members
gtsam::StereoPoint2 Class Reference

#include <StereoPoint2.h>

Public Types

enum  { dimension = 3 }
 

Public Member Functions

Standard Constructors
 StereoPoint2 ()
 
 StereoPoint2 (double uL, double uR, double v)
 
 StereoPoint2 (const Vector3 &v)
 construct from 3D vector More...
 
Testable
void print (const std::string &s="") const
 
bool equals (const StereoPoint2 &q, double tol=1e-9) const
 
Standard Interface
bool operator== (const StereoPoint2 &q) const
 equality More...
 
double uL () const
 get uL More...
 
double uR () const
 get uR More...
 
double v () const
 get v More...
 
Vector3 vector () const
 
Point2 point2 () const
 
Point2 right () const
 

Private Attributes

double uL_
 
double uR_
 
double v_
 

Friends

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

Group

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

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)
 

Advanced Interface

class boost::serialization::access
 
template<class ARCHIVE >
void serialize (ARCHIVE &ar, const unsigned int)
 

Detailed Description

Definition at line 32 of file StereoPoint2.h.

Member Enumeration Documentation

anonymous enum
Enumerator
dimension 

Definition at line 38 of file StereoPoint2.h.

Constructor & Destructor Documentation

gtsam::StereoPoint2::StereoPoint2 ( )
inline

default constructor

Definition at line 43 of file StereoPoint2.h.

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

constructor

Definition at line 48 of file StereoPoint2.h.

gtsam::StereoPoint2::StereoPoint2 ( const Vector3 v)
inlineexplicit

construct from 3D vector

Definition at line 53 of file StereoPoint2.h.

Member Function Documentation

StereoPoint2 gtsam::StereoPoint2::between ( const StereoPoint2 p2) const
inline

Definition at line 133 of file StereoPoint2.h.

StereoPoint2 gtsam::StereoPoint2::compose ( const StereoPoint2 p1) const
inline

Definition at line 132 of file StereoPoint2.h.

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

equals

Definition at line 64 of file StereoPoint2.h.

static StereoPoint2 gtsam::StereoPoint2::Expmap ( const Vector d)
inlinestatic

Definition at line 137 of file StereoPoint2.h.

static StereoPoint2 gtsam::StereoPoint2::identity ( )
inlinestatic

identity

Definition at line 74 of file StereoPoint2.h.

StereoPoint2 gtsam::StereoPoint2::inverse ( ) const
inline

Definition at line 131 of file StereoPoint2.h.

Vector gtsam::StereoPoint2::localCoordinates ( const StereoPoint2 t2) const
inline

Definition at line 134 of file StereoPoint2.h.

static Vector gtsam::StereoPoint2::Logmap ( const StereoPoint2 p)
inlinestatic

Definition at line 136 of file StereoPoint2.h.

StereoPoint2 gtsam::StereoPoint2::operator+ ( const Vector3 v) const
inline

add vector on right

Definition at line 84 of file StereoPoint2.h.

StereoPoint2 gtsam::StereoPoint2::operator+ ( const StereoPoint2 b) const
inline

add

Definition at line 89 of file StereoPoint2.h.

StereoPoint2 gtsam::StereoPoint2::operator- ( ) const
inline

inverse

Definition at line 79 of file StereoPoint2.h.

StereoPoint2 gtsam::StereoPoint2::operator- ( const StereoPoint2 b) const
inline

subtract

Definition at line 94 of file StereoPoint2.h.

bool gtsam::StereoPoint2::operator== ( const StereoPoint2 q) const
inline

equality

Definition at line 103 of file StereoPoint2.h.

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

convenient function to get a Point2 from the left image

Definition at line 120 of file StereoPoint2.h.

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

print

Definition at line 26 of file StereoPoint2.cpp.

StereoPoint2 gtsam::StereoPoint2::retract ( const Vector v) const
inline

Definition at line 135 of file StereoPoint2.h.

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

convenient function to get a Point2 from the right image

Definition at line 125 of file StereoPoint2.h.

template<class ARCHIVE >
void gtsam::StereoPoint2::serialize ( ARCHIVE &  ar,
const unsigned  int 
)
inlineprivate

Definition at line 152 of file StereoPoint2.h.

double gtsam::StereoPoint2::uL ( ) const
inline

get uL

Definition at line 106 of file StereoPoint2.h.

double gtsam::StereoPoint2::uR ( ) const
inline

get uR

Definition at line 109 of file StereoPoint2.h.

double gtsam::StereoPoint2::v ( ) const
inline

get v

Definition at line 112 of file StereoPoint2.h.

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

convert to vector

Definition at line 115 of file StereoPoint2.h.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Serialization function

Definition at line 150 of file StereoPoint2.h.

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

Streaming.

Member Data Documentation

double gtsam::StereoPoint2::uL_
private

Definition at line 35 of file StereoPoint2.h.

double gtsam::StereoPoint2::uR_
private

Definition at line 35 of file StereoPoint2.h.

double gtsam::StereoPoint2::v_
private

Definition at line 35 of file StereoPoint2.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:30