Changeset 144 for osgVisual/include
- Timestamp:
- Nov 1, 2010, 6:24:56 PM (14 years ago)
- Location:
- osgVisual/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/include/core/visual_core.h
r129 r144 139 139 140 140 /** 141 * XML File valid?141 * XML configuration filename. 142 142 */ 143 bool configFileValid; 143 std::string configFilename; 144 144 145 145 146 #ifdef USE_SPACENAVIGATOR -
osgVisual/include/dataIO/visual_dataIO.h
r118 r144 145 145 static visual_dataIO* getInstance(); 146 146 147 void init(osgViewer::Viewer* viewer_,osg::ArgumentParser& arguments_ );147 void init(osgViewer::Viewer* viewer_,osg::ArgumentParser& arguments_, std::string configFileName); 148 148 void shutdown(); 149 149 bool isMaster(){if (clusterMode==osgVisual::dataIO_cluster::MASTER) return true; else return false;}; -
osgVisual/include/sky_Silverlining/visual_skySilverLining.h
r139 r144 65 65 * @param viewer_ : Pointer to the applications viewer 66 66 */ 67 visual_skySilverLining(osgViewer::Viewer* viewer_ );67 visual_skySilverLining(osgViewer::Viewer* viewer_, std::string configFileName); 68 68 69 69 /** -
osgVisual/include/util/visual_util.h
r88 r144 18 18 #include <string.h> 19 19 #include <iostream> 20 20 #include <libxml/parser.h> 21 #include <libxml/tree.h> 21 22 22 23 #include <osg/Node> … … 27 28 28 29 #include <osgViewer/Viewer> 30 31 #include <OpenThreads/ReentrantMutex> 32 33 #include <osgUtil/LineSegmentIntersector> 29 34 30 35 #ifdef FUNFUNCTIONS_ENABLED … … 36 41 #endif 37 42 38 #include <OpenThreads/ReentrantMutex> 39 40 #include <osgUtil/LineSegmentIntersector> 43 41 44 42 45 namespace osgVisual … … 216 219 */ 217 220 static bool setTransparentWindowBackground(osgViewer::Viewer* viewer_); 221 222 // Parses for the XML node of the specified module. The caller has to clean up if ret_value!=NULL, otherwise this function cleans up. 223 // nötige cleanup-Schritte: xmlFreeDoc(doc); xmlCleanupParser(); 224 static xmlNode* getModuleXMLConfig(std::string configFilename, std::string moduleName, xmlDoc*& doc); 225 226 private: 227 static xmlNode* checkXMLNodeChildrenForModule(xmlNode* node, std::string moduleName); 218 228 }; 219 229
Note: See TracChangeset
for help on using the changeset viewer.