Ignore:
Timestamp:
05/01/06 00:08:09 (18 years ago)
Author:
mattausch
Message:

fitting objects to bb, debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreVisibilityOctreeSceneManager.h

    r865 r868  
    1111#include "OgrePlatformQueryManager.h" 
    1212#include "VisibilityManager.h" 
     13#include "ViewCellsManager.h" 
     14 
     15//class GtpVisibilityPreprocessor::ViewCellsManager; 
    1316 
    1417 
     
    98101        void loadVisibilityConfig(const String& filename); 
    99102 
     103 
     104        /** Loads view cells for this particular scene. 
     105        */ 
     106        void LoadViewCells(std::string filename); 
     107 
    100108protected: 
    101109         
     
    113121        void InitVisibilityCulling(Camera *cam); 
    114122         
     123        /** Finds object corresponding to this bounding box in the scene. 
     124        */ 
     125        MovableObject *FindCorrespondingObject(const AxisAlignedBox &box); 
    115126 
     127        /** Identifies objects in the scene and gives them unique ids that 
     128                correspond to preprocessor ids. 
     129        */ 
     130        void IdentifyObjects(GtpVisibilityPreprocessor::ObjectContainer &objects); 
    116131 
    117132        /// the interface to the scene hierarchy. 
     
    163178        bool mExecuteVertexProgramForAllPasses; 
    164179 
     180        /// if hierarchical culling is currently in use 
    165181        bool mIsHierarchicalCulling; 
    166182 
    167         std::ofstream mDummyLog; 
     183        bool mViewCellsLoaded; 
     184        GtpVisibilityPreprocessor::ViewCellsManager *mViewCellsManager; 
    168185}; 
    169186 
Note: See TracChangeset for help on using the changeset viewer.