#include <StereoPoint2.h>
Public Types | |
enum | { dimension = 3 } |
Private Attributes | |
double | uL_ |
double | uR_ |
double | v_ |
Friends | |
GTSAM_EXPORT friend std::ostream & | operator<< (std::ostream &os, const StereoPoint2 &p) |
Streaming. More... | |
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 |
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... | |
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 |
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) |
A 2D stereo point, v will be same for rectified images
Definition at line 34 of file StereoPoint2.h.
anonymous enum |
Enumerator | |
---|---|
dimension |
Definition at line 40 of file StereoPoint2.h.
|
inline |
default constructor
Definition at line 45 of file StereoPoint2.h.
|
inline |
uL and uR represent the x-axis value of left and right frame coordinates respectively. v represents the y coordinate value. The y-axis value should be the same under the stereo constraint.
Definition at line 52 of file StereoPoint2.h.
|
inlineexplicit |
construct from 3D vector
Definition at line 57 of file StereoPoint2.h.
|
inline |
Definition at line 137 of file StereoPoint2.h.
|
inline |
Definition at line 136 of file StereoPoint2.h.
|
inline |
equals
Definition at line 68 of file StereoPoint2.h.
|
inlinestatic |
Definition at line 141 of file StereoPoint2.h.
|
inlinestatic |
identity
Definition at line 78 of file StereoPoint2.h.
|
inline |
Definition at line 135 of file StereoPoint2.h.
|
inline |
Definition at line 138 of file StereoPoint2.h.
|
inlinestatic |
Definition at line 140 of file StereoPoint2.h.
|
inline |
add vector on right
Definition at line 88 of file StereoPoint2.h.
|
inline |
add
Definition at line 93 of file StereoPoint2.h.
|
inline |
inverse
Definition at line 83 of file StereoPoint2.h.
|
inline |
subtract
Definition at line 98 of file StereoPoint2.h.
|
inline |
equality
Definition at line 107 of file StereoPoint2.h.
|
inline |
convenient function to get a Point2 from the left image
Definition at line 124 of file StereoPoint2.h.
void gtsam::StereoPoint2::print | ( | const std::string & | s = "" | ) | const |
Definition at line 26 of file StereoPoint2.cpp.
|
inline |
Definition at line 139 of file StereoPoint2.h.
|
inline |
convenient function to get a Point2 from the right image
Definition at line 129 of file StereoPoint2.h.
|
inline |
get uL
Definition at line 110 of file StereoPoint2.h.
|
inline |
get uR
Definition at line 113 of file StereoPoint2.h.
|
inline |
get v
Definition at line 116 of file StereoPoint2.h.
|
inline |
convert to vector
Definition at line 119 of file StereoPoint2.h.
|
friend |
Streaming.
|
private |
Definition at line 37 of file StereoPoint2.h.
|
private |
Definition at line 37 of file StereoPoint2.h.
|
private |
Definition at line 37 of file StereoPoint2.h.