zoukankan      html  css  js  c++  java
  • 如何快速把Skyline控件嵌入到现有系统中

    skyline提供了这样一个控件:

    <OBJECT ID="TerraExplorer3DWindow" CLASSID="CLSID:3a4f9192-65a8-11d5-85c1-0001023952c1" ></OBJECT>

    我们在程序开发中,只要把它嵌入到现有的WEB页面中即可。

    这个控件主要是用来装载三维场景的。

    如果用户想要实现一些功能,比如说定位到某一个指定位置,则需要通过skyline提供的TerraExplorer里面的接口来实现:

    function CreateTE(){
            var TEObj = document.createElement("object");
            document.appendChild(TEObj);
            TEObj.name = "SGAPITEObj";
            TEObj.id   = "SGAPITEObj";
            TEObj.classid = "clsid:3a4f9191-65a8-11d5-85c1-0001023952c1";
            return TEObj;
        }
           
        function test(){
            var TE= CreateTE();
            var IInformationTree = TE.interface("IInformationTree5");
            var IPlane = TE.interface("IPlane5");
            IPlane.SetPosition(mypos.x,mypos.y,mypos.h,mypos.yaw,-90,mypos.roll,0,0,0);
        }

    很多用过skylinesoft的人觉得:用skyline做二次开发确实很简单。

  • 相关阅读:
    poj 2251 Dungeon Master
    poj 2488 A Knight's Journey
    poj 3349
    poj 2442
    poj 3274 Gold Balanced Lineup
    优先队列
    广州华盟信息科技有限公司
    山东山大华天软件有限公司
    RvmTranslator6.5 is released
    PipeCAD之管道标准库PipeStd(2)
  • 原文地址:https://www.cnblogs.com/yitianhe/p/1722889.html
Copyright © 2011-2022 走看看