随笔分类 -  C++

上一页 1 2 3 4 5 6 7 8 9 ··· 33 下一页
摘要:计算斜率k double calculate_k(float x1,float y1,float x2,float y2) { double k1 = 0.00001; if (x1 == x2 && y1 == y2)//1.共位 { k1 = 0.00001; } else if (x1 == 阅读全文
posted @ 2023-03-18 21:21 西北逍遥 阅读(94) 评论(0) 推荐(0)
摘要:osg创建立方体 osg::Geode* createBox(double minX, double maxX, double minY, double maxY, double minZ, double maxZ) { double X1 = minX; double X2 = maxX; dou 阅读全文
posted @ 2023-03-16 21:33 西北逍遥 阅读(109) 评论(0) 推荐(0)
摘要:QMap #include <QMap> Public Functions QMap() QMap(std::initializer_list<std::pair<Key, T> > list) QMap(const QMap<Key, T> &other) QMap(QMap<Key, T> && 阅读全文
posted @ 2023-03-03 16:17 西北逍遥 阅读(357) 评论(0) 推荐(0)
摘要:QQuickStyle QQuickStyle类用来配置应用程序样式 Header: #include <QQuickStyle> Since: Qt 5.7 List of all members, including inherited members Static Public Members 阅读全文
posted @ 2023-03-01 14:49 西北逍遥 阅读(174) 评论(0) 推荐(0)
摘要:Qt遍历目录下的文件 QList<QString> getAllPCDFileName(QString dirPath) { QList<QString> list1; QDir dir1(dirPath); dir1.setFilter(QDir::Files | QDir::Hidden | Q 阅读全文
posted @ 2023-02-24 19:05 西北逍遥 阅读(211) 评论(0) 推荐(0)
摘要:QDateEdit *dateEdit_date_morning;dateEdit_date_morning = new QDateEdit(centralWidget);dateEdit_date_morning->setObjectName(QStringLiteral("dateEdit_da 阅读全文
posted @ 2023-02-05 10:50 西北逍遥 阅读(120) 评论(0) 推荐(0)
摘要:QAbstractSocket #include <QAbstractSocket> Public Types enum BindFlag { ShareAddress, DontShareAddress, ReuseAddressHint, DefaultForPlatform } flags B 阅读全文
posted @ 2023-01-10 18:57 西北逍遥 阅读(153) 评论(0) 推荐(0)
摘要:QBEInteger #include <QBEInteger> Public Functions QBEInteger(T value) T operator T() const bool operator!=(QBEInteger<T> other) const QBEInteger<T> & 阅读全文
posted @ 2023-01-09 08:31 西北逍遥 阅读(72) 评论(0) 推荐(0)
摘要:实验数据日志 建图开始时间:22:22:11 建图结束时间:22:22:16 A*开始时间:22:22:17 A*结束时间:22:22:17 原始路径节点数量:13 A*路径节点数量:39 A*路径实际长度:22428.5 A*路径曼哈顿长度:5875.8 RRT开始时间:22:22:23 RRT结 阅读全文
posted @ 2023-01-07 22:24 西北逍遥 阅读(23) 评论(0) 推荐(0)
摘要:Qt线程测试 #include "vcmainthread.h" VCMainThread::VCMainThread(QWidget *parent) : QMainWindow(parent) { ui.setupUi(this); videoThread1 = new VideoThread( 阅读全文
posted @ 2023-01-04 16:37 西北逍遥 阅读(39) 评论(0) 推荐(0)
摘要:QFont Header: #include <QFont> Public Types enum Capitalization { MixedCase, AllUppercase, AllLowercase, SmallCaps, Capitalize } enum HintingPreferenc 阅读全文
posted @ 2023-01-03 08:44 西北逍遥 阅读(313) 评论(0) 推荐(0)
摘要:实验数据3 打开:G:/PCL_data/2022082601/20220826124637_16_c.jpg 开始加载点云文件 2022-12-29 19:52:27.050 完成加载点云文件 2022-12-29 19:53:21.687 x:277 y:243 x:1041 y:232 x:1 阅读全文
posted @ 2022-12-30 15:00 西北逍遥 阅读(30) 评论(0) 推荐(0)
摘要:实验日志 打开:G:/PCL_data/2022082601/20220826122908_4_c.pcd x:376 y:256 x:933 y:264 x:1220 y:646 x:73 y:657 开始加载点云文件 2022-12-26 09:00:57.823 完成加载点云文件 2022-1 阅读全文
posted @ 2022-12-26 09:28 西北逍遥 阅读(59) 评论(0) 推荐(0)
摘要:卷积计算 卷积核 0 -1 0 -1 5 -1 0 -1 0 矩阵一 1 1 1 4 1 3 1 1 1 1 -1 1 -2 1 1 1 1 1 1 1 1 5 2 1 1 1 4 0 -3 -2 1 1 5 1 1 矩阵二 1 1 3 1 1 1 1 1 6 1 1 -5 21 1 1 2 1 1 阅读全文
posted @ 2022-12-25 11:04 西北逍遥 阅读(107) 评论(0) 推荐(0)
摘要:// 浅拷贝 QImage(uchar * data, int width, int height, Format format) // 浅拷贝 QImage(const uchar * data, int width, int height, Format format) // 浅拷贝 QImag 阅读全文
posted @ 2022-12-23 21:29 西北逍遥 阅读(303) 评论(0) 推荐(0)
摘要:QImage 是用于读写绘制图像的基本类库,显示图像,我们借助于QImage,重点是如何通过图像二维数组(或三维数组)构造一个QImage对象。 以下来至于QImage构造函数QImage::QImage(uchar *data, int width, int height, QImage::For 阅读全文
posted @ 2022-12-23 21:25 西北逍遥 阅读(1153) 评论(0) 推荐(0)
摘要:QBuffer #include <QBuffer> Public Functions QBuffer(QObject *parent = nullptr) QBuffer(QByteArray *byteArray, QObject *parent = nullptr) virtual ~QBuf 阅读全文
posted @ 2022-12-15 15:21 西北逍遥 阅读(99) 评论(0) 推荐(0)
摘要:QChar #include <QChar> Public Types enum Category { Mark_NonSpacing, Mark_SpacingCombining, Mark_Enclosing, Number_DecimalDigit, ..., Symbol_Other } e 阅读全文
posted @ 2022-12-14 12:17 西北逍遥 阅读(60) 评论(0) 推荐(0)
摘要:冒泡排序 QList<int> Qt_2022121201::sortList(QList<int> list_param) { for (int k = 0; k < list_param.size()-1;k++) { for (int j = 0; j < list_param.size() 阅读全文
posted @ 2022-12-13 12:48 西北逍遥 阅读(30) 评论(0) 推荐(0)
摘要:#include <QFont> Public Types enum Capitalization { MixedCase, AllUppercase, AllLowercase, SmallCaps, Capitalize } enum HintingPreference { PreferDefa 阅读全文
posted @ 2022-12-12 12:44 西北逍遥 阅读(266) 评论(0) 推荐(0)

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