随笔分类 -  C++

上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 33 下一页
摘要:libfacedetection测试 阅读全文
posted @ 2019-10-07 22:19 西北逍遥 阅读(475) 评论(0) 推荐(0)
摘要:opencv加载网络图片 阅读全文
posted @ 2019-10-06 12:46 西北逍遥 阅读(810) 评论(0) 推荐(0)
摘要:/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OS 阅读全文
posted @ 2019-10-04 20:46 西北逍遥 阅读(310) 评论(0) 推荐(0)
摘要:/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public Lic... 阅读全文
posted @ 2019-10-03 21:53 西北逍遥 阅读(322) 评论(0) 推荐(0)
摘要:double x = vec_endPoint_rotate.x(); double y = vec_endPoint_rotate.y(); double dx = vec_center_rotate.x(); double dy = vec_center_rotate.y(); //一个点(x, 阅读全文
posted @ 2019-10-03 21:00 西北逍遥 阅读(4491) 评论(0) 推荐(0)
摘要:加入机械臂,做吊装模拟分析 阅读全文
posted @ 2019-10-03 09:38 西北逍遥 阅读(245) 评论(0) 推荐(0)
摘要:node->getBound().center() * osg::computeLocalToWorld(node->getParentalNodePaths()[0]) 不知为啥, hNode2->getParentalNodePaths(0);一直报错 Program: ...laManageP 阅读全文
posted @ 2019-10-02 20:56 西北逍遥 阅读(437) 评论(0) 推荐(0)
摘要:1> 已启动全部重新生成: 项目: TeslaManage, 配置: Debug x64 1> Moc'ing teslamanage.h...1> Uic'ing teslamanage.ui...1> Moc'ing VCArmEventHandler.h...1> Moc'ing vcgant 阅读全文
posted @ 2019-10-01 10:06 西北逍遥 阅读(545) 评论(0) 推荐(0)
摘要:机械臂模拟 Spacerorate cAngle:30hook x:8 y:19.7224 z:4.5hook x:8 y:19.7224 z:5.5hook x:8 y:19.7224 z:6.5hook x:8 y:19.7224 z:7.5hook x:8 y:19.7224 z:8.5hoo 阅读全文
posted @ 2019-09-30 16:02 西北逍遥 阅读(334) 评论(0) 推荐(0)
摘要:Qt获取时间戳作为图片名 阅读全文
posted @ 2019-09-26 19:54 西北逍遥 阅读(842) 评论(0) 推荐(0)
摘要:void VCAdmin::searchAllUser() { strID_Index = ""; if (NULL == vcManageDatabaseObj) { vc_admin_ui.label_msg->setText(QString::fromLocal8Bit("请连接数据库!")); return; } QSqlQuery query_sql = vcManageDatabase 阅读全文
posted @ 2019-09-25 19:05 西北逍遥 阅读(1794) 评论(0) 推荐(0)
摘要:realsense数据采集程序 阅读全文
posted @ 2019-09-25 19:02 西北逍遥 阅读(1172) 评论(1) 推荐(0)
摘要:vs下开发Qt连接mysql程序,开发过程中操作MySQL没有问题,但打包以后安装在别的电脑上发现竟然无法连接MySQL,打包的时候,所需的libmysql.dll等dll文件拷贝到exe同级目录了,发现一直提示driver not load driver not load,最后经过一天的测试,发现 阅读全文
posted @ 2019-09-23 07:28 西北逍遥 阅读(1466) 评论(1) 推荐(0)
摘要:Qt连接数据库,参数设置 阅读全文
posted @ 2019-09-20 18:52 西北逍遥 阅读(971) 评论(0) 推荐(0)
摘要:QMetaType::registerType: Binary compatibility break -- Size mismatch for type 'PtsData' [1025]. Previously registered size 216, now registering size 6 阅读全文
posted @ 2019-09-19 16:05 西北逍遥 阅读(502) 评论(0) 推荐(0)
摘要:#include<iostream> #include <opencv2/opencv.hpp> using namespace std; using namespace cv; int test1() { Mat img1, img2,img3; img2 = cv::Mat(640, 480,CV_8UC3); img1 = imread("D://images//opencv测试图片//19 阅读全文
posted @ 2019-09-19 13:15 西北逍遥 阅读(4878) 评论(0) 推荐(0)
摘要:QString转int 直接调用toInt()函数 例: QString str("100"); int tmp = str.toInt(); 或者: bool ok; QString str("100"); int tmp = str.toInt(&ok); 注:ok表示转换是否成功,成功则ok为 阅读全文
posted @ 2019-09-18 17:39 西北逍遥 阅读(226) 评论(0) 推荐(0)
摘要:void MobileCrane::rotateRope2() { //double r_angle1 = rotateRope + rorate3; //std::cout setMatrix(osg::Matrix::rotate(osg::DegreesToRadians(rotateRope), 0, 1, 0)); ropeMatrix = osg::Matri... 阅读全文
posted @ 2019-09-15 18:53 西北逍遥 阅读(216) 评论(0) 推荐(0)
摘要:osg::Vec3f vec3f1 = hookNode->getBound().center(); osg::NodePathList nodePAthList1 = hookNode->getParentalNodePaths(0); updateHookPosition_20190914(vec3f1, nodePAthList1); osg::Vec3 point3 = vec3f1 *... 阅读全文
posted @ 2019-09-14 11:56 西北逍遥 阅读(1010) 评论(0) 推荐(0)
摘要:error C1002: 在第 2 遍中编译器的堆空间不足 fatal error C1083: Not enough space 打开VS2015 x64 x86 兼容工具命令提示符,在此命令行中再执行:XXX.sln,即可使用vs2015打开解决方案,此时的vs2015在编译的时候就是使用了64 阅读全文
posted @ 2019-09-12 13:25 西北逍遥 阅读(4097) 评论(0) 推荐(0)

上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 33 下一页