随笔分类 -  C++

上一页 1 2 3 4 5 6 7 8 9 10 ··· 33 下一页
摘要:QString char* QString musicStr = "D:/12.mp3|";musicStr.toLatin1().data() ############ 阅读全文
posted @ 2022-10-11 17:21 西北逍遥 阅读(27) 评论(0) 推荐(0)
摘要:QDir #include <QDir> Public Types enum Filter { Dirs, AllDirs, Files, Drives, ..., CaseSensitive } flags Filters enum SortFlag { Name, Time, Size, Typ 阅读全文
posted @ 2022-07-09 20:28 西北逍遥 阅读(443) 评论(0) 推荐(0)
摘要:绘制ifc构件外轮廓 void VCWidget::drawOuterCurve(QPainter& mainPainter) { QPen routePen; routePen.setColor(QColor(0, 125, 255)); routePen.setWidth(4); mainPai 阅读全文
posted @ 2022-06-28 15:46 西北逍遥 阅读(49) 评论(0) 推荐(0)
摘要:绘制位置 for (int k=0;k<drawIndexRoutePoints.size();k++) { QVector<QPoint> drawRoutePoints = drawIndexRoutePoints.at(k); for (QPoint indexPoint : drawRout 阅读全文
posted @ 2022-06-25 19:37 西北逍遥 阅读(41) 评论(0) 推荐(0)
摘要:osg绘制闭合曲线 osg::TessellationHints* outline_hits1 = new osg::TessellationHints(); outline_hits1->setDetailRatio(0.9f); osg::Geode* outline_geode = new o 阅读全文
posted @ 2022-06-22 23:41 西北逍遥 阅读(334) 评论(0) 推荐(0)
摘要:错误C2280 “std::_Hash<std::_Uset_traits<_Kty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false>>::_Hash(const std::_Hash<std::_Uset_traits<_Kty,std: 阅读全文
posted @ 2022-06-21 09:17 西北逍遥 阅读(604) 评论(0) 推荐(0)
摘要:严重性 代码 说明 项目 文件 行 禁止显示状态 错误 C1128 节数超过对象文件格式限制: 请使用 /bigobj 进行编译 TeslaManage_2022061901 项目 属性->C/C++ -> 命令行 其它选项 输入:/bigobj ########################## 阅读全文
posted @ 2022-06-20 00:10 西北逍遥 阅读(1560) 评论(0) 推荐(0)
摘要:QPainter 绘制点 #include <QPainter> void QPainter::drawPoint(int x, int y) This is an overloaded function. Draws a single point at position (x, y). ##### 阅读全文
posted @ 2022-06-19 19:20 西北逍遥 阅读(303) 评论(0) 推荐(0)
摘要:计算关节夹角 float calculateAngle(float startX,float startY,float startZ, float centerX,float centerY,float centerZ, float endX,float endY,float endZ) { flo 阅读全文
posted @ 2022-06-18 19:41 西北逍遥 阅读(67) 评论(0) 推荐(0)
摘要:opencv打开摄像头 #include <opencv2/opencv.hpp> #include <iostream> using namespace cv; using namespace std; int main() { cv::namedWindow("win1", cv::WINDOW 阅读全文
posted @ 2022-06-17 20:21 西北逍遥 阅读(295) 评论(0) 推荐(0)
摘要:#include <QCheckBox> Properties tristate : bool 11 properties inherited from QAbstractButton 59 properties inherited from QWidget 1 property inherited 阅读全文
posted @ 2022-06-16 19:41 西北逍遥 阅读(186) 评论(0) 推荐(0)
摘要:QWindow #include <QWindow> Public Types enum AncestorMode { ExcludeTransients, IncludeTransients } enum Visibility { Windowed, Minimized, Maximized, F 阅读全文
posted @ 2022-06-13 22:01 西北逍遥 阅读(392) 评论(0) 推荐(0)
摘要:一时疏忽,直接在xshell远程桌面运行pyqt程序了,报了此错误 (wind_2022) admin-01@admin-01:~/Anaconda3/project_liao_20220523$ (wind_2022) admin-01@admin-01:~/Anaconda3/project_l 阅读全文
posted @ 2022-06-11 23:25 西北逍遥 阅读(5263) 评论(1) 推荐(0)
摘要:QMatrix4x4 #include <QMatrix4x4> Public Functions QMatrix4x4() QMatrix4x4(const float *values) QMatrix4x4(float m11, float m12, float m13, float m14, 阅读全文
posted @ 2022-06-09 12:50 西北逍遥 阅读(815) 评论(0) 推荐(0)
摘要:QMatrix #include <QMatrix> Public Functions QMatrix() QMatrix(qreal m11, qreal m12, qreal m21, qreal m22, qreal dx, qreal dy) QMatrix(QMatrix &&other) 阅读全文
posted @ 2022-06-08 22:22 西北逍遥 阅读(370) 评论(0) 推荐(0)
摘要:QString转 wchar_t wchar_t* QString2Wchar(QString qStr) { return (wchar_t*)reinterpret_cast<const wchar_t *>(qStr.utf16()); } ################### 阅读全文
posted @ 2022-06-06 11:15 西北逍遥 阅读(286) 评论(0) 推荐(0)
摘要:QHostInfo Header: #include <QHostInfo> Public Functions QHostInfo(int id = -1) QHostInfo(const QHostInfo &other) ~QHostInfo() QList<QHostAddress> addr 阅读全文
posted @ 2022-06-05 21:30 西北逍遥 阅读(151) 评论(0) 推荐(0)
摘要:C++类型转换 C++ float转int float myFloat {3.14f}; int i1 {(int)myFloat}; int i2 {int(myFloat)}; int i3 {static_cast<int>(myFloat)}; ################## 阅读全文
posted @ 2022-05-26 15:53 西北逍遥 阅读(57) 评论(0) 推荐(0)
摘要:实验数据记录 建图开始时间:23:12:18 建图结束时间:23:12:20 A*开始时间:23:12:23 A*结束时间:23:12:23 A*路径节点数量:54 A*路径实际长度:26280.3 A*路径曼哈顿长度:6826.01 RRT开始时间:23:14:38 RRT结束时间:23:14:4 阅读全文
posted @ 2022-05-22 23:22 西北逍遥 阅读(29) 评论(0) 推荐(0)
摘要:基于BIM与点云数据的塔吊仿真系统 ########################### 阅读全文
posted @ 2022-05-13 20:30 西北逍遥 阅读(142) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 ··· 33 下一页