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>
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, Constructor) | |
TEST (Cal3_S2, Calibrate) | |
TEST (Cal3_S2, CalibrateHomogeneous) | |
TEST (Cal3_S2, Duncalibrate1) | |
TEST (Cal3_S2, Duncalibrate2) | |
TEST (Cal3_S2, Dcalibrate1) | |
TEST (Cal3_S2, Dcalibrate2) | |
TEST (Cal3_S2, Equal) | |
TEST (Cal3_S2, Retract) | |
TEST (Cal3_S2, between) | |
TEST (Cal3_S2, Print) | |
Point2 | uncalibrate_ (const Cal3_S2 &k, const Point2 &pt) |
Variables | |
static Cal3_S2 | K (500, 500, 0.1, 640/2, 480/2) |
Unit tests for basic Cal3_S2 calibration model.
Definition in file testCal3_S2.cpp.
Definition at line 80 of file testCal3_S2.cpp.
int main | ( | void | ) |
Definition at line 145 of file testCal3_S2.cpp.
|
static |
|
static |
|
static |
TEST | ( | Cal3_S2 | , |
Constructor | |||
) |
Definition at line 34 of file testCal3_S2.cpp.
TEST | ( | Cal3_S2 | , |
Calibrate | |||
) |
Definition at line 45 of file testCal3_S2.cpp.
TEST | ( | Cal3_S2 | , |
CalibrateHomogeneous | |||
) |
Definition at line 54 of file testCal3_S2.cpp.
TEST | ( | Cal3_S2 | , |
Duncalibrate1 | |||
) |
Definition at line 65 of file testCal3_S2.cpp.
TEST | ( | Cal3_S2 | , |
Duncalibrate2 | |||
) |
Definition at line 73 of file testCal3_S2.cpp.
TEST | ( | Cal3_S2 | , |
Dcalibrate1 | |||
) |
Definition at line 85 of file testCal3_S2.cpp.
TEST | ( | Cal3_S2 | , |
Dcalibrate2 | |||
) |
Definition at line 94 of file testCal3_S2.cpp.
TEST | ( | Cal3_S2 | , |
Equal | |||
) |
Definition at line 103 of file testCal3_S2.cpp.
TEST | ( | Cal3_S2 | , |
Retract | |||
) |
Definition at line 111 of file testCal3_S2.cpp.
TEST | ( | Cal3_S2 | , |
between | |||
) |
Definition at line 125 of file testCal3_S2.cpp.
TEST | ( | Cal3_S2 | , |
) |
Definition at line 135 of file testCal3_S2.cpp.
Definition at line 61 of file testCal3_S2.cpp.
|
static |