Ignore:
Timestamp:
Nov 1, 2010, 6:24:56 PM (14 years ago)
Author:
Torben Dannhauer
Message:

start to move osgVisual from argument based configuratiobn to xml file based configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/include/util/visual_util.h

    r88 r144  
    1818#include <string.h>
    1919#include <iostream>
    20 
     20#include <libxml/parser.h>
     21#include <libxml/tree.h>
    2122
    2223#include <osg/Node>
     
    2728
    2829#include <osgViewer/Viewer>
     30
     31#include <OpenThreads/ReentrantMutex>
     32
     33#include <osgUtil/LineSegmentIntersector>
    2934
    3035#ifdef FUNFUNCTIONS_ENABLED
     
    3641#endif
    3742
    38 #include <OpenThreads/ReentrantMutex>
    39 
    40 #include <osgUtil/LineSegmentIntersector>
     43
    4144
    4245namespace osgVisual
     
    216219         */
    217220        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
     226private:
     227        static xmlNode* checkXMLNodeChildrenForModule(xmlNode* node, std::string moduleName);
    218228};
    219229
Note: See TracChangeset for help on using the changeset viewer.