Functions | Variables
testCal3_S2.cpp File Reference

Unit tests for basic Cal3_S2 calibration model. More...

#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/TestableAssertions.h>
#include <gtsam/base/numericalDerivative.h>
#include <gtsam/geometry/Cal3_S2.h>
Include dependency graph for testCal3_S2.cpp:

Go to the source code of this file.

Functions

Point2 calibrate_ (const Cal3_S2 &k, const Point2 &pt)
 
int main ()
 
static Point2 p (1, -2)
 
static Point2 p_uv (1320.3, 1740)
 
static Point2 p_xy (2, 3)
 
 TEST (Cal3_S2, between)
 
 TEST (Cal3_S2, Calibrate)
 
 TEST (Cal3_S2, CalibrateHomogeneous)
 
 TEST (Cal3_S2, Constructor)
 
 TEST (Cal3_S2, Dcalibrate1)
 
 TEST (Cal3_S2, Dcalibrate2)
 
 TEST (Cal3_S2, Duncalibrate1)
 
 TEST (Cal3_S2, Duncalibrate2)
 
 TEST (Cal3_S2, Equal)
 
 TEST (Cal3_S2, Print)
 
 TEST (Cal3_S2, Retract)
 
Point2 uncalibrate_ (const Cal3_S2 &k, const Point2 &pt)
 

Variables

static Cal3_S2 K (500, 500, 0.1, 640/2, 480/2)
 

Detailed Description

Unit tests for basic Cal3_S2 calibration model.

Definition in file testCal3_S2.cpp.

Function Documentation

◆ calibrate_()

Point2 calibrate_ ( const Cal3_S2 k,
const Point2 pt 
)

Definition at line 80 of file testCal3_S2.cpp.

◆ main()

int main ( )

Definition at line 145 of file testCal3_S2.cpp.

◆ p()

static Point2 p ( ,
2 
)
static

◆ p_uv()

static Point2 p_uv ( 1320.  3,
1740   
)
static

◆ p_xy()

static Point2 p_xy ( ,
 
)
static

◆ TEST() [1/11]

TEST ( Cal3_S2  ,
between   
)

Definition at line 125 of file testCal3_S2.cpp.

◆ TEST() [2/11]

TEST ( Cal3_S2  ,
Calibrate   
)

Definition at line 45 of file testCal3_S2.cpp.

◆ TEST() [3/11]

TEST ( Cal3_S2  ,
CalibrateHomogeneous   
)

Definition at line 54 of file testCal3_S2.cpp.

◆ TEST() [4/11]

TEST ( Cal3_S2  ,
Constructor   
)

Definition at line 34 of file testCal3_S2.cpp.

◆ TEST() [5/11]

TEST ( Cal3_S2  ,
Dcalibrate1   
)

Definition at line 85 of file testCal3_S2.cpp.

◆ TEST() [6/11]

TEST ( Cal3_S2  ,
Dcalibrate2   
)

Definition at line 94 of file testCal3_S2.cpp.

◆ TEST() [7/11]

TEST ( Cal3_S2  ,
Duncalibrate1   
)

Definition at line 65 of file testCal3_S2.cpp.

◆ TEST() [8/11]

TEST ( Cal3_S2  ,
Duncalibrate2   
)

Definition at line 73 of file testCal3_S2.cpp.

◆ TEST() [9/11]

TEST ( Cal3_S2  ,
Equal   
)

Definition at line 103 of file testCal3_S2.cpp.

◆ TEST() [10/11]

TEST ( Cal3_S2  ,
Print   
)

Definition at line 135 of file testCal3_S2.cpp.

◆ TEST() [11/11]

TEST ( Cal3_S2  ,
Retract   
)

Definition at line 111 of file testCal3_S2.cpp.

◆ uncalibrate_()

Point2 uncalibrate_ ( const Cal3_S2 k,
const Point2 pt 
)

Definition at line 61 of file testCal3_S2.cpp.

Variable Documentation

◆ K

Cal3_S2 K(500, 500, 0.1, 640/2, 480/2)
static


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:52