├── .gitignore ├── DigitalEarth.sln ├── DigitalEarth.v12.suo ├── DigitalEarth ├── CAnyLine.cpp ├── CAnyLine.h ├── COSGObject.cpp ├── COSGObject.h ├── CRoad.cpp ├── CRoad.h ├── ClassDiagram.cd ├── DigitalEarth.aps ├── DigitalEarth.cpp ├── DigitalEarth.h ├── DigitalEarth.rc ├── DigitalEarth.vcxproj ├── DigitalEarth.vcxproj.filters ├── DigitalEarth.vcxproj.user ├── DigitalEarthDoc.cpp ├── DigitalEarthDoc.h ├── DigitalEarthView.cpp ├── DigitalEarthView.h ├── MainFrm.cpp ├── MainFrm.h ├── ReadMe.txt ├── common.h ├── res │ ├── DigitalEarth.ico │ ├── DigitalEarth.rc2 │ ├── DigitalEarthDoc.ico │ ├── Toolbar.bmp │ ├── Toolbar256.bmp │ ├── buttons.bmp │ ├── filelarge.bmp │ ├── filesmall.bmp │ ├── main.bmp │ ├── ribbon.mfcribbon-ms │ ├── writelarge.bmp │ └── writesmall.bmp ├── resource.h ├── stdafx.cpp ├── stdafx.h └── targetver.h ├── README.md └── 说明.txt /.gitignore: -------------------------------------------------------------------------------- 1 | earthResource -------------------------------------------------------------------------------- /DigitalEarth.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.40629.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DigitalEarth", "DigitalEarth\DigitalEarth.vcxproj", "{A9C1195A-186F-4FC0-A53B-DFA2E7B67316}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Win32 = Debug|Win32 11 | Release|Win32 = Release|Win32 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {A9C1195A-186F-4FC0-A53B-DFA2E7B67316}.Debug|Win32.ActiveCfg = Debug|Win32 15 | {A9C1195A-186F-4FC0-A53B-DFA2E7B67316}.Debug|Win32.Build.0 = Debug|Win32 16 | {A9C1195A-186F-4FC0-A53B-DFA2E7B67316}.Release|Win32.ActiveCfg = Release|Win32 17 | {A9C1195A-186F-4FC0-A53B-DFA2E7B67316}.Release|Win32.Build.0 = Release|Win32 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | EndGlobal 23 | -------------------------------------------------------------------------------- /DigitalEarth.v12.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth.v12.suo -------------------------------------------------------------------------------- /DigitalEarth/CAnyLine.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CAnyLine.h" 3 | 4 | 5 | CAnyLine::CAnyLine() 6 | { 7 | m_Points = new osg::Vec3Array; 8 | } 9 | 10 | 11 | CAnyLine::~CAnyLine() 12 | { 13 | } 14 | 15 | void CAnyLine::CreateLineByPoints(osg::ref_ptr Points) 16 | { 17 | this->m_Points = Points; 18 | } 19 | 20 | osg::ref_ptr CAnyLine::GetLineOfPoints() 21 | { 22 | if (m_Points->size() > 0) 23 | return m_Points; 24 | else 25 | return nullptr; 26 | } 27 | -------------------------------------------------------------------------------- /DigitalEarth/CAnyLine.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "common.h" 3 | class CAnyLine 4 | { 5 | public: 6 | CAnyLine(); 7 | ~CAnyLine(); 8 | void CreateLineByPoints(osg::ref_ptr Points); 9 | osg::ref_ptr GetLineOfPoints(); 10 | private: 11 | osg::ref_ptr m_Points; 12 | }; 13 | 14 | -------------------------------------------------------------------------------- /DigitalEarth/COSGObject.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/COSGObject.cpp -------------------------------------------------------------------------------- /DigitalEarth/COSGObject.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/COSGObject.h -------------------------------------------------------------------------------- /DigitalEarth/CRoad.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "CRoad.h" 3 | 4 | 5 | CRoad::CRoad() 6 | { 7 | m_root = new osg::Group; 8 | } 9 | 10 | 11 | CRoad::~CRoad() 12 | { 13 | } 14 | 15 | osg::ref_ptr CRoad::CreatePerRoad(CAnyLine *line1, CAnyLine *line2) 16 | { 17 | osg::ref_ptr geode = new osg::Geode; 18 | osg::ref_ptr gm = new osg::Geometry; 19 | osg::ref_ptr vertices = new osg::Vec3Array; 20 | osg::ref_ptr colors = new osg::Vec4Array; 21 | colors->push_back(osg::Vec4(0.2f,0.6f,0.8f,1.0f)); 22 | 23 | osg::ref_ptr line1Points = line1->GetLineOfPoints(); 24 | osg::ref_ptr line2Points = line2->GetLineOfPoints(); 25 | unsigned int line1Count, line2Count, cutoffCount; 26 | line1Count = line1Points->size(); 27 | line2Count = line2Points->size(); 28 | cutoffCount = line1Count > line2Count ? line2Count : line1Count; 29 | 30 | for (unsigned int i = 0; i < cutoffCount; ++i) 31 | { 32 | vertices->push_back(line1Points->at(i)); 33 | vertices->push_back(line2Points->at(i)); 34 | } 35 | 36 | gm->setVertexArray(vertices); 37 | gm->setColorArray(colors); 38 | gm->setColorBinding(osg::Geometry::BIND_OVERALL); 39 | gm->addPrimitiveSet(new osg::DrawArrays(osg::DrawArrays::TRIANGLE_STRIP,0,vertices->size())); 40 | osgUtil::SmoothingVisitor::smooth(*gm); 41 | 42 | 43 | geode->addDrawable(gm); 44 | return geode.release(); 45 | } 46 | 47 | void CRoad::AddRoad(osg::ref_ptr perRoad) 48 | { 49 | m_root->addChild(perRoad); 50 | } 51 | 52 | osg::ref_ptr CRoad::GetRoad() 53 | { 54 | return m_root.release(); 55 | } 56 | 57 | void CRoad::InitRoad() 58 | { 59 | CAnyLine *line1, *line2,*line3; 60 | line1 = new CAnyLine; 61 | line2 = new CAnyLine; 62 | line3 = new CAnyLine; 63 | osg::ref_ptr line1Points = new osg::Vec3Array; 64 | osg::ref_ptr line2Points = new osg::Vec3Array; 65 | osg::ref_ptr line3Points = new osg::Vec3Array; 66 | for (float i = -180; i <= 180.0; i += 5.0) 67 | { 68 | float h = osg::DegreesToRadians(i); 69 | float x =2*cos(h); 70 | float y = 2 * sin(h); 71 | float z = sin(h); 72 | line1Points->push_back(osg::Vec3(x,y,z)); 73 | } 74 | for (float i = -180; i <=180.0; i += 5.0) 75 | { 76 | float h = osg::DegreesToRadians(i); 77 | float x = 4 * cos(h); 78 | float y = 4 * sin(h); 79 | float z = sin(h); 80 | line2Points->push_back(osg::Vec3(x, y, z)); 81 | } 82 | for (float i = -180.0; i <=180.0; i += 5.0) 83 | { 84 | float h = osg::DegreesToRadians(i); 85 | float x = 3 * cos(h); 86 | float y = 3 * sin(h); 87 | float z = cos(h); 88 | line3Points->push_back(osg::Vec3(x, y, z)); 89 | } 90 | 91 | line1->CreateLineByPoints(line1Points); 92 | line2->CreateLineByPoints(line2Points); 93 | line3->CreateLineByPoints(line3Points); 94 | AddRoad(this->CreatePerRoad(line1, line3)); 95 | AddRoad(this->CreatePerRoad(line3, line2)); 96 | } 97 | 98 | -------------------------------------------------------------------------------- /DigitalEarth/CRoad.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "CAnyLine.h" 3 | class CRoad 4 | { 5 | public: 6 | CRoad(); 7 | ~CRoad(); 8 | osg::ref_ptr CreatePerRoad(CAnyLine *line1,CAnyLine *line2); 9 | void AddRoad(osg::ref_ptr perRoad); 10 | osg::ref_ptr GetRoad(); 11 | void InitRoad(); 12 | private: 13 | std::vector m_Lines; 14 | osg::ref_ptr m_root; 15 | }; 16 | 17 | -------------------------------------------------------------------------------- /DigitalEarth/ClassDiagram.cd: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /DigitalEarth/DigitalEarth.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/DigitalEarth.aps -------------------------------------------------------------------------------- /DigitalEarth/DigitalEarth.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/DigitalEarth.cpp -------------------------------------------------------------------------------- /DigitalEarth/DigitalEarth.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/DigitalEarth.h -------------------------------------------------------------------------------- /DigitalEarth/DigitalEarth.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/DigitalEarth.rc -------------------------------------------------------------------------------- /DigitalEarth/DigitalEarth.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | 14 | {A9C1195A-186F-4FC0-A53B-DFA2E7B67316} 15 | DigitalEarth 16 | MFCProj 17 | 18 | 19 | 20 | Application 21 | true 22 | v120 23 | Unicode 24 | Dynamic 25 | 26 | 27 | Application 28 | false 29 | v120 30 | true 31 | Unicode 32 | Dynamic 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | true 46 | G:\OSG\osgEarth\include;G:\OSG\osg_x86\include;G:\OSG\osgEarth\InstallSrc\osgearth-master\src;$(IncludePath) 47 | G:\OSG\osg_x86\lib;G:\OSG\osgEarth\lib;$(LibraryPath) 48 | G:\OSG\osgEarth\bin;G:\OSG\osg_x86\bin;G:\OSG\osg_x86\bin\osgPlugins-3.4.0;$(ExecutablePath) 49 | 50 | 51 | false 52 | G:\OSG\osgEarth\osg3.0.0+osgEarth2.1\osg3.0\include;G:\OSG\osgEarth\osg3.0.0+osgEarth2.1\osgearth\include;$(IncludePath) 53 | G:\OSG\osgEarth\osg3.0.0+osgEarth2.1\osgearth\lib;G:\OSG\osgEarth\osg3.0.0+osgEarth2.1\osg3.0\lib;$(LibraryPath) 54 | G:\OSG\osgEarth\osg3.0.0+osgEarth2.1\osg3.0\bin;G:\OSG\osgEarth\osg3.0.0+osgEarth2.1\osg3.0\bin\osgPlugins-3.0.0;G:\OSG\osgEarth\osg3.0.0+osgEarth2.1\osgearth\bin;$(ExecutablePath) 55 | 56 | 57 | 58 | Use 59 | Level3 60 | Disabled 61 | WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions) 62 | true 63 | true 64 | 65 | 66 | Windows 67 | true 68 | osgViewerd.lib;osgd.lib;osgDBd.lib;osgUtild.lib;osgGAd.lib;osgEarthd.lib;osgEarthUtild.lib;%(AdditionalDependencies) 69 | 70 | 71 | false 72 | true 73 | _DEBUG;%(PreprocessorDefinitions) 74 | 75 | 76 | 0x0804 77 | _DEBUG;%(PreprocessorDefinitions) 78 | $(IntDir);%(AdditionalIncludeDirectories) 79 | 80 | 81 | 82 | 83 | Level3 84 | Use 85 | MaxSpeed 86 | true 87 | true 88 | WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions) 89 | true 90 | 91 | 92 | Windows 93 | true 94 | true 95 | true 96 | osgViewer.lib;osg.lib;osgDB.lib;osgUtil.lib;osgGA.lib;osgEarth.lib;osgEarthUtil.lib;%(AdditionalDependencies) 97 | 98 | 99 | false 100 | true 101 | NDEBUG;%(PreprocessorDefinitions) 102 | 103 | 104 | 0x0804 105 | NDEBUG;%(PreprocessorDefinitions) 106 | $(IntDir);%(AdditionalIncludeDirectories) 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | Create 135 | Create 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | -------------------------------------------------------------------------------- /DigitalEarth/DigitalEarth.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 头文件 23 | 24 | 25 | 头文件 26 | 27 | 28 | 头文件 29 | 30 | 31 | 头文件 32 | 33 | 34 | 头文件 35 | 36 | 37 | 头文件 38 | 39 | 40 | 头文件 41 | 42 | 43 | 头文件 44 | 45 | 46 | 头文件 47 | 48 | 49 | 头文件 50 | 51 | 52 | 头文件 53 | 54 | 55 | 56 | 57 | 源文件 58 | 59 | 60 | 源文件 61 | 62 | 63 | 源文件 64 | 65 | 66 | 源文件 67 | 68 | 69 | 源文件 70 | 71 | 72 | 源文件 73 | 74 | 75 | 源文件 76 | 77 | 78 | 源文件 79 | 80 | 81 | 82 | 83 | 资源文件 84 | 85 | 86 | 87 | 88 | 资源文件 89 | 90 | 91 | 资源文件 92 | 93 | 94 | 资源文件 95 | 96 | 97 | 资源文件 98 | 99 | 100 | 资源文件 101 | 102 | 103 | 资源文件 104 | 105 | 106 | 资源文件 107 | 108 | 109 | 资源文件 110 | 111 | 112 | 资源文件 113 | 114 | 115 | 资源文件 116 | 117 | 118 | 119 | 120 | 资源文件 121 | 122 | 123 | 资源文件 124 | 125 | 126 | 127 | 资源文件 128 | 129 | 130 | -------------------------------------------------------------------------------- /DigitalEarth/DigitalEarth.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /DigitalEarth/DigitalEarthDoc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/DigitalEarthDoc.cpp -------------------------------------------------------------------------------- /DigitalEarth/DigitalEarthDoc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/DigitalEarthDoc.h -------------------------------------------------------------------------------- /DigitalEarth/DigitalEarthView.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/DigitalEarthView.cpp -------------------------------------------------------------------------------- /DigitalEarth/DigitalEarthView.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/DigitalEarthView.h -------------------------------------------------------------------------------- /DigitalEarth/MainFrm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/MainFrm.cpp -------------------------------------------------------------------------------- /DigitalEarth/MainFrm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/MainFrm.h -------------------------------------------------------------------------------- /DigitalEarth/ReadMe.txt: -------------------------------------------------------------------------------- 1 | ================================================================================ 2 | MICROSOFT 基础类库 : DigitalEarth 项目概述 3 | =============================================================================== 4 | 5 | 应用程序向导已为您创建了此 DigitalEarth 应用程序。此应用程序不仅演示 Microsoft 基础类的基本使用方法,还可作为您编写应用程序的起点。 6 | 7 | 本文件概要介绍组成 DigitalEarth 应用程序的每个文件的内容。 8 | 9 | DigitalEarth.vcxproj 10 | 这是使用应用程序向导生成的 VC++ 项目的主项目文件,其中包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。 11 | 12 | DigitalEarth.vcxproj.filters 13 | 这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。它包含有关项目文件与筛选器之间的关联信息。在 IDE 中,通过这种关联,在特定节点下以分组形式显示具有相似扩展名的文件。例如,“.cpp”文件与“源文件”筛选器关联。 14 | 15 | DigitalEarth.h 16 | 这是应用程序的主头文件。 17 | 其中包括其他项目特定的标头(包括 Resource.h),并声明 CDigitalEarthApp 应用程序类。 18 | 19 | DigitalEarth.cpp 20 | 这是包含应用程序类 CDigitalEarthApp 的主应用程序源文件。 21 | 22 | DigitalEarth.rc 23 | 这是程序使用的所有 Microsoft Windows 资源的列表。它包括 RES 子目录中存储的图标、位图和光标。此文件可以直接在 Microsoft Visual C++ 中进行编辑。项目资源包含在 2052 中。 24 | 25 | res\DigitalEarth.ico 26 | 这是用作应用程序图标的图标文件。此图标包括在主资源文件 DigitalEarth.rc 中。 27 | 28 | res\DigitalEarth.rc2 29 | 此文件包含不在 Microsoft Visual C++ 中进行编辑的资源。您应该将不可由资源编辑器编辑的所有资源放在此文件中。 30 | 31 | ///////////////////////////////////////////////////////////////////////////// 32 | 33 | 对于主框架窗口: 34 | 该项目包含一个标准的 MFC 接口。 35 | 36 | MainFrm.h, MainFrm.cpp 37 | 这些文件中包含框架类 CMainFrame,该类派生自 38 | CFrameWnd 并控制所有 SDI 框架功能。 39 | 40 | res\Toolbar.bmp 41 | 此位图文件用于为工具栏创建平铺图像。 42 | 初始工具栏和状态栏在 CMainFrame 类中构造。使用资源编辑器编辑此工具栏位图,并更新 DigitalEarth.rc 中的 IDR_MAINFRAME TOOLBAR 数组以添加工具栏按钮。 43 | ///////////////////////////////////////////////////////////////////////////// 44 | 45 | 应用程序向导创建一种文档类型和一个视图: 46 | 47 | DigitalEarthDoc.h、DigitalEarthDoc.cpp - 文档 48 | 这些文件包含 CDigitalEarthDoc 类。编辑这些文件以添加特殊文档数据并实现文件保存和加载(通过 CDigitalEarthDoc::Serialize)。 49 | 50 | DigitalEarthView.h、DigitalEarthView.cpp - 文档视图 51 | 这些文件包含 CDigitalEarthView 类。 52 | CDigitalEarthView 对象用于查看 CDigitalEarthDoc 对象。 53 | 54 | 55 | 56 | 57 | ///////////////////////////////////////////////////////////////////////////// 58 | 59 | 其他功能: 60 | 61 | ActiveX 控件 62 | 该应用程序包含对使用 ActiveX 控件的支持。 63 | 64 | 打印和打印预览支持 65 | 应用程序向导通过从 MFC 库调用 CView 类中的成员函数生成代码,来处理打印、打印设置和打印预览命令。 66 | 67 | ///////////////////////////////////////////////////////////////////////////// 68 | 69 | 其他标准文件: 70 | 71 | StdAfx.h, StdAfx.cpp 72 | 这些文件用于生成名为 DigitalEarth.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。 73 | 74 | Resource.h 75 | 这是标准头文件,可用于定义新的资源 ID。Microsoft Visual C++ 将读取并更新此文件。 76 | 77 | DigitalEarth.manifest 78 | Windows XP 使用应用程序清单文件来描述特定版本的并行程序集的应用程序依赖项。加载程序使用这些信息来从程序集缓存中加载相应的程序集,并保护其不被应用程序访问。应用程序清单可能会包含在内,以作为与应用程序可执行文件安装在同一文件夹中的外部 .manifest 文件进行重新分发,它还可能以资源的形式包含在可执行文件中。 79 | ///////////////////////////////////////////////////////////////////////////// 80 | 81 | 其他注释: 82 | 83 | 应用程序向导使用“TODO:”来指示应添加或自定义的源代码部分。 84 | 85 | 如果应用程序使用共享 DLL 中的 MFC,您将需要重新分发 MFC DLL。如果应用程序所使用的语言与操作系统的区域设置不同,则还需要重新分发相应的本地化资源 mfc110XXX.DLL。 86 | 有关上述话题的更多信息,请参见 MSDN 文档中有关重新分发 Visual C++ 应用程序的部分。 87 | 88 | ///////////////////////////////////////////////////////////////////////////// 89 | -------------------------------------------------------------------------------- /DigitalEarth/common.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | #include 8 | #include 9 | #include 10 | 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include -------------------------------------------------------------------------------- /DigitalEarth/res/DigitalEarth.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/res/DigitalEarth.ico -------------------------------------------------------------------------------- /DigitalEarth/res/DigitalEarth.rc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/res/DigitalEarth.rc2 -------------------------------------------------------------------------------- /DigitalEarth/res/DigitalEarthDoc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/res/DigitalEarthDoc.ico -------------------------------------------------------------------------------- /DigitalEarth/res/Toolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/res/Toolbar.bmp -------------------------------------------------------------------------------- /DigitalEarth/res/Toolbar256.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/res/Toolbar256.bmp -------------------------------------------------------------------------------- /DigitalEarth/res/buttons.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/res/buttons.bmp -------------------------------------------------------------------------------- /DigitalEarth/res/filelarge.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/res/filelarge.bmp -------------------------------------------------------------------------------- /DigitalEarth/res/filesmall.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/res/filesmall.bmp -------------------------------------------------------------------------------- /DigitalEarth/res/main.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/res/main.bmp -------------------------------------------------------------------------------- /DigitalEarth/res/ribbon.mfcribbon-ms: -------------------------------------------------------------------------------- 1 |
1
RibbonBarTRUETRUETRUETRUEFALSEIDB_BUTTONS113Button_MainFFALSEFALSE-1-1TRUEIDB_MAIN112Category_Main文件IDB_FILESMALL115IDB_FILELARGE114ButtonID_FILE_NEW57600新建(&N)FALSEFALSE00TRUEFALSEButtonID_FILE_OPEN57601打开(&O)...FALSEFALSE11TRUEFALSEButtonID_FILE_SAVE57603保存(&S)FALSEFALSE22TRUEFALSEButtonID_FILE_SAVE_AS57604另存为(&A)...FALSEFALSE33TRUEFALSEButtonID_FILE_PRINT57607打印PWFALSEFALSE44TRUEFALSELabel预览并打印文档FALSEFALSE-1-1TRUEButtonID_FILE_PRINT_DIRECT57608快速打印(&Q)FALSEFALSE55TRUETRUEButtonID_FILE_PRINT_PREVIEW57609打印预览(&V)FALSEFALSE66TRUETRUEButtonID_FILE_PRINT_SETUP57606打印设置(&U)FALSEFALSE77TRUETRUEButton_Main_PanelID_APP_EXIT57665退出(&X)FALSEFALSE10-1TRUETRUE300QATTRUEID_FILE_NEW57600TRUEID_FILE_OPEN57601TRUEID_FILE_SAVE57603TRUEID_FILE_PRINT_DIRECT57608TRUEGroupButton样式SFALSEFALSE-1-1FALSEFALSEButtonID_VIEW_APPLOOK_OFF_2007_BLUE215Office 2007 (蓝色样式)(&B)FALSEFALSE-1-1TRUEFALSEButtonID_VIEW_APPLOOK_OFF_2007_BLACK216Office 2007 (黑色样式)(&L)FALSEFALSE-1-1TRUEFALSEButtonID_VIEW_APPLOOK_OFF_2007_SILVER217Office 2007 (银色样式)(&S)FALSEFALSE-1-1TRUEFALSEButtonID_VIEW_APPLOOK_OFF_2007_AQUA218Office 2007 (水绿色样式)(&A)FALSEFALSE-1-1TRUEFALSEButtonID_VIEW_APPLOOK_WINDOWS_7219Windows 7(&D)FALSEFALSE-1-1TRUEFALSEButtonID_APP_ABOUT57664AFALSEFALSE0-1TRUEFALSECategory主页HIDB_WRITESMALL110IDB_WRITELARGE111Panel剪贴板D1FALSEFALSEButtonID_EDIT_PASTE57637粘贴VFALSEFALSE00TRUEFALSEButtonID_EDIT_CUT57635剪切XFALSEFALSE1-1TRUEFALSEButtonID_EDIT_COPY57634复制CFALSEFALSE2-1TRUEFALSEButtonID_EDIT_SELECT_ALL57642全选AFALSEFALSE3-1TRUEFALSEPanel视图2FALSEFALSEButton_CheckID_VIEW_STATUS_BAR59393状态栏SFALSEFALSE-1-1TRUEPanel模型操作-1FALSEFALSEButtonID_BUTTON_OPEN_MODEL32771打开模型文件FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON_SAVE_MODEL32772保存模型FALSEFALSE-1-1TRUEFALSECategoryGIS平台Panel面板1-1FALSEFALSECategory3D地质Panel面板2-1FALSEFALSECategory路线设计Category路基设计Panel面板3-1FALSEFALSECategory桥梁设计Panel资料设置-1FALSEFALSEButtonID_BUTTON732781新建桥梁FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON532779总体信息FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON632780材料规格FALSEFALSE-1-1TRUEFALSEPanel主桥上部设计-1FALSEFALSEButtonID_BUTTON2732807桥形布置FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON2832808节段划分FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON2932809节段构造及钢筋FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON3032810钢束设计FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON3132811其他上部设计FALSEFALSE-1-1TRUEFALSEPanel主桥下部设计-1FALSEFALSEButtonID_BUTTON3232812智能设计FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON3332813主墩设计FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON3432814过渡墩设计FALSEFALSE-1-1TRUEFALSEPanel引桥设计-1FALSEFALSEPanel成果输出-1FALSEFALSEButtonID_BUTTON3532815图册管理FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON3632816总体图纸FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON3732817上部图纸FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON3832818下部图纸FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON3932819初步设计出图FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON4032820施工出图FALSEFALSE-1-1TRUEFALSEButtonID_BUTTON4132821导出计算模型FALSEFALSE-1-1TRUEFALSEPanel视图-1FALSEFALSEPanel工具-1FALSEFALSECategory隧道设计Panel面板12-1FALSEFALSECategory涵洞设计Panel面板13-1FALSEFALSECategory交通设施设计Panel面板14-1FALSEFALSECategory成果输出Panel面板15-1FALSEFALSECategory协同管理Panel面板16-1FALSEFALSE
-------------------------------------------------------------------------------- /DigitalEarth/res/writelarge.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/res/writelarge.bmp -------------------------------------------------------------------------------- /DigitalEarth/res/writesmall.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/res/writesmall.bmp -------------------------------------------------------------------------------- /DigitalEarth/resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/resource.h -------------------------------------------------------------------------------- /DigitalEarth/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/stdafx.cpp -------------------------------------------------------------------------------- /DigitalEarth/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/stdafx.h -------------------------------------------------------------------------------- /DigitalEarth/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clojur/DigitalEarth/4b57f025d68110bdfc43ded7be5417f7425d4266/DigitalEarth/targetver.h -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DigitalEarth 2 | OSGEarth环境 3 | 4 | ::编译环境是VS2013 5 | 6 | 1.需要OSG3.4.0跟OSGEarth2.8版本支持。 7 | 2.无环境的请自己搭建程序运行环境。 8 | 3.earthResource文件夹太大,网络太差无法贴到GITHUB,我已经放到了百度云。 9 | 10 | 百度云地址:http://pan.baidu.com/s/1geQ6mDd 11 | 提取码:fwbe 12 | -------------------------------------------------------------------------------- /说明.txt: -------------------------------------------------------------------------------- 1 | ::编译环境是VS2013 2 | 3 | 1.需要OSG3.4.0跟OSGEarth2.8版本支持。 4 | 2.无环境的请自己搭建程序运行环境。 5 | 3.earthResource文件夹太大,网络太差无法贴到GITHUB,我已经放到了百度云。 6 | 7 | 百度云地址:http://pan.baidu.com/s/1geQ6mDd 8 | 提取码:fwbe 9 | --------------------------------------------------------------------------------