- Timestamp:
- Jul 29, 2010, 8:39:55 AM (14 years ago)
- Location:
- osgVisual
- Files:
-
- 50 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/CMakeLists.txt
r86 r88 95 95 ENDIF(USE_SKY_SILVERLINING) 96 96 ENDIF(WIN32) 97 97 IF(CMAKE_COMPILER_IS_GNUCC) 98 99 SET(USE_SKY_SILVERLINING ON CACHE BOOL "Enable to use Sundog-soft's Silverlining SDK for sky & weather") 100 IF(USE_SKY_SILVERLINING ) 101 SET(SOURCES 102 ${SOURCES} 103 include/sky_Silverlining/skySilverLining_AtmosphereReference.h 104 include/sky_Silverlining/skySilverlining_cloudLayerSlot.h 105 include/sky_Silverlining/skySilverLining_cloudsDrawable.h 106 include/sky_Silverlining/skySilverLining_ProjectionMatrixCallback.h 107 include/sky_Silverlining/skySilverLining_skyDrawable.h 108 include/sky_Silverlining/visual_skySilverLining.h 109 src/sky_Silverlining/skySilverLining_cloudsDrawable.cpp 110 src/sky_Silverlining/skySilverLining_skyDrawable.cpp 111 src/sky_Silverlining/visual_skySilverLining.cpp 112 ) 113 114 IF (DESTINATION_ARCH STREQUAL "x86") 115 SET(SILVERLINING_ARCH "win32") 116 ELSEIF ( DESTINATION_ARCH STREQUAL "x64" ) 117 SET(SILVERLINING_ARCH "x64") 118 ENDIF () 119 SET(SILVERLINING_LIBRARY_RELEASE $ENV{SILVERLINING_PATH}\\lib\\vc9\\${SILVERLINING_ARCH}\\SilverLining-MT-DLL.lib CACHE FILEPATH "Select the release library of Sundog-Soft's Silverlining SDK to link against." ) 120 SET(SILVERLINING_LIBRARY_DEBUG $ENV{SILVERLINING_PATH}\\lib\\vc9\\${SILVERLINING_ARCH}\\SilverLining-MTD-DLL.lib CACHE FILEPATH "Select the debug library of Sundog-Soft's Silverlining SDK to link against." ) 121 SET(SILVERLINING_INCLUDE_DIR "$ENV{SILVERLINING_PATH}\\Public Headers" CACHE PATH "Enter the path to the the public Include directory of Sundog-Soft's Silverlining SDK" ) 122 SET(SILVERLINING_LICENSEE "Your user name" CACHE STRING "Enter your Silverlining licensee name. If you license available, osgVisual will work with silverlining as 5 minute demo with the default value." ) 123 SET(SILVERLINING_LICENSE "Your license code" CACHE STRING "Enter your Silverlining license key. If you license available, osgVisual will work with silverlining as 5 minute demo with the default value." ) 124 INCLUDE_DIRECTORIES(${SILVERLINING_INCLUDE_DIR} include/sky_Silverlining) 125 ADD_DEFINITIONS( "-DUSE_SKY_SILVERLINING" ) 126 ADD_DEFINITIONS( "-DSILVERLINING_LICENSEE=\"${SILVERLINING_LICENSEE}\"" ) 127 ADD_DEFINITIONS( "-DSILVERLINING_LICENSE=\"${SILVERLINING_LICENSE}\"" ) 128 129 ELSE(USE_SKY_SILVERLINING) 130 UNSET(SILVERLINING_LIBRARY_RELEASE CACHE) 131 UNSET(SILVERLINING_LIBRARY_DEBUG CACHE) 132 UNSET(SILVERLINING_INCLUDE_DIR CACHE) 133 UNSET(SILVERLINING_LICENSEE) 134 UNSET(SILVERLINING_LICENSE) 135 ENDIF(USE_SKY_SILVERLINING) 136 ENDIF() 98 137 99 138 # Module distortion -
osgVisual/include/cluster/dataIO_cluster.h
r81 r88 37 37 class dataIO_cluster : public osg::Referenced 38 38 { 39 #include <leakDetection.h> 39 40 public: 40 41 /** -
osgVisual/include/cluster/dataIO_clusterENet.h
r81 r88 39 39 class dataIO_clusterENet : public dataIO_cluster 40 40 { 41 #include <leakDetection.h> 41 42 public: 42 43 dataIO_clusterENet(); -
osgVisual/include/cluster/dataIO_clusterENet_implementation.h
r80 r88 38 38 class dataIO_clusterENet_implementation : public osg::Referenced 39 39 { 40 #include <leakDetection.h> 40 41 public: 41 42 /** -
osgVisual/include/core/visual_core.h
r87 r88 92 92 class visual_core : public osg::Referenced 93 93 { 94 #include <leakDetection.h> 95 94 96 public: 95 97 visual_core(osg::ArgumentParser& arguments_); -
osgVisual/include/dataIO/dataIO_executer.h
r32 r88 27 27 class dataIO_executer : public osg::Node 28 28 { 29 #include <leakDetection.h> 29 30 public: 30 31 dataIO_executer() {id=DO_NOTHING;} -
osgVisual/include/dataIO/dataIO_slot.h
r32 r88 28 28 class dataIO_slot : public osg::Object 29 29 { 30 #include <leakDetection.h> 30 31 public: 31 32 META_Object(osgVisual,dataIO_slot); -
osgVisual/include/dataIO/dataIO_transportContainer.h
r75 r88 29 29 class dataIO_transportContainer : public osg::Object 30 30 { 31 #include <leakDetection.h> 31 32 public: 32 33 META_Object(osgVisual,dataIO_transportContainer); // Required for serializer -
osgVisual/include/dataIO/visual_dataIO.h
r86 r88 65 65 class visual_dataIO : public osg::Referenced 66 66 { 67 #include <leakDetection.h> 67 68 private: 68 69 class dataIO_eventCallback : public osg::NodeCallback -
osgVisual/include/distortion/visual_distortion.h
r32 r88 54 54 class visual_distortion : public osg::Node 55 55 { 56 #include <leakDetection.h> 56 57 public: 57 58 /** -
osgVisual/include/draw2D/visual_debug_hud.h
r32 r88 38 38 class visual_debug_hud : public osg::Geode 39 39 { 40 #include <leakDetection.h> 40 41 public: 41 42 /** -
osgVisual/include/draw2D/visual_draw2D.h
r32 r88 29 29 namespace osgVisual 30 30 { 31 #include <leakDetection.h> 31 32 32 33 /** -
osgVisual/include/draw2D/visual_hud.h
r32 r88 34 34 class visual_hud : public osg::Geode 35 35 { 36 #include <leakDetection.h> 36 37 public: 37 38 /** -
osgVisual/include/draw3D/visual_draw3D.h
r32 r88 28 28 class visual_draw3D : public osg::Node 29 29 { 30 #include <leakDetection.h> 30 31 public: 31 32 visual_draw3D(void); -
osgVisual/include/extLink/dataIO_extLink.h
r32 r88 35 35 class dataIO_extLink : public osg::Referenced 36 36 { 37 #include <leakDetection.h> 37 38 public: 38 39 /** -
osgVisual/include/extLink/dataIO_extLinkVCL.h
r50 r88 66 66 class dataIO_extLinkVCL : public dataIO_extLink 67 67 { 68 #include <leakDetection.h> 68 69 public: 69 70 dataIO_extLinkVCL(std::vector<dataIO_slot>& dataSlots_); -
osgVisual/include/extLink/manip_extLink.h
r73 r88 31 31 class extLinkManipulator : public osgGA::CameraManipulator 32 32 { 33 #include <leakDetection.h> 33 34 public: 34 35 /** -
osgVisual/include/manip_ObjectMounted/manip_objectMounted.h
r55 r88 35 35 class objectMountedManipulator : public osgGA::CameraManipulator 36 36 { 37 #include <leakDetection.h> 37 38 public: 38 39 /** -
osgVisual/include/manip_Spacemouse/manip_freeSpaceMouse.h
r55 r88 41 41 class FreeManipulator : public osgGA::CameraManipulator 42 42 { 43 #include <leakDetection.h> 43 44 public: 44 45 /** -
osgVisual/include/manip_Spacemouse/manip_nodeTrackerSpaceMouse.h
r55 r88 51 51 class NodeTrackerSpaceMouse : public osgGA::OrbitManipulator 52 52 { 53 #include <leakDetection.h> 53 54 public: 54 55 /** -
osgVisual/include/object/object_updater.h
r32 r88 40 40 class object_updater : public osg::Node 41 41 { 42 #include <leakDetection.h> 42 43 public: 43 44 /** -
osgVisual/include/object/visual_object.h
r55 r88 68 68 class visual_object : public osg::MatrixTransform 69 69 { 70 #include <leakDetection.h> 70 71 public: 71 72 /** -
osgVisual/include/sky_Silverlining/skySilverLining_AtmosphereReference.h
r32 r88 37 37 class skySilverLining_atmosphereReference : public osg::Referenced 38 38 { 39 #include <leakDetection.h> 39 40 public: 40 41 /** -
osgVisual/include/sky_Silverlining/skySilverLining_ProjectionMatrixCallback.h
r87 r88 42 42 class skySilverLining_projectionMatrixCallback : public osg::CullSettings::ClampProjectionMatrixCallback 43 43 { 44 #include <leakDetection.h> 44 45 public: 45 46 /** -
osgVisual/include/sky_Silverlining/skySilverLining_cloudsDrawable.h
r32 r88 37 37 class skySilverLining_cloudsDrawable : public osg::Drawable 38 38 { 39 #include <leakDetection.h> 39 40 public: 40 41 /** -
osgVisual/include/sky_Silverlining/skySilverLining_skyDrawable.h
r53 r88 41 41 class skySilverLining_skyDrawable : public osg::Drawable 42 42 { 43 #include <leakDetection.h> 43 44 public: 44 45 skySilverLining_skyDrawable(); -
osgVisual/include/sky_Silverlining/skySilverlining_cloudLayerSlot.h
r32 r88 34 34 class cloudLayerSlot 35 35 { 36 #include <leakDetection.h> 36 37 public: 37 38 /** -
osgVisual/include/sky_Silverlining/visual_skySilverLining.h
r70 r88 56 56 class visual_skySilverLining : public osg::Geode 57 57 { 58 #include <leakDetection.h> 58 59 public: 59 60 /** -
osgVisual/include/util/visual_util.h
r32 r88 55 55 class util 56 56 { 57 #include <leakDetection.h> 57 58 public: 58 59 /** -
osgVisual/src/cluster/dataIO_clusterENet.cpp
r87 r88 22 22 { 23 23 OSG_NOTIFY( osg::ALWAYS ) << "clusterENet constructed" << std::endl; 24 #include <leakDetection.h>25 24 26 25 serverToConnect = "unknown"; -
osgVisual/src/cluster/dataIO_clusterENet_implementation.cpp
r87 r88 25 25 { 26 26 std::cout << "Instantiated server class# "<< activeENetInstances << std::endl; 27 #include <leakDetection.h> 27 28 28 enetInitialized = false; 29 29 host = NULL; -
osgVisual/src/core/osgVisual.cpp
r87 r88 26 26 #endif 27 27 28 28 29 //#include <windows.h> 29 30 … … 42 43 #ifdef _DEBUG 43 44 #ifdef WIN32 44 #include <leakDetection.h> // ugly but must be included inside the class 45 45 #include <leakDetection.h> // for main: must be inside function. In classes: headerfile inside calss is sufficient 46 46 int tmp_flag; 47 47 … … 55 55 _CRTDBG_MODE_DEBUG); 56 56 57 // output to the file if not under VS57 // output to the file 58 58 _CrtSetReportFile(_CRT_ASSERT, log_file); 59 59 _CrtSetReportFile(_CRT_WARN, log_file); -
osgVisual/src/core/visual_core.cpp
r87 r88 23 23 { 24 24 OSG_NOTIFY( osg::ALWAYS ) << "visual_core instantiated." << std::endl; 25 #include <leakDetection.h>26 25 } 27 26 … … 49 48 50 49 // Test memory leak (todo) 51 //double* test = new double[1000];50 double* test = new double[1000]; 52 51 53 52 #ifdef USE_SPACENAVIGATOR -
osgVisual/src/dataIO/visual_dataIO.cpp
r87 r88 22 22 { 23 23 OSG_NOTIFY( osg::ALWAYS ) << "visual_dataIO constructed" << std::endl; 24 #include <leakDetection.h> 24 25 25 initialized = false; 26 26 } -
osgVisual/src/distortion/visual_distortion.cpp
r87 r88 22 22 { 23 23 OSG_NOTIFY (osg::ALWAYS ) << "visual_distortion instantiated." << std::endl; 24 #include <leakDetection.h>25 24 26 25 initialized = false; -
osgVisual/src/draw2D/visual_debug_hud.cpp
r87 r88 21 21 visual_debug_hud::visual_debug_hud(void) 22 22 { 23 #include <leakDetection.h>24 23 } 25 24 -
osgVisual/src/draw2D/visual_draw2D.cpp
r87 r88 22 22 { 23 23 OSG_NOTIFY( osg::ALWAYS ) << "visual_draw2D constructed" << std::endl; 24 #include <leakDetection.h>25 24 initialized = false; 26 25 } -
osgVisual/src/draw2D/visual_hud.cpp
r87 r88 21 21 visual_hud::visual_hud(void) 22 22 { 23 #include <leakDetection.h>24 23 } 25 24 -
osgVisual/src/draw3D/visual_draw3D.cpp
r87 r88 21 21 visual_draw3D::visual_draw3D(void) 22 22 { 23 #include <leakDetection.h>24 23 } 25 24 -
osgVisual/src/extLink/dataIO_extLinkVCL.cpp
r87 r88 24 24 { 25 25 OSG_NOTIFY( osg::ALWAYS ) << "extLinkVCL constructed" << std::endl; 26 #include <leakDetection.h>27 26 } 28 27 -
osgVisual/src/extLink/manip_extLink.cpp
r87 r88 24 24 extLinkManipulator::extLinkManipulator() 25 25 { 26 #include <leakDetection.h>27 26 } 28 27 -
osgVisual/src/manip_ObjectMounted/manip_objectMounted.cpp
r87 r88 25 25 objectMountedManipulator::objectMountedManipulator() 26 26 { 27 #include <leakDetection.h>28 27 } 29 28 -
osgVisual/src/manip_Spacemouse/manip_freeSpaceMouse.cpp
r87 r88 25 25 FreeManipulator::FreeManipulator(SpaceMouse* spacemouse) : _spaceMouse(spacemouse) 26 26 { 27 #include <leakDetection.h>28 27 } 29 28 -
osgVisual/src/manip_Spacemouse/manip_nodeTrackerSpaceMouse.cpp
r87 r88 25 25 NodeTrackerSpaceMouse::NodeTrackerSpaceMouse(SpaceMouse* spacemouse) : _spaceMouse(spacemouse) 26 26 { 27 #include <leakDetection.h>28 27 _trackerMode = NODE_CENTER_AND_ROTATION; 29 28 _rotationMode = TRACKBALL; -
osgVisual/src/manip_Spacemouse/manip_spaceMouse.cpp
r87 r88 168 168 SpaceMouse::SpaceMouse() : _spaceMouseImpl(new SpaceMouseImpl) 169 169 { 170 #include <leakDetection.h>171 170 } 172 171 -
osgVisual/src/object/object_updater.cpp
r87 r88 21 21 object_updater::object_updater(osgVisual::visual_object* object_ ) 22 22 { 23 #include <leakDetection.h>24 23 } 25 24 -
osgVisual/src/object/visual_object.cpp
r87 r88 21 21 visual_object::visual_object( osg::CoordinateSystemNode* sceneRoot_, std::string nodeName_) 22 22 { 23 #include <leakDetection.h>24 25 23 // Add this node to Scenegraph 26 24 sceneRoot_->addChild( this ); -
osgVisual/src/sky_Silverlining/skySilverLining_cloudsDrawable.cpp
r87 r88 33 33 : osg::Drawable() 34 34 { 35 #include <leakDetection.h>36 35 setDataVariance(osg::Object::DYNAMIC); 37 36 setUseVertexBufferObjects(false); -
osgVisual/src/sky_Silverlining/skySilverLining_skyDrawable.cpp
r87 r88 36 36 , _skyboxSize(0) 37 37 { 38 #include <leakDetection.h>39 40 38 setDataVariance(osg::Object::DYNAMIC); 41 39 setUseVertexBufferObjects(false); -
osgVisual/src/sky_Silverlining/visual_skySilverLining.cpp
r87 r88 22 22 { 23 23 OSG_NOTIFY( osg::ALWAYS ) << "Initialize visual_skySilverlining..." << std::endl; 24 #include <leakDetection.h>25 24 26 25 atmosphereInitialized = false;
Note: See TracChangeset
for help on using the changeset viewer.