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 @   西北逍遥  阅读(597)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示