上一页 1 ··· 76 77 78 79 80 81 82 83 84 ··· 96 下一页
摘要: void VCGantt::removeEntry() { QModelIndexList selectedIndexes = ganttViewCommon->selectionModel()->selectedIndexes(); QModelIndex index = selectedIndexes.value(0); if (!index.isValid()) ... 阅读全文
posted @ 2019-08-02 18:37 西北逍遥 阅读(385) 评论(0) 推荐(0)
摘要: void TeslaManage::initGanttView() { if (vcGanttObject ==NULL) { vcGanttObject = new VCGantt(this); ganttView = vcGanttObject->initGanttView(this->tesla_manage_ui.newEnt... 阅读全文
posted @ 2019-08-01 22:56 西北逍遥 阅读(526) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-07-31 23:09 西北逍遥 阅读(660) 评论(1) 推荐(0)
摘要: IfcAxis2Placement3D定义了三维空间中物体的位置和方向,由三部分组成: The attribute Axis defines the Z direction, RefDirection the X direction. The Y direction is derived. 注:Y轴 阅读全文
posted @ 2019-07-31 11:53 西北逍遥 阅读(1107) 评论(0) 推荐(0)
摘要: 关于ifc数据解析与渲染整个探索过程的总结,我从2016年10月份开始接触ifc标准,刚开始探索用java3d解析、渲染ifc数据,当时参考网上的资料,最终实现了在java3d中解析与渲染ifc数据,但java3d在动态模拟方面不是很好实现,就放弃了java3d,转而使用unity3d,使用unit 阅读全文
posted @ 2019-07-30 01:46 西北逍遥 阅读(577) 评论(0) 推荐(1)
摘要: File: minkernel\crts\ucrt\src\appcrt\heap\debug_heap.cpp Line: 996 Expression: __acrt_first_block == header For information on how your program can ca 阅读全文
posted @ 2019-07-29 19:20 西北逍遥 阅读(3402) 评论(0) 推荐(0)
摘要: The QTableView class provides a default model/view implementation of a table view. More... Header: #include <QTableView> qmake: QT += widgets Inherits 阅读全文
posted @ 2019-07-29 12:46 西北逍遥 阅读(1569) 评论(0) 推荐(0)
摘要: // IfcRoot // attributes: // shared_ptr<IfcGloballyUniqueId> m_GlobalId; // shared_ptr<IfcOwnerHistory> m_OwnerHistory; //optional // shared_ptr<IfcLa 阅读全文
posted @ 2019-07-29 10:37 西北逍遥 阅读(376) 评论(0) 推荐(0)
摘要: id: 6232 name: "M_矩形-结构柱:400 x 600mm结构柱:371662" class: IfcColumn global id: "2pjGIuBpj3PPch3_QVbyx_" "M_矩形-结构柱:400 x 600mm结构柱:371662" "371662" size: 7 阅读全文
posted @ 2019-07-28 23:48 西北逍遥 阅读(488) 评论(0) 推荐(0)
摘要: Attribute inheritance #AttributeTypeCardinalityDescriptionC IfcRoot 1 GlobalId IfcGloballyUniqueId [1:1] Assignment of a globally unique identifier wi 阅读全文
posted @ 2019-07-28 19:09 西北逍遥 阅读(577) 评论(0) 推荐(0)
摘要: id: 94 name: "项目编号" class: IfcProjectid: 7066 name: "Default" class: IfcSiteid: 104 name: "" class: IfcBuildingid: 119 name: "F1" class: IfcBuildingSt 阅读全文
posted @ 2019-07-28 13:22 西北逍遥 阅读(503) 评论(0) 推荐(0)
摘要: 危险的代码: int* p=new int(1); delete p; delete p; 安全的代码: int* p=new int(1); delete p; p = NULL; (1)delete 一次以后,p成了野指针,它作为地址的值还是有效地没还可以访问它以前指向的内存,不过那片内存被重新 阅读全文
posted @ 2019-07-28 11:20 西北逍遥 阅读(953) 评论(0) 推荐(0)
摘要: 严重性 代码 说明 项目 文件 行 禁止显示状态错误 C1128 节数超过对象文件格式限制: 请使用 /bigobj 进行编译。 默认情况下,对象文件最多可存放 65,536 (2^16) 个可寻址的节。/bigobj将该地址容量增加至 4,294,967,296 (2^32)。大多数模块将从来不会 阅读全文
posted @ 2019-07-28 00:16 西北逍遥 阅读(22501) 评论(1) 推荐(1)
摘要: VC3DGraphicsWindowQt::VC3DGraphicsWindowQt(QWidget* parent, Qt::WindowFlags f) { osg::DisplaySettings* ds = osg::DisplaySettings::instance().get(); osg::setNotifyLevel(osg::NotifySeverity::... 阅读全文
posted @ 2019-07-27 23:24 西北逍遥 阅读(615) 评论(0) 推荐(0)
摘要: ViewerWidget* viewerWidget = new ViewerWidget(ifcModel); viewerWidget ->setRootNode(ifcModel->getRootNode()); this->ui.centerDockWidget->setWidget(viewerWidget ); VCIfcTreeWidget* ifcTreeWidget =... 阅读全文
posted @ 2019-07-27 12:28 西北逍遥 阅读(311) 评论(0) 推荐(0)
摘要: ui_ifcproject_20190702.h ifcproject_201907.cpp main.cpp 阅读全文
posted @ 2019-07-27 00:41 西北逍遥 阅读(578) 评论(0) 推荐(0)
摘要: void setRootNode( osg::Group* root ) { m_main_view->setSceneData( root ); if( m_hud_camera ) { root->addChild( m_hud_camera ); } m_system->setRootNode( root ); } 阅读全文
posted @ 2019-07-26 23:52 西北逍遥 阅读(201) 评论(0) 推荐(0)
摘要: 1、基础工程:挖槽、垫层、基础底板、基础墙、地圈梁、暖气沟、回填土等;2、主体工程:梁、板、柱、墙等;3、屋顶工程:挑檐、女儿墙、保温、防水、压顶等;4、装修工程:外墙抹灰、墙裙、门窗套、内墙抹灰、粉刷、踢脚线、顶棚、地面等;5、门窗工程:外墙门窗、内墙门窗、阁楼壁柜门、窗帘杆盒等;6、室外工程:坡 阅读全文
posted @ 2019-07-26 16:30 西北逍遥 阅读(545) 评论(0) 推荐(0)
摘要: void initGLWidgetAndViewer() { osgViewer::ViewerBase::ThreadingModel threadingModel = osgViewer::ViewerBase::SingleThreaded; IfcSystem* m_system->getRootNode()->setCullingActive( false ); ... 阅读全文
posted @ 2019-07-26 13:12 西北逍遥 阅读(328) 评论(0) 推荐(0)
摘要: #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #includ... 阅读全文
posted @ 2019-07-25 19:50 西北逍遥 阅读(1131) 评论(0) 推荐(0)
摘要: void slotLoadRecentIfcFileClicked() { QPushButton* btn_load = (QPushButton*)sender(); if( !btn_load ) { return; } int row = m_combo_recent_files->currentIndex(); ... 阅读全文
posted @ 2019-07-25 09:55 西北逍遥 阅读(332) 评论(0) 推荐(0)
摘要: Detected IFC version: IFC2X3 Warning: Sweeper::createTriangulated3DFace, carve::triangulate::incorporateHolesIntoPolygon failed , IFC entity: #41824=I 阅读全文
posted @ 2019-07-25 09:35 西北逍遥 阅读(320) 评论(0) 推荐(0)
摘要: 下载Carve库 https://github.com/folded/carve 目录结构如下: 用Visual Studio2015打开,点击右键,生成即可 在bin目录下生成了 .lib文件 之前用Visual Studio2017编译过,但在Visual Studio2015和2013中都不能 阅读全文
posted @ 2019-07-24 19:21 西北逍遥 阅读(383) 评论(0) 推荐(0)
摘要: 项目环境变量配置 include E:\Qt\Qt5.12.2\5.12.2\msvc2017_64\include E:\OpenSourceGraph\OpenSceneGraph_install\include E:\IFC\boost_1_66_0_vs2017_20190416 E:\IF 阅读全文
posted @ 2019-07-23 11:38 西北逍遥 阅读(625) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-07-22 13:07 西北逍遥 阅读(197) 评论(0) 推荐(0)
摘要: osg::Shape类 继承自osg::Object类; osg::Shape类是各种内嵌几何体的基类,不但可以用于剔除和碰撞检测,还可用于生成预定义的几何体对象; osg::ShapeDrawable类: 派生自osg::Drawable类; 在osg::ShapeDrawable类的构造函数中提 阅读全文
posted @ 2019-07-20 10:11 西北逍遥 阅读(961) 评论(0) 推荐(0)
摘要: 遍历节点树:osg::Node类中有两个辅助函数: 转自:https://www.cnblogs.com/hzhg/archive/2010/12/17/1908764.html 阅读全文
posted @ 2019-07-20 09:35 西北逍遥 阅读(1630) 评论(0) 推荐(0)
摘要: //顶点着色器 static const char* vertShader = { "varying vec4 color;\n" "void main(void)\n" "{\n" "color = gl_Vertex;\n" "gl_Position=gl_ModelViewProjectionMatrix*gl_Vertex;\n" "}... 阅读全文
posted @ 2019-07-19 10:46 西北逍遥 阅读(476) 评论(0) 推荐(0)
摘要: 日志: “TeslaManage.exe”(Win32): 已加载“F:\OpenScenceGraphProject\OSG_QT_2019\x64\Debug\TeslaManage.exe”。已加载符号。“TeslaManage.exe”(Win32): 已加载“C:\Windows\Syst 阅读全文
posted @ 2019-07-19 10:08 西北逍遥 阅读(2450) 评论(0) 推荐(0)
摘要: /******************************************************************************** ** Form generated from reading UI file 'qt_chart1.ui' ** ** Created by: Qt User Interface Compiler version 5.12.2 *... 阅读全文
posted @ 2019-07-18 13:24 西北逍遥 阅读(1021) 评论(0) 推荐(0)
上一页 1 ··· 76 77 78 79 80 81 82 83 84 ··· 96 下一页