AE+SceneControl源碼共用,aescenecontrol源碼

來源:互聯網
上載者:User

AE+SceneControl源碼共用,aescenecontrol源碼

最近,有博友發私信或留言交流,先把之前用SceneControl代做的一個小工程共用,做的很粗糙,希望可以幫到大家,歡迎留言交流哈。

除了基本的開啟、儲存、資料載入、查詢等,主要實現以下幾個功能:

1、根據高程點(excel檔案)產生TIN。

2、TIN與DOM疊加構建三維情境。

3、根據TIN提取等高線。

4、模型匯入

見:http://download.csdn.net/detail/liushuo_whu/7793889


用AE怎實現在AxSceneControl裡面實現鷹眼?

((IGlobeDisplayEvents_Event)this.axGlobeControl1.Globe.GlobeDisplay).AfterDraw += new IGlobeDisplayEvents_AfterDrawEventHandler(OnAfterDraw);

void OnAfterDraw(ISceneViewer pViewer) {

IGraphicsContainer pGra = axMapControl1.Map as IGraphicsContainer; IActiveView pAv = pGra as IActiveView;
// 在繪製前,清除 axMapControl1 中的任何圖形元素
pGra.DeleteAllElements();
IRectangleElement pRectangleEle = new RectangleElementClass();
IElement pEle = pRectangleEle as IElement;
// pEle.Geometry = Get_VisibleGeographicExtent(this.axGlobeControl1.Globe);
// 設定鷹眼圖中的紅線框
IRgbColor pColor = new RgbColorClass();
pColor.Red = 255;
pColor.Green = 0;
pColor.Blue = 0;
pColor.Transparency = 25;
// 產生一個線符號對象
ILineSymbol pOutline = new SimpleLineSymbolClass();
pOutline.Width = 2;
pOutline.Color = pColor;
// 設定顏色屬性
pColor = new RgbColorClass();
pColor.Red = 255;
pColor.Green = 0;
pColor.Blue = 0;
pColor.Transparency = 0;
// 設定填充符號的屬性
IFillSymbol pFillSymbol = new SimpleFillSymbolClass();
pFillSymbol.Color = pColor;
pFillSymbol.Outline......餘下全文>>
 
跪AE視頻源碼

是要模版??? 新CG兒有下載
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.