Vec3d 351 modules/calib3d/include/opencv2/calib3d.hpp CV_EXPORTS_W Vec3d RQDecomp3x3( InputArray src, OutputArray mtxR, OutputArray mtxQ, Vec3d 3414 modules/calib3d/src/calibration.cpp cv::Vec3d cv::RQDecomp3x3( InputArray _Mmat, Vec3d 3424 modules/calib3d/src/calibration.cpp Vec3d eulerAngles; Vec3d 52 modules/calib3d/src/fisheye.cpp Vec3d dom, dT; Vec3d 80 modules/calib3d/src/fisheye.cpp Vec3d om = _rvec.depth() == CV_32F ? (Vec3d)*_rvec.getMat().ptr<Vec3f>() : *_rvec.getMat().ptr<Vec3d>(); Vec3d 81 modules/calib3d/src/fisheye.cpp Vec3d T = _tvec.depth() == CV_32F ? (Vec3d)*_tvec.getMat().ptr<Vec3f>() : *_tvec.getMat().ptr<Vec3d>(); Vec3d 116 modules/calib3d/src/fisheye.cpp const Vec3d* Xd = objectPoints.getMat().ptr<Vec3d>(); Vec3d 122 modules/calib3d/src/fisheye.cpp Vec3d Xi = objectPoints.depth() == CV_32F ? (Vec3d)Xf[i] : Xd[i]; Vec3d 123 modules/calib3d/src/fisheye.cpp Vec3d Y = aff*Xi; Vec3d 159 modules/calib3d/src/fisheye.cpp const Vec3d *dYdom = (Vec3d*)dYdom_data.val; Vec3d 162 modules/calib3d/src/fisheye.cpp const Vec3d *dYdT = (Vec3d*)dYdT_data.val; Vec3d 165 modules/calib3d/src/fisheye.cpp Vec3d dxdom[2]; Vec3d 169 modules/calib3d/src/fisheye.cpp Vec3d dxdT[2]; Vec3d 174 modules/calib3d/src/fisheye.cpp Vec3d dr2dom = 2 * x[0] * dxdom[0] + 2 * x[1] * dxdom[1]; Vec3d 175 modules/calib3d/src/fisheye.cpp Vec3d dr2dT = 2 * x[0] * dxdT[0] + 2 * x[1] * dxdT[1]; Vec3d 179 modules/calib3d/src/fisheye.cpp Vec3d drdom = drdr2 * dr2dom; Vec3d 180 modules/calib3d/src/fisheye.cpp Vec3d drdT = drdr2 * dr2dT; Vec3d 185 modules/calib3d/src/fisheye.cpp Vec3d dthetadom = dthetadr * drdom; Vec3d 186 modules/calib3d/src/fisheye.cpp Vec3d dthetadT = dthetadr * drdT; Vec3d 190 modules/calib3d/src/fisheye.cpp Vec3d dtheta_ddom = dtheta_ddtheta * dthetadom; Vec3d 191 modules/calib3d/src/fisheye.cpp Vec3d dtheta_ddT = dtheta_ddtheta * dthetadT; Vec3d 196 modules/calib3d/src/fisheye.cpp Vec3d dcdistdom = inv_r * (dtheta_ddom - cdist*drdom); Vec3d 197 modules/calib3d/src/fisheye.cpp Vec3d dcdistdT = inv_r * (dtheta_ddT - cdist*drdT); Vec3d 202 modules/calib3d/src/fisheye.cpp Vec3d dxd1dom[2], dxd1dT[2]; Vec3d 212 modules/calib3d/src/fisheye.cpp Vec3d dxd3dom[2], dxd3dT[2]; Vec3d 341 modules/calib3d/src/fisheye.cpp cv::Vec3d rvec; Vec3d 388 modules/calib3d/src/fisheye.cpp Vec3d pr = RR * Vec3d(pu[0], pu[1], 1.0); // rotated point optionally multiplied by new camera matrix Vec3d 435 modules/calib3d/src/fisheye.cpp cv::Vec3d rvec; Vec3d 618 modules/calib3d/src/fisheye.cpp Vec3d rvec; // Rodrigues vector Vec3d 628 modules/calib3d/src/fisheye.cpp Vec3d tvec; Vec3d 637 modules/calib3d/src/fisheye.cpp Vec3d t = r_r * tvec; Vec3d 638 modules/calib3d/src/fisheye.cpp Vec3d uu(t[0] > 0 ? 1 : -1, 0, 0); Vec3d 641 modules/calib3d/src/fisheye.cpp Vec3d ww = t.cross(uu); Vec3d 654 modules/calib3d/src/fisheye.cpp Vec3d tnew = ri2 * tvec; Vec3d 750 modules/calib3d/src/fisheye.cpp std::vector<Vec3d> omc(objectPoints.total()), Tc(objectPoints.total()); Vec3d 859 modules/calib3d/src/fisheye.cpp std::vector<Vec3d> rvecs1(n_images), tvecs1(n_images), rvecs2(n_images), tvecs2(n_images); Vec3d 921 modules/calib3d/src/fisheye.cpp cv::Vec3d omcur = cv::internal::median3d(om_list); Vec3d 922 modules/calib3d/src/fisheye.cpp cv::Vec3d Tcur = cv::internal::median3d(T_list); Vec3d 1011 modules/calib3d/src/fisheye.cpp omcur = omcur + cv::Vec3d(deltas.rowRange(a + b, a + b + 3)); Vec3d 1012 modules/calib3d/src/fisheye.cpp Tcur = Tcur + cv::Vec3d(deltas.rowRange(a + b + 3, a + b + 6)); Vec3d 1192 modules/calib3d/src/fisheye.cpp rvec = Mat(Vec3d(extrinsics.val)); Vec3d 1193 modules/calib3d/src/fisheye.cpp tvec = Mat(Vec3d(extrinsics.val+3)); Vec3d 1619 modules/calib3d/src/fisheye.cpp cv::Vec3d cv::internal::median3d(InputArray m) Vec3d 1623 modules/calib3d/src/fisheye.cpp return Vec3d(median(M.row(0)), median(M.row(1)), median(M.row(2))); Vec3d 57 modules/calib3d/src/fisheye.hpp Vec3d median3d(InputArray m); Vec3d 386 modules/calib3d/src/five-point.cpp Vec3d x1(x1ptr[i].x, x1ptr[i].y, 1.); Vec3d 387 modules/calib3d/src/five-point.cpp Vec3d x2(x2ptr[i].x, x2ptr[i].y, 1.); Vec3d 388 modules/calib3d/src/five-point.cpp Vec3d Ex1 = E * x1; Vec3d 389 modules/calib3d/src/five-point.cpp Vec3d Etx2 = E.t() * x2; Vec3d 61 modules/calib3d/src/homography_decomp.cpp cv::Vec3d n; //!< normal of the plane the camera is looking at Vec3d 62 modules/calib3d/src/homography_decomp.cpp cv::Vec3d t; //!< translation vector Vec3d 100 modules/calib3d/src/homography_decomp.cpp bool findMotionFrom_tstar_n(const cv::Vec3d& tstar, const cv::Vec3d& n, CameraMotion& motion); Vec3d 112 modules/calib3d/src/homography_decomp.cpp void findRmatFrom_tstar_n(const cv::Vec3d& tstar, const cv::Vec3d& n, const double v, cv::Matx33d& R); Vec3d 168 modules/calib3d/src/homography_decomp.cpp bool HomographyDecompZhang::findMotionFrom_tstar_n(const cv::Vec3d& tstar, const cv::Vec3d& n, CameraMotion& motion) Vec3d 228 modules/calib3d/src/homography_decomp.cpp Vec3d tstar_p, tstar_n; Vec3d 229 modules/calib3d/src/homography_decomp.cpp Vec3d n_p, n_n; Vec3d 294 modules/calib3d/src/homography_decomp.cpp void HomographyDecompInria::findRmatFrom_tstar_n(const cv::Vec3d& tstar, const cv::Vec3d& n, const double v, cv::Matx33d& R) Vec3d 320 modules/calib3d/src/homography_decomp.cpp motion.t = Vec3d(0, 0, 0); Vec3d 321 modules/calib3d/src/homography_decomp.cpp motion.n = Vec3d(0, 0, 0); Vec3d 327 modules/calib3d/src/homography_decomp.cpp Vec3d npa, npb; Vec3d 391 modules/calib3d/src/homography_decomp.cpp Vec3d na = npa / norm(npa); Vec3d 392 modules/calib3d/src/homography_decomp.cpp Vec3d nb = npb / norm(npb); Vec3d 397 modules/calib3d/src/homography_decomp.cpp Vec3d ta_star = half_nt * (esii_t_r * nb - n_t * na); Vec3d 398 modules/calib3d/src/homography_decomp.cpp Vec3d tb_star = half_nt * (esii_t_r * na - n_t * nb); Vec3d 403 modules/calib3d/src/homography_decomp.cpp Vec3d ta, tb; Vec3d 50 modules/calib3d/test/test_affine3.cpp cv::Vec3d rvec(0.2, 0.5, 0.3); Vec3d 69 modules/calib3d/test/test_affine3.cpp cv::Affine3d affine1(cv::Mat(cv::Vec3d(0.2, 0.5, 0.3)).reshape(1, 1), cv::Vec3d(4, 5, 6)); Vec3d 70 modules/calib3d/test/test_affine3.cpp cv::Affine3d affine2(R, cv::Vec3d(1, 1, 0.4)); Vec3d 71 modules/calib3d/test/test_cameracalibration_artificial.cpp Vec3d ex(p10.x - p00.x, p10.y - p00.y, p10.z - p00.z); Vec3d 72 modules/calib3d/test/test_cameracalibration_artificial.cpp Vec3d ey(p01.x - p00.x, p01.y - p00.y, p01.z - p00.z); Vec3d 73 modules/calib3d/test/test_cameracalibration_artificial.cpp Vec3d ez = ex.cross(ey); Vec3d 76 modules/calib3d/test/test_cameracalibration_artificial.cpp *rot.ptr<Vec3d>(0) = ex; Vec3d 77 modules/calib3d/test/test_cameracalibration_artificial.cpp *rot.ptr<Vec3d>(1) = ey; Vec3d 78 modules/calib3d/test/test_cameracalibration_artificial.cpp *rot.ptr<Vec3d>(2) = ez * (1.0/norm(ez)); Vec3d 85 modules/calib3d/test/test_decompose_projection.cpp cv::Vec3d rVec; Vec3d 91 modules/calib3d/test/test_decompose_projection.cpp cv::Vec3d origT; Vec3d 107 modules/calib3d/test/test_decompose_projection.cpp cv::Vec3d cameraCenter(homogCameraCenter(0), homogCameraCenter(1), homogCameraCenter(2)); Vec3d 110 modules/calib3d/test/test_decompose_projection.cpp cv::Vec3d t = -R*cameraCenter; Vec3d 54 modules/calib3d/test/test_fisheye.cpp const static cv::Vec3d T; Vec3d 90 modules/calib3d/test/test_fisheye.cpp cv::Vec3d* u2 = undist2.ptr<cv::Vec3d>(); Vec3d 92 modules/calib3d/test/test_fisheye.cpp u2[i] = cv::Vec3d(u1[i][0], u1[i][1], 1.0); Vec3d 95 modules/calib3d/test/test_fisheye.cpp cv::fisheye::projectPoints(undist2, distorted2, cv::Vec3d::all(0), cv::Vec3d::all(0), this->K, this->D); Vec3d 359 modules/calib3d/test/test_fisheye.cpp std::vector<cv::Vec3d> rvec; Vec3d 360 modules/calib3d/test/test_fisheye.cpp std::vector<cv::Vec3d> tvec; Vec3d 401 modules/calib3d/test/test_fisheye.cpp cv::Vec3d T = this->T; Vec3d 471 modules/calib3d/test/test_fisheye.cpp cv::Vec3d T; Vec3d 487 modules/calib3d/test/test_fisheye.cpp cv::Vec3d T_correct(-0.099402724724121, 0.00270812139265413, 0.00129330292472699); Vec3d 539 modules/calib3d/test/test_fisheye.cpp cv::Vec3d T; Vec3d 565 modules/calib3d/test/test_fisheye.cpp cv::Vec3d T_correct(-0.099402724724121, 0.00270812139265413, 0.00129330292472699); Vec3d 587 modules/calib3d/test/test_fisheye.cpp const cv::Vec3d fisheyeTest::T(-9.9217369356044638e-02, 3.1741831972356663e-03, 1.8551007952921010e-04); Vec3d 102 modules/calib3d/test/test_homography_decomp.cpp _t = Vec3d(1.826751712278038, 1.264718492450820, 0.195080809998819); Vec3d 103 modules/calib3d/test/test_homography_decomp.cpp _n = Vec3d(0.244875830334816, 0.480857890778889, 0.841909446789566); Vec3d 135 modules/calib3d/test/test_homography_decomp.cpp Vec3d _t, _n; Vec3d 150 modules/calib3d/test/test_reproject_image_to_3d.cpp out3d_t pixel_exp = *res.ptr<Vec3d>(); Vec3d 146 modules/core/include/opencv2/core/affine.hpp static Vec3d operator*(const Affine3d& affine, const Vec3d& vector); Vec3d 334 modules/core/include/opencv2/core/affine.hpp cv::Vec3d w; Vec3d 377 modules/core/include/opencv2/core/affine.hpp return cv::Vec3d(rx, ry, rz); Vec3d 474 modules/core/include/opencv2/core/affine.hpp cv::Vec3d cv::operator*(const cv::Affine3d& affine, const cv::Vec3d& v) Vec3d 477 modules/core/include/opencv2/core/affine.hpp cv::Vec3d r; Vec3d 2115 modules/core/include/opencv2/core/mat.hpp typedef Mat_<Vec3d> Mat3d; Vec3d 969 modules/core/test/test_operations.cpp Vec3d v13(1, 1, 1), v23(2, 2, 2); Vec3d 184 modules/cudalegacy/src/fgd.cpp Vec3d sum(0.0, 0.0, 0.0); Vec3d 185 modules/cudalegacy/src/fgd.cpp Vec3d sqsum(0.0, 0.0, 0.0); Vec3d 207 modules/cudalegacy/src/fgd.cpp Vec3d my( Vec3d 219 modules/cudalegacy/src/fgd.cpp void calcDiffThreshMask(const GpuMat& prevFrame, const GpuMat& curFrame, Vec3d bestThres, GpuMat& changeMask) Vec3d 250 modules/cudalegacy/src/fgd.cpp Vec3d bestThres(10.0, 10.0, 10.0); Vec3d 244 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_64F ){ image.at<Vec3d>(row,col) = Vec3d(newValue,newValue,newValue); } Vec3d 267 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_64F ){ image.at<Vec3d>(row,col)[channel] = newValue; } Vec3d 279 modules/imgcodecs/src/grfmt_gdal.cpp else if( image.depth() == CV_64F && channel < 4 ){ image.at<Vec3d>(row,col)[channel] = newValue; } Vec3d 63 modules/imgproc/src/grabcut.cpp double operator()( const Vec3d color ) const; Vec3d 64 modules/imgproc/src/grabcut.cpp double operator()( int ci, const Vec3d color ) const; Vec3d 65 modules/imgproc/src/grabcut.cpp int whichComponent( const Vec3d color ) const; Vec3d 68 modules/imgproc/src/grabcut.cpp void addSample( int ci, const Vec3d color ); Vec3d 109 modules/imgproc/src/grabcut.cpp double GMM::operator()( const Vec3d color ) const Vec3d 117 modules/imgproc/src/grabcut.cpp double GMM::operator()( int ci, const Vec3d color ) const Vec3d 123 modules/imgproc/src/grabcut.cpp Vec3d diff = color; Vec3d 134 modules/imgproc/src/grabcut.cpp int GMM::whichComponent( const Vec3d color ) const Vec3d 164 modules/imgproc/src/grabcut.cpp void GMM::addSample( int ci, const Vec3d color ) Vec3d 240 modules/imgproc/src/grabcut.cpp Vec3d color = img.at<Vec3b>(y,x); Vec3d 243 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y,x-1); Vec3d 248 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x-1); Vec3d 253 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x); Vec3d 258 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x+1); Vec3d 286 modules/imgproc/src/grabcut.cpp Vec3d color = img.at<Vec3b>(y,x); Vec3d 289 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y,x-1); Vec3d 296 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x-1); Vec3d 303 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x); Vec3d 310 modules/imgproc/src/grabcut.cpp Vec3d diff = color - (Vec3d)img.at<Vec3b>(y-1,x+1); Vec3d 408 modules/imgproc/src/grabcut.cpp Vec3d color = img.at<Vec3b>(p); Vec3d 718 modules/python/src2/cv2.cpp bool pyopencv_to(PyObject* obj, Vec3d& v, const char* name) Vec3d 727 modules/python/src2/cv2.cpp PyObject* pyopencv_from(const Vec3d& v) Vec3d 273 modules/viz/include/opencv2/viz/types.hpp inline cv::viz::Color::operator cv::Vec3b() const { return cv::Vec3d(val); } Vec3d 177 modules/viz/include/opencv2/viz/viz3d.hpp void converTo3DRay(const Point3d &window_coord, Point3d &origin, Vec3d &direction); Vec3d 70 modules/viz/include/opencv2/viz/vizcore.hpp CV_EXPORTS Affine3d makeTransformToGlobal(const Vec3d& axis_x, const Vec3d& axis_y, const Vec3d& axis_z, const Vec3d& origin = Vec3d::all(0)); Vec3d 81 modules/viz/include/opencv2/viz/vizcore.hpp CV_EXPORTS Affine3d makeCameraPose(const Vec3d& position, const Vec3d& focal_point, const Vec3d& y_dir); Vec3d 264 modules/viz/include/opencv2/viz/widgets.hpp WPlane(const Point3d& center, const Vec3d& normal, const Vec3d& new_yaxis, Vec3d 322 modules/viz/include/opencv2/viz/widgets.hpp WCircle(double radius, const Point3d& center, const Vec3d& normal, double thickness = 0.01, const Color &color = Color::white()); Vec3d 381 modules/viz/include/opencv2/viz/widgets.hpp WCube(const Point3d& min_point = Vec3d::all(-0.5), const Point3d& max_point = Vec3d::all(0.5), Vec3d 490 modules/viz/include/opencv2/viz/widgets.hpp WImage3D(InputArray image, const Size2d &size, const Vec3d ¢er, const Vec3d &normal, const Vec3d &up_vector); Vec3d 528 modules/viz/include/opencv2/viz/widgets.hpp WGrid(const Point3d& center, const Vec3d& normal, const Vec3d& new_yaxis, Vec3d 326 modules/viz/src/clouds.cpp Vec3d endp = Vec3d(srow) + Vec3d(nrow) * (double)scale; Vec3d 227 modules/viz/src/precomp.hpp inline Vec3d get_random_vec(double from = -10.0, double to = 10.0) Vec3d 230 modules/viz/src/precomp.hpp return Vec3d(rng.uniform(from, to), rng.uniform(from, to), rng.uniform(from, to)); Vec3d 276 modules/viz/src/precomp.hpp Vec3b rgb = Vec3d(color[2], color[1], color[0]); Vec3d 130 modules/viz/src/shapes.cpp cv::viz::WPlane::WPlane(const Point3d& center, const Vec3d& normal, const Vec3d& new_yaxis, const Size2d& size, const Color &color) Vec3d 132 modules/viz/src/shapes.cpp Vec3d zvec = normalize(normal); Vec3d 133 modules/viz/src/shapes.cpp Vec3d xvec = normalize(new_yaxis.cross(zvec)); Vec3d 134 modules/viz/src/shapes.cpp Vec3d yvec = zvec.cross(xvec); Vec3d 157 modules/viz/src/shapes.cpp Vec3d arbitrary = get_random_vec(); Vec3d 158 modules/viz/src/shapes.cpp Vec3d start_point(pt1.x, pt1.y, pt1.z), end_point(pt2.x, pt2.y, pt2.z); Vec3d 162 modules/viz/src/shapes.cpp Vec3d xvec = normalized(end_point - start_point); Vec3d 163 modules/viz/src/shapes.cpp Vec3d zvec = normalized(xvec.cross(arbitrary)); Vec3d 164 modules/viz/src/shapes.cpp Vec3d yvec = zvec.cross(xvec); Vec3d 211 modules/viz/src/shapes.cpp cv::viz::WCircle::WCircle(double radius, const Point3d& center, const Vec3d& normal, double thickness, const Color &color) Vec3d 213 modules/viz/src/shapes.cpp Vec3d arbitrary = get_random_vec(); Vec3d 214 modules/viz/src/shapes.cpp Vec3d zvec = normalized(normal); Vec3d 215 modules/viz/src/shapes.cpp Vec3d xvec = normalized(zvec.cross(arbitrary)); Vec3d 216 modules/viz/src/shapes.cpp Vec3d yvec = zvec.cross(xvec); Vec3d 255 modules/viz/src/shapes.cpp Vec3d arbitrary = get_random_vec(); Vec3d 256 modules/viz/src/shapes.cpp Vec3d xvec = normalized(Vec3d(tip - center)); Vec3d 257 modules/viz/src/shapes.cpp Vec3d zvec = normalized(xvec.cross(arbitrary)); Vec3d 258 modules/viz/src/shapes.cpp Vec3d yvec = zvec.cross(xvec); Vec3d 464 modules/viz/src/shapes.cpp cv::viz::WGrid::WGrid(const Point3d& center, const Vec3d& normal, const Vec3d& new_yaxis, const Vec2i &cells, const Vec2d &cells_spacing, const Color &color) Vec3d 466 modules/viz/src/shapes.cpp Vec3d zvec = normalize(normal); Vec3d 467 modules/viz/src/shapes.cpp Vec3d xvec = normalize(new_yaxis.cross(zvec)); Vec3d 468 modules/viz/src/shapes.cpp Vec3d yvec = zvec.cross(xvec); Vec3d 700 modules/viz/src/shapes.cpp cv::viz::WImage3D::WImage3D(InputArray image, const Size2d &size, const Vec3d ¢er, const Vec3d &normal, const Vec3d &up_vector) Vec3d 705 modules/viz/src/shapes.cpp Vec3d n = normalize(normal); Vec3d 706 modules/viz/src/shapes.cpp Vec3d u = normalize(up_vector.cross(n)); Vec3d 707 modules/viz/src/shapes.cpp Vec3d v = n.cross(u); Vec3d 843 modules/viz/src/shapes.cpp image.at<Vec3b>(0, 0) = Vec3d(color.val); //workaround of VTK limitation Vec3d 853 modules/viz/src/shapes.cpp image_widget.applyTransform(Affine3d().translate(Vec3d(0, 0, scale))); Vec3d 877 modules/viz/src/shapes.cpp image.at<Vec3b>(0, 0) = Vec3d(color.val); //workaround of VTK limitation Vec3d 885 modules/viz/src/shapes.cpp image_widget.applyTransform(Affine3d().translate(Vec3d(0, 0, scale))); Vec3d 1040 modules/viz/src/shapes.cpp Vec3d curr = traj[i].translation(); Vec3d 1056 modules/viz/src/shapes.cpp Vec3d prev = traj[i-1].translation(); Vec3d 1057 modules/viz/src/shapes.cpp Vec3d lvec = prev - curr; Vec3d 1062 modules/viz/src/shapes.cpp Vec3d lend = curr + lvec; Vec3d 132 modules/viz/src/viz3d.cpp void cv::viz::Viz3d::converTo3DRay(const Point3d &window_coord, Point3d &origin, Vec3d &direction) { impl_->converTo3DRay(window_coord, origin, direction); } Vec3d 48 modules/viz/src/vizcore.cpp cv::Affine3d cv::viz::makeTransformToGlobal(const Vec3d& axis_x, const Vec3d& axis_y, const Vec3d& axis_z, const Vec3d& origin) Vec3d 57 modules/viz/src/vizcore.cpp cv::Affine3d cv::viz::makeCameraPose(const Vec3d& position, const Vec3d& focal_point, const Vec3d& y_dir) Vec3d 60 modules/viz/src/vizcore.cpp Vec3d n = normalize(focal_point - position); Vec3d 61 modules/viz/src/vizcore.cpp Vec3d u = normalize(y_dir.cross(n)); Vec3d 62 modules/viz/src/vizcore.cpp Vec3d v = n.cross(u); Vec3d 343 modules/viz/src/vizcore.cpp Vec3d *optr = normals.ptr<Vec3d>(); Vec3d 426 modules/viz/src/vizimpl.cpp cv::Vec3d pos_vec = pose.translation(); Vec3d 430 modules/viz/src/vizimpl.cpp cv::Vec3d y_axis(0.0, -1.0, 0.0); // In Computer Vision Camera Y-axis is oriented down Vec3d 431 modules/viz/src/vizimpl.cpp cv::Vec3d up_vec(rotation * y_axis); Vec3d 434 modules/viz/src/vizimpl.cpp cv::Vec3d z_axis(0.0, 0.0, 1.0); Vec3d 435 modules/viz/src/vizimpl.cpp cv::Vec3d focal_vec = pose * z_axis; Vec3d 449 modules/viz/src/vizimpl.cpp Vec3d pos(camera.GetPosition()); Vec3d 450 modules/viz/src/vizimpl.cpp Vec3d view_up(camera.GetViewUp()); Vec3d 451 modules/viz/src/vizimpl.cpp Vec3d focal(camera.GetFocalPoint()); Vec3d 453 modules/viz/src/vizimpl.cpp Vec3d y_axis = normalized(-view_up); // In Computer Vision Camera Y-axis is oriented down Vec3d 454 modules/viz/src/vizimpl.cpp Vec3d z_axis = normalized(focal - pos); Vec3d 455 modules/viz/src/vizimpl.cpp Vec3d x_axis = normalized(y_axis.cross(z_axis)); Vec3d 463 modules/viz/src/vizimpl.cpp Vec3d window_pt; Vec3d 469 modules/viz/src/vizimpl.cpp void cv::viz::Viz3d::VizImpl::converTo3DRay(const Point3d &window_coord, Point3d &origin, Vec3d &direction) Vec3d 473 modules/viz/src/vizimpl.cpp Vec3d cam_pos(renderer_->GetActiveCamera()->GetPosition()); Vec3d 475 modules/viz/src/vizimpl.cpp direction = normalize(Vec3d(world_pt.val) - cam_pos); Vec3d 90 modules/viz/src/vizimpl.hpp void converTo3DRay(const Point3d &window_coord, Point3d &origin, Vec3d &direction); Vec3d 77 modules/viz/src/vtk/vtkCloudMatSink.cpp Vec3d *ddata = cloud.getMat().ptr<Vec3d>(); Vec3d 82 modules/viz/src/vtk/vtkCloudMatSink.cpp *fdata++ = Vec3d(points_Data->GetPoint((vtkIdType)i)); Vec3d 86 modules/viz/src/vtk/vtkCloudMatSink.cpp *ddata++ = Vec3d(points_Data->GetPoint((vtkIdType)i)); Vec3d 102 modules/viz/src/vtk/vtkCloudMatSink.cpp Vec3d *cptr = buffer.ptr<Vec3d>(); Vec3d 104 modules/viz/src/vtk/vtkCloudMatSink.cpp *cptr++ = Vec3d(scalars_data->GetTuple((vtkIdType)i)); Vec3d 122 modules/viz/src/vtk/vtkCloudMatSink.cpp Vec3d *cptr = buffer.ptr<Vec3d>(); Vec3d 124 modules/viz/src/vtk/vtkCloudMatSink.cpp *cptr++ = Vec3d(normals_data->GetTuple((vtkIdType)i)); Vec3d 93 modules/viz/src/vtk/vtkOBJWriter.cpp Vec3d p; Vec3d 106 modules/viz/src/vtk/vtkOBJWriter.cpp Vec3d p; Vec3d 78 modules/viz/src/vtk/vtkTrajectorySource.cpp Vec3d p = dpath->translation(); Vec3d 98 modules/viz/src/vtk/vtkTrajectorySource.cpp points.at<Vec3d>(i) = dpath[i].translation(); Vec3d 167 modules/viz/src/vtk/vtkVizInteractorStyle.cpp Vec3d focal(cam->GetFocalPoint()), pos(cam->GetPosition()), view(cam->GetViewUp()); Vec3d 956 modules/viz/src/vtk/vtkVizInteractorStyle.cpp DiagonalLength = norm(Vec3d(bounds[0], bounds[2], bounds[4]) - Vec3d(bounds[1], bounds[3], bounds[5])); Vec3d 959 modules/viz/src/vtk/vtkVizInteractorStyle.cpp void cv::viz::vtkVizInteractorStyle::MotionAlongVector(const Vec3d& vector, double amount, vtkCamera* cam) Vec3d 962 modules/viz/src/vtk/vtkVizInteractorStyle.cpp Vec3d campos = Vec3d(cam->GetPosition()) - amount * vector; Vec3d 963 modules/viz/src/vtk/vtkVizInteractorStyle.cpp Vec3d camfoc = Vec3d(cam->GetFocalPoint()) - amount * vector; Vec3d 981 modules/viz/src/vtk/vtkVizInteractorStyle.cpp Vec3d a_vector(vtm->GetElement(0,0), vtm->GetElement(0,1), vtm->GetElement(0,2)); Vec3d 987 modules/viz/src/vtk/vtkVizInteractorStyle.cpp Vec3d a_vector(cam->GetViewUp()); Vec3d 1001 modules/viz/src/vtk/vtkVizInteractorStyle.cpp Vec3d a_vector(cam->GetDirectionOfProjection()); // reversed (use -speed) Vec3d 1021 modules/viz/src/vtk/vtkVizInteractorStyle.cpp Vec3d a_vector(vtm->GetElement(0,0), vtm->GetElement(0,1), vtm->GetElement(0,2)); Vec3d 1041 modules/viz/src/vtk/vtkVizInteractorStyle.cpp Vec3d a_vector = Vec3d(cam->GetViewUp()); Vec3d 1058 modules/viz/src/vtk/vtkVizInteractorStyle.cpp Vec3d a_vector(cam->GetDirectionOfProjection()); Vec3d 136 modules/viz/src/vtk/vtkVizInteractorStyle.hpp void MotionAlongVector(const Vec3d& vector, double amount, vtkCamera* cam); Vec3d 85 modules/viz/src/vtk/vtkXYZWriter.cpp Vec3d p; Vec3d 100 modules/viz/test/test_precomp.hpp result.push_back(viz::makeCameraPose(Vec3d(x, y, z), Vec3d::all(0.0), Vec3d(0.0, 1.0, 0.0))); Vec3d 27 modules/viz/test/test_tutorial2.cpp Vec3d rot_vec = Vec3d::all(0); Vec3d 42 modules/viz/test/test_tutorial2.cpp Affine3d pose(rot_vec, Vec3d(translation, translation, translation)); Vec3d 25 modules/viz/test/test_tutorial3.cpp Affine3d transform = viz::makeTransformToGlobal(Vec3d(0.0, -1.0, 0.0), Vec3d(-1.0, 0.0, 0.0), Vec3d(0.0, 0.0, -1.0), cam_origin); Vec3d 32 modules/viz/test/test_tutorial3.cpp Affine3d cloud_pose = Affine3d().rotate(Vec3d(0.0, CV_PI/2, 0.0)).rotate(Vec3d(0.0, 0.0, CV_PI)).translate(Vec3d(0.0, 0.0, 3.0)); Vec3d 52 modules/viz/test/tests_simple.cpp Affine3d pose = Affine3d().rotate(Vec3d(0, 0.8, 0)); Vec3d 70 modules/viz/test/tests_simple.cpp Affine3d pose = Affine3d().rotate(Vec3d(0, 0.8, 0)); Vec3d 89 modules/viz/test/tests_simple.cpp Affine3d pose = Affine3d().rotate(Vec3d(0, 0.8, 0)); Vec3d 103 modules/viz/test/tests_simple.cpp ccol.addCloud(cloud, Color::white(), Affine3d().translate(Vec3d(0, 0, 0)).rotate(Vec3d(CV_PI/2, 0, 0))); Vec3d 104 modules/viz/test/tests_simple.cpp ccol.addCloud(cloud, Color::blue(), Affine3d().translate(Vec3d(1, 0, 0))); Vec3d 105 modules/viz/test/tests_simple.cpp ccol.addCloud(cloud, Color::red(), Affine3d().translate(Vec3d(2, 0, 0))); Vec3d 123 modules/viz/test/tests_simple.cpp viz.showWidget("cloud1", WPaintedCloud(cloud), Affine3d(Vec3d(0.0, -CV_PI/2, 0.0), Vec3d(-1.5, 0.0, 0.0))); Vec3d 124 modules/viz/test/tests_simple.cpp viz.showWidget("cloud2", WPaintedCloud(cloud, Vec3d(0.0, -0.75, -1.0), Vec3d(0.0, 0.75, 0.0)), Affine3d(Vec3d(0.0, CV_PI/2, 0.0), Vec3d(1.5, 0.0, 0.0))); Vec3d 125 modules/viz/test/tests_simple.cpp viz.showWidget("cloud3", WPaintedCloud(cloud, Vec3d(0.0, 0.0, -1.0), Vec3d(0.0, 0.0, 1.0), Color::blue(), Color::red())); Vec3d 126 modules/viz/test/tests_simple.cpp viz.showWidget("arrow", WArrow(Vec3d(0.0, 1.0, -1.0), Vec3d(0.0, 1.0, 1.0), 0.009, Color::raspberry())); Vec3d 135 modules/viz/test/tests_simple.cpp Affine3d pose = Affine3d().rotate(Vec3d(0, 0.8, 0)); Vec3d 149 modules/viz/test/tests_simple.cpp Affine3d pose = Affine3d().rotate(Vec3d(0, 0.8, 0)); Vec3d 162 modules/viz/test/tests_simple.cpp merger.addWidget(WCube(Vec3d::all(0.0), Vec3d::all(1.0), true, Color::gold())); Vec3d 169 modules/viz/test/tests_simple.cpp merger.addWidget(WSphere(Vec3d(c)*(1.0/255.0), 7.0/255.0, 10, Color(c[2], c[1], c[0]))); Vec3d 184 modules/viz/test/tests_simple.cpp std::vector<Vec3d> points; Vec3d 190 modules/viz/test/tests_simple.cpp points.push_back(Vec3d(0.00, cos(angle), sin(angle))*0.75); Vec3d 191 modules/viz/test/tests_simple.cpp points.push_back(Vec3d(1.57, cos(angle), sin(angle))*0.75); Vec3d 225 modules/viz/test/tests_simple.cpp polyline.at<Vec3d>(i) = Vec3d(i/16.0, cos(i * CV_PI/6), sin(i * CV_PI/6)); Vec3d 241 modules/viz/test/tests_simple.cpp Affine3d pose = Affine3d().rotate(Vec3d(0, 0.8, 0)); Vec3d 256 modules/viz/test/tests_simple.cpp Affine3d pose = Affine3d().rotate(Vec3d(0, 0.8, 0)); Vec3d 294 modules/viz/test/tests_simple.cpp Vec3d pose(sin(a * CV_PI/180), 0.7, cos(a * CV_PI/180)); Vec3d 295 modules/viz/test/tests_simple.cpp viz.setViewerPose(makeCameraPose(pose * 7.5, Vec3d(0.0, 0.5, 0.0), Vec3d(0.0, 0.1, 0.0))); Vec3d 322 modules/viz/test/tests_simple.cpp Vec3d pose = 5 * Vec3d(sin(3.14 + 2.7 + i*60 * CV_PI/180), 0.4 - i*0.3, cos(3.14 + 2.7 + i*60 * CV_PI/180)); Vec3d 323 modules/viz/test/tests_simple.cpp poses[i] = makeCameraPose(pose, Vec3d(0.0, 0.0, 0.0), Vec3d(0.0, -0.1, 0.0)); Vec3d 360 modules/viz/test/tests_simple.cpp Vec3d pose(sin(a * CV_PI/180), 0.7, cos(a * CV_PI/180)); Vec3d 361 modules/viz/test/tests_simple.cpp viz.setViewerPose(makeCameraPose(pose * 3, Vec3d(0.0, 0.5, 0.0), Vec3d(0.0, 0.1, 0.0))); Vec3d 392 modules/viz/test/tests_simple.cpp viz.showWidget("arr0", WArrow(Vec3d(0.5, 0.0, 0.0), Vec3d(1.5, 0.0, 0.0), 0.009, Color::raspberry())); Vec3d 393 modules/viz/test/tests_simple.cpp viz.showWidget("img0", WImage3D(lena, Size2d(1.0, 1.0)), Affine3d(Vec3d(0.0, CV_PI/2, 0.0), Vec3d(.5, 0.0, 0.0))); Vec3d 394 modules/viz/test/tests_simple.cpp viz.showWidget("arr1", WArrow(Vec3d(-0.5, -0.5, 0.0), Vec3d(0.2, 0.2, 0.0), 0.009, Color::raspberry())); Vec3d 395 modules/viz/test/tests_simple.cpp viz.showWidget("img1", WImage3D(gray, Size2d(1.0, 1.0), Vec3d(-0.5, -0.5, 0.0), Vec3d(1.0, 1.0, 0.0), Vec3d(0.0, 1.0, 0.0))); Vec3d 397 modules/viz/test/tests_simple.cpp viz.showWidget("arr3", WArrow(Vec3d::all(-0.5), Vec3d::all(0.5), 0.009, Color::raspberry())); Vec3d 418 modules/viz/test/tests_simple.cpp viz.showWidget("cub0", WCube(Vec3d::all(-1.0), Vec3d::all(-0.5), false, Color::indigo())); Vec3d 419 modules/viz/test/tests_simple.cpp viz.showWidget("arro", WArrow(Vec3d::all(-0.5), Vec3d::all(0.5), 0.009, Color::raspberry())); Vec3d 421 modules/viz/test/tests_simple.cpp viz.showWidget("cir2", WCircle(0.5, Point3d(0.5, 0.0, 0.0), Vec3d(1.0, 0.0, 0.0), 0.01, Color::apricot())); Vec3d 423 modules/viz/test/tests_simple.cpp viz.showWidget("cyl0", WCylinder(Vec3d(-0.5, 0.5, -0.5), Vec3d(0.5, 0.5, -0.5), 0.125, 30, Color::brown())); Vec3d 431 modules/viz/test/tests_simple.cpp viz.showWidget("plane2", WPlane(Vec3d(0.5, -0.5, -0.5), Vec3d(0.0, 1.0, 1.0), Vec3d(1.0, 1.0, 0.0), Size2d(1.0, 0.5), Color::gold())); Vec3d 433 modules/viz/test/tests_simple.cpp viz.showWidget("grid1", WGrid(Vec2i(7,7), Vec2d::all(0.75), Color::gray()), Affine3d().translate(Vec3d(0.0, 0.0, -1.0)));