Loading

上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: 示例代码 #include <string> #include <iostream> // 导入format #include <format> struct Vector4D { int x, y, z, s; }; // std::formatter格式化Vector4D namespace s 阅读全文
posted @ 2022-08-10 18:02 WindSnowLi 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 思路 PCL拟合出来的圆柱为圆柱轴线的法向量和轴线过的一个点,本身和半径,不包含高度和起始点以及中止点,不过会返回使用到的点云信息。 通过一点和法向量可以计算出轴线方程将用到的点全部投影到这条直线上,获取新的在直线上的点云直线上的点两个端点就是起始点,通过起始点可以计算出高度步骤3的计算过程可以将直 阅读全文
posted @ 2022-08-08 12:50 WindSnowLi 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 效果 头文件GrayVirsual.h #pragma once #include <QtWidgets/QMainWindow> #include <QVTKOpenGLNativeWidget.h> #include <opencv2/core/core.hpp> #include <openc 阅读全文
posted @ 2022-07-21 22:10 WindSnowLi 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 效果 子窗口头文件ViewWidget3D.h #pragma once #include <QMainWindow> #include <QVTKOpenGLNativeWidget.h> #include <vtkActor.h> #include <vtkCamera.h> #include 阅读全文
posted @ 2022-07-13 08:33 WindSnowLi 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 创建数据库MP与表User并添加字段 // 创建数据库 略 // 创建表 CREATE TABLE Test.`User` ( id INT auto_increment NOT NULL COMMENT '自增主键', name varchar(100) NULL COMMENT '姓名', pa 阅读全文
posted @ 2022-07-05 23:04 WindSnowLi 阅读(41) 评论(0) 推荐(0) 编辑
摘要: Http Get请求与Post简单介绍 Get请求参数一般放在url或路径里,例如http://localhost:8888/hello/hiyj/table?key1=value1&key2=value2,但是也不是不能放在Body里,Body就是上图的请求数据部分,路径里看不到,有了一些一眼看穿 阅读全文
posted @ 2022-07-05 21:45 WindSnowLi 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 新建项目 Next->Create 等待下载依赖完成 添加新类->一个HelloWord Controller类 鼠标放上自动提醒所依赖的库,可直接添加 编写Hello Word请求的Mapping package cn.hiyj.idle.helloworld.controller; import 阅读全文
posted @ 2022-07-04 23:06 WindSnowLi 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 参考链接 主要代码 #include "VTKOCCT.h" #include <BRepPrimAPI_MakeBox.hxx> #include <BRepPrimAPI_MakeCone.hxx> #include <IVtkTools_ShapeDataSource.hxx> #includ 阅读全文
posted @ 2022-07-02 14:46 WindSnowLi 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 子程序主要代码 #include "ChildWidgets.h" #include <QtWidgets/QApplication> #include <QWindow> #include <iostream> #include <QMessageBox> #include <thread> in 阅读全文
posted @ 2022-06-27 16:17 WindSnowLi 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 主要参考 https://blog.csdn.net/qq_37996632/article/details/106415402 https://kitware.github.io/vtk-examples/site/Cxx/Qt/BorderWidgetQt 主要代码 #include "Bord 阅读全文
posted @ 2022-06-21 11:17 WindSnowLi 阅读(122) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页