#ifndef __ObjReader_H__ #define __ObjReader_H__ //#include #include #include #include #include "Containers.h" /*#include "ObjNode.h" #include "ObjMeshData.h" #include "ObjManualMeshLoader.h" */ namespace GtpVisibilityPreprocessor { struct Triangle3; } //typedef std::vector TriangleContainer; class __declspec(dllexport) ObjReader { public: ObjReader(); ~ObjReader(); bool LoadFile(const std::string &filename, GtpVisibilityPreprocessor::ObjectContainer &objects) const; const std::vector &GetObjects() const; Ogre::Entity *CreateEntity(const std::string &name); protected: std::vector mObjects; }; #endif