上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 96 下一页
摘要: IfcColumnTypeEnum 类型定义 此枚举定义不同的预定义列类型,这些列可以进一步指定IfcColumn或IfcColumnType。 IFC2x2中的新枚举。 Enumeration definition ConstantDescription COLUMN A standard mem 阅读全文
posted @ 2024-02-12 19:18 西北逍遥 阅读(20) 评论(0) 推荐(0)
摘要: IfcChimneyTypeEnum 类型定义 此枚举定义了可以使用枚举值预定义的烟囱的有效类型。 IFC4中的新枚举 注:目前没有定义特定的枚举器,已添加IfcChimneyTypeEnum以供将来扩展。 Enumeration definition ConstantDescription USE 阅读全文
posted @ 2024-02-11 10:39 西北逍遥 阅读(15) 评论(0) 推荐(0)
摘要: IfcCoveringTypeEnum 类型定义 此枚举定义了可以进一步指定IfcOvering或IfcOveringType的不同覆盖类型的范围。 IFC1.0中的新枚举 IFC4添加了以下枚举器MOLDING和SKITINGBOARD。 Enumeration definition Consta 阅读全文
posted @ 2024-02-10 06:15 西北逍遥 阅读(18) 评论(0) 推荐(0)
摘要: IfcDoorTypeOperationEnum 类型定义 该枚举定义了描述门如何操作的基本方法,如图180所示。它将车门划分为单个或多个门板以及这些门板的操作类型。 在最常见的摆动门情况下,IfcDoorTypeOperationEnum定义了铰链侧(左悬或右悬)和打开方向(向左打开,向右打开)。 阅读全文
posted @ 2024-02-09 22:05 西北逍遥 阅读(33) 评论(0) 推荐(0)
摘要: IfcRailingTypeEnum 类型定义 此枚举定义了可以使用枚举值预定义的IfcRailing或IfcRailingType的不同类型。 IFC2.0中的新枚举类型 Enumeration definition ConstantDescription HANDRAIL A type of r 阅读全文
posted @ 2024-02-08 20:25 西北逍遥 阅读(23) 评论(0) 推荐(0)
摘要: osg qt场景中节点的透明属性消除 { osg::ref_ptr<osg::StateSet> stateState = north_wall_geode->getOrCreateStateSet(); stateState->setMode(GL_BLEND, osg::StateAttribu 阅读全文
posted @ 2024-02-07 22:10 西北逍遥 阅读(53) 评论(0) 推荐(0)
摘要: #include <opencv2/opencv.hpp> int main() { // 读取图像 cv::Mat image = cv::imread("image.jpg"); // 获取图像的行数和列数 int rows = image.rows; int cols = image.cols 阅读全文
posted @ 2024-02-06 23:57 西北逍遥 阅读(578) 评论(0) 推荐(0)
摘要: IfcCurtainWallTypeEnum 类型定义 此枚举定义了可以使用枚举值预定义的幕墙的有效类型。 IFC2x3中的新枚举 注:目前没有定义特定的枚举器;已添加IfcCurtainWallTypeEnum以用于将来的扩展。 Enumeration definition ConstantDes 阅读全文
posted @ 2024-02-05 10:55 西北逍遥 阅读(16) 评论(0) 推荐(0)
摘要: IfcRampFlightTypeEnum 类型定义 此枚举定义IfcRampFlight或IfcRamp FlightType对象可以实现的不同类型。 IFC2x2中的新枚举。 Enumeration definition ConstantDescription STRAIGHT A ramp f 阅读全文
posted @ 2024-02-04 19:01 西北逍遥 阅读(18) 评论(0) 推荐(0)
摘要: double number = 123.456; double roundedNumber = Math.round(number * 100.0) / 100.0; System.out.println(roundedNumber); 阅读全文
posted @ 2024-02-03 22:37 西北逍遥 阅读(23) 评论(0) 推荐(0)
摘要: IfcDoorTypeEnum 此枚举定义IfcDoor或IfcDoorType对象的不同预定义类型。 IFC4中的新枚举。 Enumeration definition ConstantDescription DOOR A standard door usually within a wall o 阅读全文
posted @ 2024-02-02 21:35 西北逍遥 阅读(15) 评论(0) 推荐(0)
摘要: QVBoxLayout添加图片 #include <QApplication> #include <QWidget> #include <QVBoxLayout> #include <QLabel> #include <QImage> #include <QPixmap> int main(int 阅读全文
posted @ 2024-02-01 21:33 西北逍遥 阅读(82) 评论(0) 推荐(0)
摘要: #include <QApplication> #include <QLineEdit> #include <QDoubleValidator> int main(int argc, char *argv[]) { QApplication app(argc, argv); QLineEdit li 阅读全文
posted @ 2024-01-31 05:24 西北逍遥 阅读(235) 评论(0) 推荐(0)
摘要: #include <QApplication> #include <QLineEdit> #include <QIntValidator> int main(int argc, char *argv[]) { QApplication app(argc, argv); QLineEdit lineE 阅读全文
posted @ 2024-01-30 20:32 西北逍遥 阅读(650) 评论(0) 推荐(0)
摘要: 2 0.301,0.020,1.238,1.0,0.0,0.0,0.0 151.34,377.43,629.57,-175.3,-6.96,86.03 3 0.329,0.103,1.214,1.0,0.0,0.0,0.0 109.51,391.63,629.55,-175.3,-6.96,82.2 阅读全文
posted @ 2024-01-29 18:43 西北逍遥 阅读(35) 评论(0) 推荐(0)
摘要: import numpy as np # 定义x轴和y轴的单位向量 i = np.array([1, 0, 0]) j = np.array([0, 1, 0]) # 计算叉积,得到z轴的单位向量 k = np.cross(i, j) print("Z轴的方向是:", k) ############ 阅读全文
posted @ 2024-01-28 21:17 西北逍遥 阅读(103) 评论(0) 推荐(0)
摘要: cd catkin_ws bim@bim-Vostro-7570:~$ bim@bim-Vostro-7570:~$ ls catkin_ws Downloads Public Videos catkin_ws_backup_2024012601tar.gz examples.desktop REA 阅读全文
posted @ 2024-01-27 00:53 西北逍遥 阅读(244) 评论(0) 推荐(0)
摘要: 创建ROS工作空间 mkdir -p ~/catkin_ws/src cd ~/catkin_ws/ catkin_make bim@bim-Vostro-7570:~/catkin_ws$ bim@bim-Vostro-7570:~/catkin_ws$ catkin_make Base path 阅读全文
posted @ 2024-01-26 09:15 西北逍遥 阅读(115) 评论(0) 推荐(0)
摘要: #include <opencv2/opencv.hpp> int main() { // 创建一个空的图片,宽度为500像素,高度为500像素,通道数为3(RGB),数据类型为8位无符号整数 cv::Mat image = cv::Mat::zeros(500, 500, CV_8UC3); // 阅读全文
posted @ 2024-01-25 21:23 西北逍遥 阅读(330) 评论(0) 推荐(0)
摘要: osg给节点添加材质 #include <osg/Material> #include <osg/Geode> #include <osgDB/ReadFile> #include <osgViewer/Viewer> int main(){ // 创建一个场景节点 osg::ref_ptr<osg 阅读全文
posted @ 2024-01-24 22:00 西北逍遥 阅读(81) 评论(0) 推荐(0)
摘要: osg绘制粗线条 #include <osg/Geometry> #include <osg/Geode> #include <osgViewer/Viewer> #include <osg/LineWidth> int main() { // 创建几何体对象 osg::ref_ptr<osg::G 阅读全文
posted @ 2024-01-23 20:58 西北逍遥 阅读(233) 评论(0) 推荐(0)
摘要: Page({ /** * 页面的初始数据 */ data: { showUploadTip: false, haveGetOpenId: false, envId: '', openId: '' }, onLoad(options) { this.setData({ envId: options.e 阅读全文
posted @ 2024-01-22 23:46 西北逍遥 阅读(26) 评论(0) 推荐(0)
摘要: Page({ /** * 页面的初始数据 */ data: { }, /** * 生命周期函数--监听页面加载 */ onLoad(options) { this.repeatRun(); }, /** * 生命周期函数--监听页面初次渲染完成 */ onReady() { }, /** * 生命周 阅读全文
posted @ 2024-01-21 23:57 西北逍遥 阅读(15) 评论(0) 推荐(0)
摘要: */5 * * * * * * 表示每5秒触发一次 0 0 2 1 * * * 表示在每月的1日的凌晨2点触发 0 15 10 * * MON-FRI * 表示在周一到周五每天上午10:15触发 0 0 10,14,16 * * * * 表示在每天上午10点,下午2点,4点触发 0 */30 9-1 阅读全文
posted @ 2024-01-20 10:28 西北逍遥 阅读(315) 评论(0) 推荐(0)
摘要: C++ opencv计算两个cv::Rect的重复面积 #include <opencv2/opencv.hpp> #include <iostream> int main() { // 创建两个矩形 cv::Rect rect1(10, 10, 50, 50); // (x, y, width, 阅读全文
posted @ 2024-01-19 23:19 西北逍遥 阅读(399) 评论(0) 推荐(0)
摘要: #include <osg/Material> #include <osg/Geode> #include <osgDB/ReadFile> #include <osgViewer/Viewer> int main() { // 创建一个场景节点 osg::ref_ptr<osg::Node> ro 阅读全文
posted @ 2024-01-18 17:07 西北逍遥 阅读(152) 评论(0) 推荐(0)
摘要: opencv转qimage #include <opencv2/opencv.hpp> #include <QImage> #include <QColor> QImage MatToQImage(const cv::Mat &mat) { // 获取图像尺寸和通道数 int width = mat 阅读全文
posted @ 2024-01-18 00:05 西北逍遥 阅读(82) 评论(0) 推荐(0)
摘要: osg::ref_ptr<osg::Node> root = ...; // 获取场景根节点 // 遍历场景图并删除所有节点 osg::Node::Children::iterator it; for (it = root->getChildren().begin(); it != root->ge 阅读全文
posted @ 2024-01-16 20:28 西北逍遥 阅读(158) 评论(0) 推荐(0)
摘要: import torch # 加载模型参数 model_path = 'model.pth' model_state_dict = torch.load(model_path) # 创建模型实例 input_size = 10 # 输入层大小,根据实际情况调整 hidden_size1 = 32 # 阅读全文
posted @ 2024-01-15 21:11 西北逍遥 阅读(221) 评论(0) 推荐(0)
摘要: #include <QTcpSocket> #include <QDataStream> #include <QByteArray> void sendObjectList(QTcpSocket *socket, const QList<QObject *> &objectList) { QByte 阅读全文
posted @ 2024-01-14 23:04 西北逍遥 阅读(40) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 96 下一页