IFC数据模型构件控制

控制ifc构件的隐藏与显示、着色

osg::ref_ptr<osg::Geode> geode1 = new osg::Geode();
osg::ref_ptr<osg::StateSet> stateset1 = geode->getOrCreateStateSet();
stateset1->setMode(GL_LIGHTING, osg::StateAttribute::OFF);
float alpha = 0.5f;
m_system1->getCoordinateAxesNode()->addChild(geode1);

 

 

 

 

posted @ 2019-08-05 11:07  西北逍遥  阅读(593)  评论(0编辑  收藏  举报