随笔分类 -  C++

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 33 下一页
摘要:读取pcd文件数据 QStringList lineStrs = lineStr.split(" "); float x_value = lineStrs[0].toFloat(); float y_value = lineStrs[1].toFloat(); float z_value = lin 阅读全文
posted @ 2022-03-04 10:01 西北逍遥 阅读(257) 评论(0) 推荐(0)
摘要:QNetworkAccessManager networkManagerObj = new QNetworkAccessManager(this); connect(networkManagerObj, SIGNAL(finished(QNetworkReply*)), this, SLOT(rep 阅读全文
posted @ 2022-02-26 18:55 西北逍遥 阅读(177) 评论(0) 推荐(0)
摘要:引入头文件 #include <QJsonDocument> #include <QJsonArray> #include <QJsonObject> 使用 QJsonDocument qJsonDocumentObj = QJsonDocument::fromJson(baRevDataParam 阅读全文
posted @ 2022-02-25 08:36 西北逍遥 阅读(1058) 评论(0) 推荐(0)
摘要:QAction QAction类提供了一个抽象的用户界面操作,可以插入到小部件中。 在应用程序中,许多常用命令可以通过菜单、工具栏按钮和键盘快捷键调用。由于用户希望每个命令都以相同的方式执行,无论使用的用户界面如何,因此将每个命令表示为一个操作非常有用。 操作可以添加到菜单和工具栏,并将自动保持同步 阅读全文
posted @ 2022-02-23 12:40 西北逍遥 阅读(643) 评论(0) 推荐(0)
摘要:opencv inRange void checkContours1() { Mat img1_2 = imread("L:\\2021_12_!7\\img1\\2021-12-18_112921.jpg"); Mat contours_img; //inRange(img1_2, Scalar( 阅读全文
posted @ 2022-01-15 08:09 西北逍遥 阅读(204) 评论(0) 推荐(0)
摘要:QAxWidget Header: #include <QAxWidget> qmake: QT += axcontainer Inherits: QWidget and QAxBase Public Functions QAxWidget(QWidget *parent = nullptr, Qt 阅读全文
posted @ 2021-12-30 09:44 西北逍遥 阅读(1067) 评论(0) 推荐(0)
摘要:QCamera Header: #include <QCamera> qmake: QT += multimedia Inherits: QMediaObject Public Functions QCamera(QObject *parent = nullptr) QCamera(const QB 阅读全文
posted @ 2021-12-29 08:06 西北逍遥 阅读(474) 评论(0) 推荐(0)
摘要:C++获取某个目录下的所有图片 vector<string> getImages(string path) { vector<string> imagesList; intptr_t hFile = 0; struct _finddata_t fileinfo; string p; hFile = 阅读全文
posted @ 2021-12-19 20:25 西北逍遥 阅读(560) 评论(0) 推荐(0)
摘要:opencv rotate #include <iostream> #include <opencv2/opencv.hpp> using namespace std; using namespace cv; int main() { Mat img1, img2; img1 = imread("L 阅读全文
posted @ 2021-12-18 15:57 西北逍遥 阅读(587) 评论(0) 推荐(0)
摘要:Qt 4.4。3是在Win98上正式测试的最后一个版本。要在Win98上运行分布式二进制文件,需要安装glu32的旧版本。dll和opengl32。可从Microsoft获得的dll。由于未解决的错误,Assistant将启动,但无法加载帮助文件。bin目录中的备用版本,assistant_adp。 阅读全文
posted @ 2021-12-14 15:31 西北逍遥 阅读(310) 评论(0) 推荐(1)
摘要:Qt程序http报错 TLS initialization failed ! illegal value 在 Qt5.12.2\Tools\mingw730_64\opt\bin目录下找到 ssleay32.dll libeay32.dll 拷贝到程序目录下,错误消除,程序正常运行 ######## 阅读全文
posted @ 2021-12-03 14:53 西北逍遥 阅读(338) 评论(0) 推荐(0)
摘要:realsense 测量 #include <iostream> using namespace std; #include <sstream> #include <iostream> #include <fstream> #include <algorithm> #include<string> 阅读全文
posted @ 2021-12-02 17:41 西北逍遥 阅读(284) 评论(0) 推荐(0)
摘要:QGLWidget QGLWidget类是一个用于呈现OpenGL图形的小部件。 QGLWidget提供了显示集成到Qt应用程序中的OpenGL图形的功能。它使用起来非常简单。您可以从它继承并像使用任何其他QWidget一样使用子类,但您可以选择使用QPaint和标准OpenGL渲染命令。 注意:这 阅读全文
posted @ 2021-11-30 07:47 西北逍遥 阅读(1210) 评论(0) 推荐(0)
摘要:QAction 头文件 #include <QAction> 函数 QAction(QObject *parent = nullptr) QAction(const QString &text, QObject *parent = nullptr) QAction(const QIcon &icon 阅读全文
posted @ 2021-11-26 16:32 西北逍遥 阅读(336) 评论(0) 推荐(0)
摘要:基于kinova jaco2机械臂的仿真模拟 struct AngularInfo { /** * As an example if the current control mode is angular position the unit will be degree but if the con 阅读全文
posted @ 2021-11-25 07:20 西北逍遥 阅读(395) 评论(0) 推荐(0)
摘要:kinova joca2 获取当前每个舵机的角度 #include "KinovaTypes.h" #include <iostream> #ifdef __linux__ #include <dlfcn.h> #include <vector> #include "Kinova.API.CommL 阅读全文
posted @ 2021-11-24 09:36 西北逍遥 阅读(220) 评论(0) 推荐(0)
摘要:QJsonDocument QJsonDocument类提供了一种读取和写入JSON文档的方法。 QJsonDocument是一个封装完整JSON文档的类,可以从UTF-8编码的基于文本的表示以及Qt自己的二进制格式读取和写入此文档。 可以使用QJsonDocument::fromJson()将JS 阅读全文
posted @ 2021-11-23 17:22 西北逍遥 阅读(1400) 评论(0) 推荐(0)
摘要:Qt播放音乐/音频 QMediaPlayer类用来播放媒体资源。 QMediaPlayer类是一个高级媒体播放类。它可以用来播放歌曲、电影和互联网广播等内容。要播放的内容被指定为QMediaContent对象,可以将其视为附加了附加信息的主URL或规范URL。当配备QMediaContent时,可以 阅读全文
posted @ 2021-11-22 16:09 西北逍遥 阅读(621) 评论(0) 推荐(0)
摘要:kinova jaco2 TrajectoryPoint /** @brief This data structure represents a point of a trajectory. It contains the position a limitation that you can app 阅读全文
posted @ 2021-11-21 13:42 西北逍遥 阅读(50) 评论(0) 推荐(0)
摘要:Kinova Type POSITION_TYPE Type; /** * @brief That represents the type of a position. If used during a trajectory, the type of position * will change t 阅读全文
posted @ 2021-11-20 18:52 西北逍遥 阅读(47) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 33 下一页