GTSAM
4.0.2
C++ library for smoothing and mapping (SAM)
|
#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) |
A 2D stereo point, v will be same for rectified images
|
inline |
default constructor
|
inline |
constructor
|
inline |
equals
|
inline |
convenient function to get a Point2 from the left image
void gtsam::StereoPoint2::print | ( | const std::string & | s = "" | ) | const |
|
inline |
convenient function to get a Point2 from the right image
|
inline |
convert to vector