OsgEarth3的基础3D图元实现(最新)

上传者: Being__ | 上传时间: 2022-12-29 15:23:34 | 文件大小: 16KB | 文件类型: RAR
1. 封装基于Osg+OsgEarth3实现的3D基础图元类,每个类提供各个图元的基础参数设置。 2. 封装的图元类:PolygonCubeObject3D(**任意立方体**)、CylinderObject3DEx(**圆柱**)、SphereObject3D(**球体**)、ConeObject3D(**圆锥**)、PyramidObject3D(**四棱锥**)、BoxObject3D(**矩形立方体**)。 3. OsgEarthMapViewer内包含响应按钮事件(hand函数),以动态修改图元属性的测试。注意测试指定图元属性修改时,需要打开指定handle的注释,并对应switch内的按键进行操作。 4. 建议自行建立工程后,编译源码后进行测试(内含main.cpp),随时修改以及时看到变化情况,了解各个参数对绘制的影响。 (相比上面的2D图元绘制的代码,3D图元绘制的资源内,封装了对绘制属性的设置修改,即封装成类,提供到接口操作)

文件下载

资源详情

[{"title":"( 19 个子文件 16KB ) OsgEarth3的基础3D图元实现(最新)","children":[{"title":"Src","children":[{"title":"PyramidObject3D.h <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"OsgEarthMapViewer.cpp <span style='color:#111;'> 15.03KB </span>","children":null,"spread":false},{"title":"ConeObject3D.h <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"SphereObject3D.h <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"BoxObject3D.h <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"CylinderObject3DEx.h <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"PolygonCubeObject3D.h <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"CylinderObject3D.h <span style='color:#111;'> 934B </span>","children":null,"spread":false},{"title":"ElementGeometry.cpp <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"CylinderObject3DEx.cpp <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":"ConeObject3D.cpp <span style='color:#111;'> 4.45KB </span>","children":null,"spread":false},{"title":"BoxObject3D.cpp <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false},{"title":"PyramidObject3D.cpp <span style='color:#111;'> 4.12KB </span>","children":null,"spread":false},{"title":"SphereObject3D.cpp <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":"OsgEarthMapViewer.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"PolygonCubeObject3D.cpp <span style='color:#111;'> 3.32KB </span>","children":null,"spread":false},{"title":"CylinderObject3D.cpp <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"ElementGeometry.h <span style='color:#111;'> 788B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明