remove old camera, rename new camera
This commit is contained in:
@@ -94,12 +94,12 @@ namespace cv
|
||||
unsigned int key_state;
|
||||
};
|
||||
|
||||
class CV_EXPORTS Camera2
|
||||
class CV_EXPORTS Camera
|
||||
{
|
||||
public:
|
||||
Camera2(float f_x, float f_y, float c_x, float c_y, const Size &window_size);
|
||||
Camera2(const Vec2f &fov, const Size &window_size);
|
||||
Camera2(const cv::Mat &K, const Size &window_size);
|
||||
Camera(float f_x, float f_y, float c_x, float c_y, const Size &window_size);
|
||||
Camera(const Vec2f &fov, const Size &window_size);
|
||||
Camera(const cv::Mat &K, const Size &window_size);
|
||||
|
||||
inline const Vec2d & getClip() const { return clip_; }
|
||||
inline void setClip(const Vec2d &clip) { clip_ = clip; }
|
||||
|
@@ -39,7 +39,8 @@ namespace cv
|
||||
void updateWidgetPose(const String &id, const Affine3f &pose);
|
||||
Affine3f getWidgetPose(const String &id) const;
|
||||
|
||||
void setCamera(const Camera2 &camera);
|
||||
void setCamera(const Camera &camera);
|
||||
Camera getCamera() const;
|
||||
Affine3f getViewerPose();
|
||||
void setViewerPose(const Affine3f &pose);
|
||||
|
||||
|
Reference in New Issue
Block a user