another constructor for CameraPositionWidget for displaying image by also using field of view instead of intrinsic matrix

This commit is contained in:
Ozan Tonkal
2013-09-08 13:06:40 +02:00
parent 2170559bed
commit 3bdb55e1ef
2 changed files with 107 additions and 83 deletions

View File

@@ -206,6 +206,11 @@ namespace cv
CameraPositionWidget(const Vec2f &fov, double scale = 1.0, const Color &color = Color::white());
//! Creates frustum and display given image at the far plane
CameraPositionWidget(const Matx33f &K, const Mat &img, double scale = 1.0, const Color &color = Color::white());
//! Creates frustum and display given image at the far plane
CameraPositionWidget(const Vec2f &fov, const Mat &img, double scale = 1.0, const Color &color = Color::white());
private:
struct ProjectImage;
};
class CV_EXPORTS TrajectoryWidget : public Widget3D