Changeset 279 for experimental/TerrainTest/ModificationManager
- Timestamp:
- Mar 20, 2011, 8:31:20 PM (14 years ago)
- Location:
- experimental/TerrainTest/ModificationManager
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/TerrainTest/ModificationManager/Export.h
r277 r279 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 2 * 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 5 * (at your option) any later version. The full license is in LICENSE file 6 * included with this distribution, and on the openscenegraph.org website. 7 * 8 * This library is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * OpenSceneGraph Public License for more details. 12 */ 13 14 #ifndef TERRAINMODMANAGER_EXPORT_ 15 #define TERRAINMODMANAGER_EXPORT_ 1 16 17 #include<osg/Config> 18 19 #if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS) 20 #pragma warning( disable : 4244 ) 21 #pragma warning( disable : 4251 ) 22 #pragma warning( disable : 4267 ) 23 #pragma warning( disable : 4275 ) 24 #pragma warning( disable : 4290 ) 25 #pragma warning( disable : 4786 ) 26 #pragma warning( disable : 4305 ) 27 #pragma warning( disable : 4996 ) 28 #endif 29 30 #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) 31 # if defined( OSG_LIBRARY_STATIC ) 32 # define TERRAINMODMANAGER_EXPORT 33 # elif defined( TERRAINMODMANAGER_LIBRARY ) 34 # define TERRAINMODMANAGER_EXPORT __declspec(dllexport) 35 # else 36 # define TERRAINMODMANAGER_EXPORT __declspec(dllimport) 37 # endif 38 #else 39 # define TERRAINMODMANAGER_EXPORT 40 #endif 41 42 /** 43 44 \namespace osgTerrain 45 46 The osgTerrain library is a NodeKit that provides geospecifc terrain rendering support. 47 */ 48 49 #endif -
experimental/TerrainTest/ModificationManager/ModificationManager.cpp
r277 r279 23 23 //- 24 24 25 #define USE_TERRAIN_PROTO_WORKAROUND USE_TERRAIN_PROTO_WORKAROUND26 25 27 26 -
experimental/TerrainTest/ModificationManager/ModificationManager.h
r277 r279 16 16 */ 17 17 18 #include "region.h"18 #include <region.h> 19 19 #include "myTileLoadedCallback.h" 20 20 #include "terrainModificationTechnique.h" … … 23 23 #include <osg/observer_ptr> 24 24 #include <vector> 25 26 #include "Export.h" 25 27 26 28 … … 42 44 * @date Mrz 2011 43 45 */ 44 class ModificationManager46 class TERRAINMODMANAGER_EXPORT ModificationManager 45 47 { 46 48 public: … … 103 105 104 106 //! Copy-Constructor: Private to avoid that someone can create an class instance by copying the singleton instance. 105 ModificationManager(const ModificationManager& cc) { };107 ModificationManager(const ModificationManager& cc) {cc;}; 106 108 107 109 //! Vector of all managed terrain pointers. -
experimental/TerrainTest/ModificationManager/ModificationManager.vcproj
r277 r279 42 42 Name="VCCLCompilerTool" 43 43 Optimization="0" 44 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MODIFICATIONMANAGER_EXPORTS" 44 AdditionalIncludeDirectories=""$(OSG_ROOT)\include";..\;.\" 45 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MODIFICATIONMANAGER_EXPORTS;TERRAINMODMANAGER_LIBRARY;USE_TERRAIN_PROTO_WORKAROUND" 45 46 MinimalRebuild="true" 46 47 BasicRuntimeChecks="3" … … 61 62 <Tool 62 63 Name="VCLinkerTool" 64 LinkLibraryDependencies="false" 65 AdditionalDependencies="osgTerraind.lib osgDBd.lib osgd.lib OpenThreadsd.lib" 66 OutputFile="$(OutDir)\$(ProjectName)d.dll" 63 67 LinkIncremental="2" 68 AdditionalLibraryDirectories="$(OSG_ROOT)/lib" 64 69 GenerateDebugInformation="true" 65 70 SubSystem="2" 71 ImportLibrary="$(TargetDir)$(TargetName).lib" 66 72 TargetMachine="1" 67 73 /> … … 115 121 Optimization="2" 116 122 EnableIntrinsicFunctions="true" 117 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MODIFICATIONMANAGER_EXPORTS" 123 AdditionalIncludeDirectories=""$(OSG_ROOT)\include";..\;.\" 124 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MODIFICATIONMANAGER_EXPORTS;TERRAINMODMANAGER_LIBRARY;USE_TERRAIN_PROTO_WORKAROUND" 118 125 RuntimeLibrary="2" 119 126 EnableFunctionLevelLinking="true" … … 133 140 <Tool 134 141 Name="VCLinkerTool" 142 LinkLibraryDependencies="false" 143 AdditionalDependencies="osgTerrain.lib osgDB.lib osg.lib OpenThreads.lib" 135 144 LinkIncremental="1" 145 AdditionalLibraryDirectories="$(OSG_ROOT)/lib" 136 146 GenerateDebugInformation="true" 137 147 SubSystem="2" … … 171 181 UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" 172 182 > 183 <File 184 RelativePath=".\ModificationManager.cpp" 185 > 186 </File> 187 <File 188 RelativePath="..\myTerrainTechnique.cpp" 189 > 190 </File> 173 191 </Filter> 174 192 <Filter … … 177 195 UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" 178 196 > 197 <File 198 RelativePath=".\Export.h" 199 > 200 </File> 201 <File 202 RelativePath=".\ModificationManager.h" 203 > 204 </File> 205 <File 206 RelativePath="..\myTerrainTechnique.h" 207 > 208 </File> 209 <File 210 RelativePath="..\region.h" 211 > 212 </File> 179 213 </Filter> 180 214 <Filter
Note: See TracChangeset
for help on using the changeset viewer.