随笔分类 -  openscenegraph(osg)

摘要:模拟一个完整的吊装流程,初始状态->起臂->放下吊绳->竖直起吊->水平旋转->放下物体->收缩吊绳。 阅读全文
posted @ 2019-08-27 20:13 西北逍遥 阅读(272) 评论(0) 推荐(0)
摘要:机械臂-起臂动作模拟 阅读全文
posted @ 2019-08-27 18:28 西北逍遥 阅读(276) 评论(0) 推荐(0)
摘要:模拟机械臂起吊物体、以动物体、放下物体 阅读全文
posted @ 2019-08-27 09:56 西北逍遥 阅读(272) 评论(0) 推荐(0)
摘要:模拟机械臂吊装 阅读全文
posted @ 2019-08-26 17:22 西北逍遥 阅读(261) 评论(0) 推荐(0)
摘要:osg::ref_ptr rope1 = CreateCylinder(0, 0, 7, 0.1f); osg::ref_ptr rope2 = CreateCylinder(0, 0, 8, 0.1f); osg::ref_ptr rope3 = CreateCylinder(0, 0, 9, 0.1f); osg::ref_ptr rope4 = CreateCylinder(0, 0, 1... 阅读全文
posted @ 2019-08-25 20:11 西北逍遥 阅读(341) 评论(0) 推荐(0)
摘要:void StateSet::setGlobalDefaults() ShaderPipeline disabled.Error reading file .osgearth_gdal: file not handledError reading file .osgearth_feature_ogr 阅读全文
posted @ 2019-08-23 18:35 西北逍遥 阅读(1340) 评论(0) 推荐(0)
摘要:E:\OpenSourceGraph\CURL_install\includeE:\GDAL\includeE:\Geos\geos_3_5_install\includeE:\OpenSourceGraph\3rdParty_x64\x64\include E:\OpenSourceGraph\C 阅读全文
posted @ 2019-08-23 17:05 西北逍遥 阅读(753) 评论(0) 推荐(0)
摘要:E:\Visual Studio 2015\install\VC>e: E:\Visual Studio 2015\install\VC>E:\Visual Studio 2015\install\VC>E:\Visual Studio 2015\install\VC>E:\Visual Studi 阅读全文
posted @ 2019-08-22 09:48 西北逍遥 阅读(948) 评论(1) 推荐(0)
摘要:bool VCArmEventHandler::handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter&aa) { bool handled = false; switch (ea.getEventType()) { case osgGA::GUIEventAdapter::FRAME: { break; } case os 阅读全文
posted @ 2019-08-08 10:25 西北逍遥 阅读(510) 评论(3) 推荐(0)
摘要:线程 0x2278 已退出,返回值为 0 (0x0)。 IfcTreeWidget==slotObjectsSelected1IfcObjectAttributeExtraction id: 3469 name: "楼板:常规 140 - 20+120:367023" class: IfcSlab 阅读全文
posted @ 2019-08-07 16:53 西北逍遥 阅读(506) 评论(0) 推荐(0)
摘要:实现自由旋转 阅读全文
posted @ 2019-08-06 18:17 西北逍遥 阅读(607) 评论(0) 推荐(0)
摘要:osg::ref_ptr<osg::Geode> CreateBox() { osg::ref_ptr<osg::Geode> geode = new osg::Geode; osg::ref_ptr<osg::TessellationHints> hints = new osg::Tessella 阅读全文
posted @ 2019-08-06 12:12 西北逍遥 阅读(1729) 评论(1) 推荐(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)
摘要: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 西北逍遥 阅读(310) 评论(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 西北逍遥 阅读(199) 评论(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)
摘要: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)
摘要:项目环境变量配置 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)