makeCameraPose implementation

This commit is contained in:
ozantonkal
2013-07-29 12:25:46 +02:00
parent 250dac5b71
commit 42266b04a5
4 changed files with 27 additions and 70 deletions

View File

@@ -64,7 +64,7 @@ namespace cv
CV_EXPORTS Affine3f makeTransformToGlobal(const Vec3f& axis_x, const Vec3f& axis_y, const Vec3f& axis_z, const Vec3f& origin = Vec3f::all(0));
//! constructs camera pose from position, focal_point and up_vector (see gluLookAt() for more infromation
CV_EXPORTS Affine3f makeCameraPose(const Vec3f& position, const Vec3f& focal_point, const Vec3f& up_vector);
CV_EXPORTS Affine3f makeCameraPose(const Vec3f& position, const Vec3f& focal_point, const Vec3f& y_dir);
//! checks float value for Nan