|
#ifndef XML_PARSER_H
#define XML_PARSER_H
#include <QObject>
#include <QDomElement>
#include <osg/Node>
class OSGScene;
class OSGElement;
class IOSGScene;
class XML_Parser : public QObject
{
Q_OBJECT
public:
explicit XML_Parser(QObject *parent = 0);
static IOSGScene *LoadXMLFile(QString filePath);
private:
static OSGElement* LoadElement(QDomElement domElemet, OSGScene *QtParent);
static void FirstPass(QDomElement domElemet, OSGScene *QtParent);
static void SecondPass(QDomElement domElemet, osg::Node *Parent, OSGScene *QtParent);
static void LoadScripts(QDomElement domElemet, OSGScene *QtParent);
static void initScripts(OSGScene *QtParent);
signals:
public slots:
};
#endif // XML_PARSER_H
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.