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