test PinholeCamera class More...
#include <gtsam/geometry/PinholeCamera.h>
#include <gtsam/geometry/Cal3_S2.h>
#include <gtsam/geometry/Cal3Bundler.h>
#include <gtsam/geometry/Pose2.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/numericalDerivative.h>
#include <CppUnitLite/TestHarness.h>
#include <cmath>
#include <iostream>
Go to the source code of this file.
Typedefs | |
typedef PinholeCamera< Cal3_S2 > | Camera |
typedef PinholeCamera< Cal3Bundler > | Camera2 |
Variables | |
static const Camera | camera (pose, K) |
static const Camera | camera1 (pose1, K) |
static const Camera2 | camera2 (pose1, K2) |
static const CalibratedCamera | camera3 (pose1) |
static const Cal3_S2 | K (625, 625, 0, 0, 0) |
static const Cal3Bundler | K2 (625, 1e-3, 1e-3) |
static const Unit3 | point1_inf (-0.16,-0.16, -1.0) |
static const Unit3 | point2_inf (-0.16, 0.16, -1.0) |
static const Unit3 | point3_inf (0.16, 0.16, -1.0) |
static const Unit3 | point4_inf (0.16,-0.16, -1.0) |
static const Pose3 | pose (Rot3(Vector3(1, -1, -1).asDiagonal()), Point3(0, 0, 0.5)) |
static const Pose3 | pose1 (Rot3(), Point3(0, 1, 0.5)) |
test PinholeCamera class
Definition in file testPinholeCamera.cpp.
typedef PinholeCamera<Cal3_S2> Camera |
Definition at line 34 of file testPinholeCamera.cpp.
typedef PinholeCamera<Cal3Bundler> Camera2 |
Definition at line 306 of file testPinholeCamera.cpp.
int main | ( | ) |
Definition at line 351 of file testPinholeCamera.cpp.
|
static |
|
static |
|
static |
|
static |
Definition at line 198 of file testPinholeCamera.cpp.
Definition at line 242 of file testPinholeCamera.cpp.
|
static |
Definition at line 217 of file testPinholeCamera.cpp.
Definition at line 273 of file testPinholeCamera.cpp.
Definition at line 290 of file testPinholeCamera.cpp.
Definition at line 309 of file testPinholeCamera.cpp.
|
static |
Definition at line 326 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
backproject | |||
) |
Definition at line 134 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
backproject2 | |||
) |
Definition at line 152 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
backprojectInfinity | |||
) |
Definition at line 143 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
backprojectInfinity2 | |||
) |
Definition at line 168 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
backprojectInfinity3 | |||
) |
Definition at line 183 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
Cal3Bundler | |||
) |
Definition at line 342 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
constructor | |||
) |
Definition at line 55 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
Create | |||
) |
Definition at line 62 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
Dproject | |||
) |
Definition at line 203 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
Dproject2 | |||
) |
Definition at line 247 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
Dproject3 | |||
) |
Definition at line 260 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
Dproject_Infinity | |||
) |
Definition at line 221 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
level2 | |||
) |
Definition at line 91 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
lookat | |||
) |
Definition at line 105 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
Pose | |||
) |
Definition at line 78 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
project | |||
) |
Definition at line 125 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
range0 | |||
) |
Definition at line 278 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
range1 | |||
) |
Definition at line 295 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
range2 | |||
) |
Definition at line 314 of file testPinholeCamera.cpp.
TEST | ( | PinholeCamera | , |
range3 | |||
) |
Definition at line 331 of file testPinholeCamera.cpp.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |