Ignore:
Timestamp:
02/17/07 22:48:12 (17 years ago)
Author:
mattausch
Message:

worded on obj loading in Ogre

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  
    22#define __ObjManualMeshLoader_H__ 
    33 
     4#include "Ogre.h" 
    45 
    5 #include "Ogre.h" 
    6 #include "ObjMeshData.h" 
    7  
     6namespace  GtpVisibilityPreprocessor { 
     7class BvhLeaf; 
     8} 
    89 
    910class __declspec(dllexport) ObjManualMeshLoader: public Ogre::ManualResourceLoader 
    1011{ 
    11         public: 
    12                 ObjManualMeshLoader(); 
    13                 ObjManualMeshLoader(ObjMeshData *mData); 
    14                 ~ObjManualMeshLoader();  
     12public: 
     13        ObjManualMeshLoader(GtpVisibilityPreprocessor::BvhLeaf *obj); 
     14        ~ObjManualMeshLoader();  
    1515 
    16                 void loadResource(Ogre::Resource *resource); 
     16        void loadResource(Ogre::Resource *resource); 
    1717 
    18                 Ogre::AxisAlignedBox *getBoundingBox(); 
    19         private: 
    20                 ObjMeshData *data; 
     18protected: 
    2119 
     20        GtpVisibilityPreprocessor::BvhLeaf *mObject; 
    2221}; 
    2322 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/ObjReader/include/ObjReader.h

    r2122 r2123  
    77#include "Containers.h" 
    88 
     9namespace  GtpVisibilityPreprocessor { 
     10class Intersectable; 
     11} 
    912 
    1013class __declspec(dllexport) ObjReader 
     
    1417        ~ObjReader(); 
    1518 
    16         bool LoadFile(const string &sceneName,  
    17                                   const string &visibilitySolution, 
     19        bool LoadFile(const std::string &sceneName,  
     20                                  const std::string &visibilitySolution, 
    1821                                  Ogre::SceneNode *root); 
    19          
     22        void dummy(); 
     23        Ogre::Entity * dummy2(const std::string &name, 
     24                                GtpVisibilityPreprocessor::Intersectable *object); 
    2025        Ogre::Entity *CreateEntity(const std::string &name, 
    2126                                                           GtpVisibilityPreprocessor::Intersectable *object); 
     
    2530 
    2631        Ogre::SceneManager *mSceneManager; 
     32        GtpVisibilityPreprocessor::ObjectContainer mPvsObjects; 
    2733}; 
    2834 
Note: See TracChangeset for help on using the changeset viewer.