test CalibratedCamera class More...
#include <gtsam/geometry/CalibratedCamera.h>#include <gtsam/geometry/Pose2.h>#include <gtsam/base/Testable.h>#include <gtsam/base/numericalDerivative.h>#include <CppUnitLite/TestHarness.h>#include <iostream>
Go to the source code of this file.
Functions | |
| static Point3 | backproject (const Pose3 &pose, const Point2 &point, const double &depth) |
| static Point3 | BackprojectFromCamera (const CalibratedCamera &camera, const Point2 &point, const double &depth) |
| int | main () |
| static const Point3 | point1 (-0.08,-0.08, 0.0) |
| static const Point3 | point2 (-0.08, 0.08, 0.0) |
| static const Point3 | point3 (0.08, 0.08, 0.0) |
| static const Point3 | point4 (0.08,-0.08, 0.0) |
| static Point2 | Project1 (const Point3 &point) |
| static Point2 | Project2 (const Unit3 &point) |
| static Point2 | project2 (const CalibratedCamera &camera, const Point3 &point) |
| static Point2 | projectAtInfinity (const CalibratedCamera &camera, const Unit3 &point) |
| TEST (CalibratedCamera, constructor) | |
| TEST (CalibratedCamera, Create) | |
| TEST (CalibratedCamera, level1) | |
| TEST (CalibratedCamera, level2) | |
| TEST (CalibratedCamera, project) | |
| TEST (CalibratedCamera, DProject1) | |
| TEST (CalibratedCamera, DProjectInfinity) | |
| TEST (CalibratedCamera, Dproject_point_pose) | |
| TEST (CalibratedCamera, Dproject_point_pose2) | |
| TEST (CalibratedCamera, Dproject_point_pose_infinity) | |
| TEST (CalibratedCamera, Dproject_point_pose2_infinity) | |
| TEST (CalibratedCamera, DBackprojectFromCamera) | |
| TEST (PinholePose, DbackprojectCalibCamera) | |
Variables | |
| static const CalibratedCamera | camera (kDefaultPose) |
| static const Pose3 | kDefaultPose (Rot3(Vector3(1,-1,-1).asDiagonal()), Point3(0, 0, 0.5)) |
| Unit3 | pointAtInfinity (0, 0,-1000) |
test CalibratedCamera class
Definition in file testCalibratedCamera.cpp.
Definition at line 206 of file testCalibratedCamera.cpp.
|
static |
Definition at line 187 of file testCalibratedCamera.cpp.
| int main | ( | void | ) |
Definition at line 230 of file testCalibratedCamera.cpp.
|
static |
|
static |
|
static |
|
static |
Definition at line 99 of file testCalibratedCamera.cpp.
Definition at line 112 of file testCalibratedCamera.cpp.
|
static |
Definition at line 126 of file testCalibratedCamera.cpp.
|
static |
Definition at line 158 of file testCalibratedCamera.cpp.
| TEST | ( | CalibratedCamera | , |
| constructor | |||
| ) |
Definition at line 44 of file testCalibratedCamera.cpp.
| TEST | ( | CalibratedCamera | , |
| Create | |||
| ) |
Definition at line 50 of file testCalibratedCamera.cpp.
| TEST | ( | CalibratedCamera | , |
| level1 | |||
| ) |
Definition at line 62 of file testCalibratedCamera.cpp.
| TEST | ( | CalibratedCamera | , |
| level2 | |||
| ) |
Definition at line 76 of file testCalibratedCamera.cpp.
| TEST | ( | CalibratedCamera | , |
| project | |||
| ) |
Definition at line 90 of file testCalibratedCamera.cpp.
| TEST | ( | CalibratedCamera | , |
| DProject1 | |||
| ) |
Definition at line 103 of file testCalibratedCamera.cpp.
| TEST | ( | CalibratedCamera | , |
| DProjectInfinity | |||
| ) |
Definition at line 117 of file testCalibratedCamera.cpp.
| TEST | ( | CalibratedCamera | , |
| Dproject_point_pose | |||
| ) |
Definition at line 131 of file testCalibratedCamera.cpp.
| TEST | ( | CalibratedCamera | , |
| Dproject_point_pose2 | |||
| ) |
Definition at line 145 of file testCalibratedCamera.cpp.
| TEST | ( | CalibratedCamera | , |
| Dproject_point_pose_infinity | |||
| ) |
Definition at line 162 of file testCalibratedCamera.cpp.
| TEST | ( | CalibratedCamera | , |
| Dproject_point_pose2_infinity | |||
| ) |
Definition at line 175 of file testCalibratedCamera.cpp.
| TEST | ( | CalibratedCamera | , |
| DBackprojectFromCamera | |||
| ) |
Definition at line 191 of file testCalibratedCamera.cpp.
| TEST | ( | PinholePose | , |
| DbackprojectCalibCamera | |||
| ) |
Definition at line 209 of file testCalibratedCamera.cpp.
|
static |
| Unit3 pointAtInfinity(0, 0,-1000) |