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

Revision 2115, 780 bytes checked in by mattausch, 17 years ago (diff)

changed pvs loading: loading objects in a first pass

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>
[2112]8#include "Containers.h"
[2111]9/*#include "ObjNode.h"
[2110]10#include "ObjMeshData.h"
11#include "ObjManualMeshLoader.h"
[2111]12*/
[2109]13
14
[2111]15namespace GtpVisibilityPreprocessor {
[2109]16
[2111]17struct Triangle3;
[2109]18
[2111]19}
[2109]20
[2112]21//typedef std::vector<GtpVisibilityPreprocessor::Triangle3 *> TriangleContainer;
[2109]22
[2111]23class __declspec(dllexport) ObjReader
[2109]24{
[2111]25public:
26        ObjReader();
27        ~ObjReader();
[2109]28
[2111]29        bool LoadFile(const std::string &filename,
[2112]30                                  GtpVisibilityPreprocessor::ObjectContainer &objects) const;
[2111]31       
32        const std::vector<Ogre::Entity *> &GetObjects() const;
[2115]33       
34        Ogre::Entity *CreateEntity(const std::string &name);
[2109]35
[2111]36protected:
[2109]37
[2111]38        std::vector<Ogre::Entity *> mObjects;
[2109]39};
40
41#endif
Note: See TracBrowser for help on using the repository browser.