Changeset 2123 for GTP/trunk/Lib/Vis/OnlineCullingCHC/ObjReader/include
- Timestamp:
- 02/17/07 22:48:12 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/ObjReader/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/ObjReader/include/ObjManualMeshLoader.h
r2111 r2123 2 2 #define __ObjManualMeshLoader_H__ 3 3 4 #include "Ogre.h" 4 5 5 #include "Ogre.h" 6 #include "ObjMeshData.h" 7 6 namespace GtpVisibilityPreprocessor { 7 class BvhLeaf; 8 } 8 9 9 10 class __declspec(dllexport) ObjManualMeshLoader: public Ogre::ManualResourceLoader 10 11 { 11 public: 12 ObjManualMeshLoader(); 13 ObjManualMeshLoader(ObjMeshData *mData); 14 ~ObjManualMeshLoader(); 12 public: 13 ObjManualMeshLoader(GtpVisibilityPreprocessor::BvhLeaf *obj); 14 ~ObjManualMeshLoader(); 15 15 16 16 void loadResource(Ogre::Resource *resource); 17 17 18 Ogre::AxisAlignedBox *getBoundingBox(); 19 private: 20 ObjMeshData *data; 18 protected: 21 19 20 GtpVisibilityPreprocessor::BvhLeaf *mObject; 22 21 }; 23 22 -
GTP/trunk/Lib/Vis/OnlineCullingCHC/ObjReader/include/ObjReader.h
r2122 r2123 7 7 #include "Containers.h" 8 8 9 namespace GtpVisibilityPreprocessor { 10 class Intersectable; 11 } 9 12 10 13 class __declspec(dllexport) ObjReader … … 14 17 ~ObjReader(); 15 18 16 bool LoadFile(const st ring &sceneName,17 const st ring &visibilitySolution,19 bool LoadFile(const std::string &sceneName, 20 const std::string &visibilitySolution, 18 21 Ogre::SceneNode *root); 19 22 void dummy(); 23 Ogre::Entity * dummy2(const std::string &name, 24 GtpVisibilityPreprocessor::Intersectable *object); 20 25 Ogre::Entity *CreateEntity(const std::string &name, 21 26 GtpVisibilityPreprocessor::Intersectable *object); … … 25 30 26 31 Ogre::SceneManager *mSceneManager; 32 GtpVisibilityPreprocessor::ObjectContainer mPvsObjects; 27 33 }; 28 34
Note: See TracChangeset
for help on using the changeset viewer.