source: GTP/trunk/Lib/Vis/OnlineCullingCHC/ObjReader/include/ObjReader.h @ 2111

Revision 2111, 672 bytes checked in by mattausch, 17 years ago (diff)
RevLine 
[2111]1#ifndef __ObjReader_H__
2#define __ObjReader_H__
[2109]3
[2111]4//#include <stdlib>
5#include <string>
6#include <vector>
7#include <Ogre.h>
8/*#include "ObjNode.h"
[2110]9#include "ObjMeshData.h"
10#include "ObjManualMeshLoader.h"
[2111]11*/
[2109]12
13
[2111]14namespace GtpVisibilityPreprocessor {
[2109]15
[2111]16struct Triangle3;
[2109]17
[2111]18}
[2109]19
[2111]20typedef std::vector<GtpVisibilityPreprocessor::Triangle3 *> TriangleContainer;
[2109]21
[2111]22class __declspec(dllexport) ObjReader
[2109]23{
[2111]24public:
25        ObjReader();
26        ~ObjReader();
[2109]27
[2111]28        bool LoadFile(const std::string &filename,
29                                  TriangleContainer &triangles) const;
30       
31        const std::vector<Ogre::Entity *> &GetObjects() const;
[2109]32
[2111]33protected:
[2109]34
[2111]35        std::vector<Ogre::Entity *> mObjects;
[2109]36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.