arcglobe+opengl(1)
来源:互联网 发布:武汉软件测试 编辑:程序博客网 时间:2024/05/16 09:43
在arcglobe中搭建opengl环境需要csgl包:下面是一段搭建环境的smple code
using ESRI.ArcGIS.Analyst3D;
using ESRI.ArcGIS.GlobeCore;
...
private IGlobeDisplayEvents_Event globeDisplayEvents = null;
...
protected void CreateOpenGLPortal()
{
globeDisplayEvents =
axGlobeControl1.GlobeViewer.GlobeDisplay as IGlobeDisplayEvents_Event;
if(globeDisplayEvents != null)
{
globeDisplayEvents.AfterDraw +=
new IGlobeDisplayEvents_AfterDrawEventHandler(OpenGLRender);
}
}
...
protected void OpenGLRender(ISceneViewer viewer)
{
// perform custom OpenGL rendering here
}
另外需要注意的有一个很重要的接口iglobeviewutil来提供坐标系的转换
globe坐标系是wgs84坐标系
using ESRI.ArcGIS.Analyst3D;
using ESRI.ArcGIS.GlobeCore;
...
private IGlobeDisplayEvents_Event globeDisplayEvents = null;
...
protected void CreateOpenGLPortal()
{
globeDisplayEvents =
axGlobeControl1.GlobeViewer.GlobeDisplay as IGlobeDisplayEvents_Event;
if(globeDisplayEvents != null)
{
globeDisplayEvents.AfterDraw +=
new IGlobeDisplayEvents_AfterDrawEventHandler(OpenGLRender);
}
}
...
protected void OpenGLRender(ISceneViewer viewer)
{
// perform custom OpenGL rendering here
}
另外需要注意的有一个很重要的接口iglobeviewutil来提供坐标系的转换
globe坐标系是wgs84坐标系
- arcglobe+opengl(1)
- Arcglobe中平行于opengl的方法
- ArcGlobe定位
- ArcGlobe & ArcScene
- C# ArcGlobe常用代码
- 了解 ArcScene 与 ArcGlobe
- ArcGlobe常用代码
- ArcGlobe 缓存管理
- ArcGlobe 缓存管理
- ArcGlobe 缓存管理
- Arcglobe删除图层
- ArcGlobe开发中常用代码
- ArcGlobe移动图层顺序
- arcglobe导入三维模型方法
- ArcGlobe 和 ArcScene的区别
- ArcGlobe图层高程拉伸
- ArcGlobe、ArcSence中路径飞行
- OpenGL-1
- 《C#与.NET3.0高级程序设计》读书笔记(二)
- vs.net中打开数据库中的文件(保存/下载)
- 超强的不规则碰撞检测
- C#跨线程窗体调用
- spring+struts+hibernate配置文件
- arcglobe+opengl(1)
- 联系
- 文件读写操作的缓存机制
- 文件读写操作的缓存机制
- 一个或得Properties的方法,感觉非常好
- 用SQL Server企业管理器将数据导入/导出Excel表
- webwork action之间跳转
- 右边宽度固定,左边宽度自适应
- SQL2005 sa islock 用户不能正常登录的处理方法