ArcScene+AE+点击闪烁
ArcScene+AE+点击闪烁
ISceneGraph pSG = SC1.SceneGraph;
ISceneViewer pViewer=SC1 .SceneViewer ;
IPoint pPnt = new PointClass();
object pOwner;
object pObject;
pSG.Locate(SC1.SceneViewer, e.x, e.y, esriScenePickMode.esriScenePickAll, true, out pPnt, out pOwner, out pObject);
IClone ppFlashPoint;
IClone pClone = (IClone ) pPnt;
ppFlashPoint = pClone.Clone();
IPoint pFlashPoint =(IPoint ) ppFlashPoint;
pFlashPoint.Z = pFlashPoint.Z / pSG.VerticalExaggeration;
ISpatialReference ipSR =SC1.Scene.SpatialReference;
pFlashPoint .SpatialReference =ipSR ;
IDisplay3D pDisplay =(IDisplay3D ) pSG;
pDisplay.FlashLocation(pFlashPoint);
posted on 2009-03-31 11:09 kisstome88 阅读(797) 评论(2) 编辑 收藏 举报