AE + SceneControl source code sharing, aescenecontrol source code

Source: Internet
Author: User

AE + SceneControl source code sharing, aescenecontrol source code

Recently, some bloggers sent private messages or sent messages. They first shared a small project with SceneControl, which was very rough. I hope it will help you. Please leave a message.

In addition to opening, saving, loading, and querying data, the following functions are implemented:

1. Generate TIN Based on the excel file.

2. Adding TIN and DOM to build a 3D scenario.

3. Extract contour lines based on TIN.

4. Model import

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


How does AE implement eagleeye in 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;
// Clear any graphic elements in axMapControl1 before drawing
PGra. DeleteAllElements ();
IRectangleElement pRectangleEle = new RectangleElementClass ();
IElement pEle = pRectangleEle as IElement;
// PEle. Geometry = Get_VisibleGeographicExtent (this. axGlobeControl1.Globe );
// Set the red line in the eagleeye chart
IRgbColor pColor = new RgbColorClass ();
PColor. red= 255;
PColor. Green = 0;
PColor. Blue = 0;
PColor. Transparency = 25;
// Generate a line symbol object
ILineSymbol pOutline = new SimpleLineSymbolClass ();
POutline. Width = 2;
POutline. Color = pColor;
// Set the color attribute
PColor = new RgbColorClass ();
PColor. red= 255;
PColor. Green = 0;
PColor. Blue = 0;
PColor. Transparency = 0;
// Set the attributes of the fill symbol
IFillSymbol pFillSymbol = new SimpleFillSymbolClass ();
PFillSymbol. Color = pColor;
PFillSymbol. Outline ...... remaining full text>

Kneeling AE video source code

Is a template ??? New CG has been downloaded
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.