随笔分类 - C++
摘要:/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OS
阅读全文
摘要:BIM模型中有很多不规则的构件,在IFC中这些不规则的构件一般用顶点的形式表示,顶点坐标提取路径: IfcObject->IfcProductDefinitionShape->IfcShapeRepresentation->Item属性->IfcExtrudedAreaSolid->IfcArbit
阅读全文
摘要:void anasysData(QByteArray baRevDataParam) { int Datalen = sizeof(stuDevData); int Revlen = baRevDataParam.size(); int num = 0; int remainder = Revlen%Datalen;//求余 if (remainder != 0) { qDebug() << QS
阅读全文
摘要:Qt QtXml读取xml文件内容 xml文件内容 输出 "Anchor" : "1" "50" "1789" "0""Anchor" : "2" "2970" "1840" "0""Anchor" : "3" "2940" "70" "0""Anchor" : "4&
阅读全文
摘要:QHBoxLayout *horizontalLayout_6 = new QHBoxLayout(main_ui.tab_5); horizontalLayout_6->setSpacing(6); horizontalLayout_6->setContentsMargins(11, 11, 11, 11); horizontalLayout_6->setObjectName(QString::
阅读全文
摘要:Qt QJson解析json数据 //加载根目录文件
阅读全文
摘要:QNetworkAccessManager *manager = new QNetworkAccessManager(this);; QNetworkRequest network_request; QByteArray post_data; network_request.setUrl(QUrl("http://109.26.149.57:8080/tsinghuaVC/init/selectA
阅读全文
摘要:“TeslaManage.exe”(Win32): 已加载“F:\TeslaManageProject\TeslaManage\x64\Debug\TeslaManage.exe”。已加载符号。“TeslaManage.exe”(Win32): 已加载“C:\Windows\System32\ntd
阅读全文
摘要:基于ifc数据的bim模型吊装模拟-1 IfcWallStandardCase IfcColumn
阅读全文
摘要:ifc中的IfcWallStandardCase构件
阅读全文
摘要:wall_node = (osg::Node*)(index_node->clone(osg::CopyOp::DEEP_COPY_ALL));vc_mobileCrane->tranMoveIndex->addChild(wall_node);
阅读全文
摘要:osg::Node节点移动的时候,可以使用osg::Matrix::translate 来完成 osg::Matrix::translate中的参数是 当前位置到目标位置需要改变的值,所以,传递参数的时候需要传入目标节点位置减去当前位置的差值。 ifc node节点移动
阅读全文
摘要:root_group->addChild(node22); osg::Vec3f vec3f1 = node22->getBound().center(); osg::NodePathList nodePAthList1 = node22->getParentalNodePaths(); osg::
阅读全文
摘要:深度拷贝 node.clone(osg::CopyOp::DEEP_COPY_ALL) osg::ref_ptr<osg::Node> deepnode = (osg::Node *)(node->clone(osg::CopyOp::DEEP_COPY_ALL));
阅读全文
摘要:获取IFC构件的位置数据、方向数据 id: 94 name: "项目编号" class: IfcProject global id: "2ZD1jkdm1DZfnCPYiAaT8B" "项目编号" final.. id: 104 name: "" class: IfcBuilding global
阅读全文