随笔分类 - openscenegraph(osg)
摘要:模拟一个完整的吊装流程,初始状态->起臂->放下吊绳->竖直起吊->水平旋转->放下物体->收缩吊绳。
阅读全文
摘要: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...
阅读全文
摘要:void StateSet::setGlobalDefaults() ShaderPipeline disabled.Error reading file .osgearth_gdal: file not handledError reading file .osgearth_feature_ogr
阅读全文
摘要:E:\OpenSourceGraph\CURL_install\includeE:\GDAL\includeE:\Geos\geos_3_5_install\includeE:\OpenSourceGraph\3rdParty_x64\x64\include E:\OpenSourceGraph\C
阅读全文
摘要: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
阅读全文
摘要:bool VCArmEventHandler::handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter&aa) { bool handled = false; switch (ea.getEventType()) { case osgGA::GUIEventAdapter::FRAME: { break; } case os
阅读全文
摘要:线程 0x2278 已退出,返回值为 0 (0x0)。 IfcTreeWidget==slotObjectsSelected1IfcObjectAttributeExtraction id: 3469 name: "楼板:常规 140 - 20+120:367023" class: IfcSlab
阅读全文
摘要:osg::ref_ptr<osg::Geode> CreateBox() { osg::ref_ptr<osg::Geode> geode = new osg::Geode; osg::ref_ptr<osg::TessellationHints> hints = new osg::Tessella
阅读全文
摘要:id: 94 name: "项目编号" class: IfcProjectid: 7066 name: "Default" class: IfcSiteid: 104 name: "" class: IfcBuildingid: 119 name: "F1" class: IfcBuildingSt
阅读全文
摘要:VC3DGraphicsWindowQt::VC3DGraphicsWindowQt(QWidget* parent, Qt::WindowFlags f) { osg::DisplaySettings* ds = osg::DisplaySettings::instance().get(); osg::setNotifyLevel(osg::NotifySeverity::...
阅读全文
摘要:ViewerWidget* viewerWidget = new ViewerWidget(ifcModel); viewerWidget ->setRootNode(ifcModel->getRootNode()); this->ui.centerDockWidget->setWidget(viewerWidget ); VCIfcTreeWidget* ifcTreeWidget =...
阅读全文
摘要:ui_ifcproject_20190702.h ifcproject_201907.cpp main.cpp
阅读全文
摘要:void setRootNode( osg::Group* root ) { m_main_view->setSceneData( root ); if( m_hud_camera ) { root->addChild( m_hud_camera ); } m_system->setRootNode( root ); }
阅读全文
摘要:void initGLWidgetAndViewer() { osgViewer::ViewerBase::ThreadingModel threadingModel = osgViewer::ViewerBase::SingleThreaded; IfcSystem* m_system->getRootNode()->setCullingActive( false ); ...
阅读全文
摘要:void slotLoadRecentIfcFileClicked() { QPushButton* btn_load = (QPushButton*)sender(); if( !btn_load ) { return; } int row = m_combo_recent_files->currentIndex(); ...
阅读全文
摘要:项目环境变量配置 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
阅读全文