Searched refs:principal_point_ (Results 1 – 2 of 2) sorted by relevance
107 …principal_point_ = Vec2f(static_cast<float>(window_size.width)*0.5f, static_cast<float>(window_siz… in Camera()108 … focal_ = Vec2f(principal_point_[0] / tan(fov_[0]*0.5f), principal_point_[1] / tan(fov_[1]*0.5f)); in Camera()133 …principal_point_[0] = fabs(left-right) < epsilon ? window_size.width * 0.5 : (left * window_size.… in Camera()134 …principal_point_[1] = fabs(top-bottom) < epsilon ? window_size.height * 0.5 : (top * window_size.h… in Camera()136 focal_[0] = -near * principal_point_[0] / left; in Camera()137 focal_[1] = near * principal_point_[1] / top; in Camera()140 …fov_[0] = atan2(principal_point_[0], focal_[0]) + atan2(window_size.width-principal_point_[0], fo… in Camera()141 …fov_[1] = atan2(principal_point_[1], focal_[1]) + atan2(window_size.height-principal_point_[1], fo… in Camera()154 principal_point_[0] = cx; in init()155 principal_point_[1] = cy; in init()[all …]
184 const Vec2d& getPrincipalPoint() const { return principal_point_; } in getPrincipalPoint()206 Vec2d principal_point_; member in cv::viz::Camera