|
#ifndef OAGPARSER_H
#define OAGPARSER_H
#include "..\..\include\SceneMapping\OAGSceneObject.h"
#include "..\..\include\Texture\OAGTexture.h"
#include "..\..\..\ObjectMappingTable\include\ObjectsMappingTable.h"
namespace oag
{
class OAGParser
{
public:
OAGParser(void);
~OAGParser(void);
//Attributes]
private:
std::string m_strFileName;
public:
std::vector<oag::OAGSceneObject*> m_sceneList;
public:
std::string GetExtension (const std::string& pFile);
void LoadFile( std::string strFileName, oag::ObjectsMappingTable* pObjMapTable );
void SaveFile( std::string strFileName, oag::OAGSceneObject* pScene );
void SaveAllScenes( std::string strFileName, std::vector<oag::OAGSceneObject*> &sceneList, oag::ObjectsMappingTable* pObjMapTable);
void LoadTextureFiltersAndWrapers(oag::OAGTexture* pTexture, CXmlNode* pNode);
private:
oag::OAGObject* CreateObject(CXmlNode* pNode, oag::OAGSceneObject* pScene);
};
};
#endif
|
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.
I live in Matão, a small city in Brazil. I studied as Programmer in a College for Software Development in Database.
After finishing the College I have been working with java, c# and Computer Graphics with searches for OpenGL.