Changeset 2119 for GTP/trunk/Lib/Vis/OnlineCullingCHC/ObjReader/include
- Timestamp:
- 02/15/07 14:45:30 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/ObjReader/include/ObjReader.h
r2115 r2119 2 2 #define __ObjReader_H__ 3 3 4 //#include <stdlib>5 4 #include <string> 6 5 #include <vector> 7 6 #include <Ogre.h> 8 7 #include "Containers.h" 9 /*#include "ObjNode.h"10 #include "ObjMeshData.h"11 #include "ObjManualMeshLoader.h"12 */13 8 14 15 namespace GtpVisibilityPreprocessor {16 17 struct Triangle3;18 19 }20 21 //typedef std::vector<GtpVisibilityPreprocessor::Triangle3 *> TriangleContainer;22 9 23 10 class __declspec(dllexport) ObjReader 24 11 { 25 12 public: 26 ObjReader( );13 ObjReader(Ogre::SceneManager *sceneManager); 27 14 ~ObjReader(); 28 15 29 bool LoadFile(const std::string &filename, 30 GtpVisibilityPreprocessor::ObjectContainer &objects) const; 16 bool LoadFile(const string &sceneName, 17 const string &visibilitySolution, 18 Ogre::SceneNode *root); 31 19 32 const std::vector<Ogre::Entity *> &GetObjects() const; 33 34 Ogre::Entity *CreateEntity(const std::string &name); 20 Ogre::Entity *CreateEntity(const std::string &name, 21 GtpVisibilityPreprocessor::Intersectable *object); 35 22 36 23 protected: 37 24 38 std::vector<Ogre::Entity *> mObjects;25 Ogre::SceneManager *mSceneManager; 39 26 }; 40 27
Note: See TracChangeset
for help on using the changeset viewer.