gtsam  3.2.1
gtsam
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gtsam::StereoPoint2 Class Reference
+ Inheritance diagram for gtsam::StereoPoint2:

Group

StereoPoint2 inverse () const
 inverse
 
StereoPoint2 compose (const StereoPoint2 &p1) const
 "Compose", just adds the coordinates of two points.
 
StereoPoint2 operator+ (const StereoPoint2 &b) const
 add two stereo points
 
StereoPoint2 operator- (const StereoPoint2 &b) const
 subtract two stereo points
 
static StereoPoint2 identity ()
 identity
 

Manifold

size_t dim () const
 return dimensionality of tangent space, DOF = 3
 
StereoPoint2 retract (const Vector &v) const
 Updates a with tangent space delta.
 
Vector localCoordinates (const StereoPoint2 &t2) const
 Returns inverse retraction.
 
static size_t Dim ()
 dimension of the variable - used to autodetect sizes */
 

Lie Group

StereoPoint2 between (const StereoPoint2 &p2) const
 The difference between another point and this point.
 
static StereoPoint2 Expmap (const Vector &d)
 Exponential map around identity - just create a Point2 from a vector.
 
static Vector Logmap (const StereoPoint2 &p)
 Log map around identity - just return the Point2 as a vector.
 

Advanced Interface

class boost::serialization::access
 Serialization function.
 

Public Member Functions

Standard Constructors
 StereoPoint2 ()
 default constructor
 
 StereoPoint2 (double uL, double uR, double v)
 constructor
 
Testable
void print (const std::string &s="") const
 print
 
bool equals (const StereoPoint2 &q, double tol=1e-9) const
 equals
 
Standard Interface
double uL () const
 get uL
 
double uR () const
 get uR
 
double v () const
 get v
 
Vector3 vector () const
 convert to vector
 
Point2 point2 ()
 convenient function to get a Point2 from the left image
 
Point2 right ()
 convenient function to get a Point2 from the right image
 
- Public Member Functions inherited from gtsam::DerivedValue< StereoPoint2 >
virtual Valueclone_ () const
 Create a duplicate object returned as a pointer to the generic Value interface. More...
 
virtual void deallocate_ () const
 Destroy and deallocate this object, only if it was originally allocated using clone_().
 
virtual boost::shared_ptr< Valueclone () const
 Clone this value (normal clone on the heap, delete with 'delete' operator)
 
virtual bool equals_ (const Value &p, double tol=1e-9) const
 equals implementing generic Value interface
 
virtual Valueretract_ (const Vector &delta) const
 Generic Value interface version of retract.
 
virtual Vector localCoordinates_ (const Value &value2) const
 Generic Value interface version of localCoordinates.
 
virtual Valueoperator= (const Value &rhs)
 Assignment operator.
 
 operator const StereoPoint2 & () const
 Conversion to the derived class.
 
 operator StereoPoint2 & ()
 Conversion to the derived class.
 
- Public Member Functions inherited from gtsam::Value
virtual ~Value ()
 Virutal destructor.
 

Static Public Attributes

static const size_t dimension = 3
 

Additional Inherited Members

- Protected Member Functions inherited from gtsam::DerivedValue< StereoPoint2 >
DerivedValue< StereoPoint2 > & operator= (const DerivedValue< StereoPoint2 > &rhs)
 Assignment operator, protected because only the Value or DERIVED assignment operators should be used. More...
 

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