基于BIM IFC osg的塔吊吊装对位模拟系统

基于BIM IFC osg的塔吊吊装对位模拟系统

osg::Matrix cameraMatrix =
        osg::Matrix::translate(-centerVec3d)
        *osg::Matrix::scale(1.0f, 1.0f, sz_value)
        *osg::Matrix::translate(osg::Vec3(hook_position_x, hook_position_y, hook_position_z))
        ;
    cameraMatrixTransform->setMatrix(cameraMatrix);

 

 

 

 

##########################

posted @ 2021-10-01 21:19  西北逍遥  阅读(249)  评论(0编辑  收藏  举报