Ignore:
Timestamp:
05/02/06 10:26:43 (19 years ago)
Author:
mattausch
Message:

added pvs

Location:
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include
Files:
1 added
1 edited

Legend:

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

    r868 r870  
    123123        /** Finds object corresponding to this bounding box in the scene. 
    124124        */ 
    125         MovableObject *FindCorrespondingObject(const AxisAlignedBox &box); 
     125        Entity *FindCorrespondingObject(const AxisAlignedBox &box); 
    126126 
    127127        /** Identifies objects in the scene and gives them unique ids that 
     
    129129        */ 
    130130        void IdentifyObjects(GtpVisibilityPreprocessor::ObjectContainer &objects); 
     131 
     132        /** Loads / unloads pvs of the view cell to set the visibility in the scene. 
     133        */ 
     134        void applyViewCellPvs(GtpVisibilityPreprocessor::ViewCell *vc, const bool load); 
     135 
     136        /** updates pvs in current frame. 
     137        */ 
     138        void updatePvs(Camera *cam); 
     139 
     140        /** Sets all objects invisible. 
     141        */ 
     142        void SetObjectsVisible(const bool visible); 
    131143 
    132144        /// the interface to the scene hierarchy. 
     
    183195        bool mViewCellsLoaded; 
    184196        GtpVisibilityPreprocessor::ViewCellsManager *mViewCellsManager; 
     197 
     198        /** Used to assign Ogre meshes to view cell entries. 
     199        */ 
     200        GtpVisibilityPreprocessor::ObjectContainer mObjects; 
     201 
     202        GtpVisibilityPreprocessor::ViewCell *mOldViewCell; 
     203        GtpVisibilityPreprocessor::ViewCell *mCurrentViewCell; 
     204 
     205        /** If view cells are used. 
     206        */ 
     207        bool mUseViewCells; 
    185208}; 
    186209 
Note: See TracChangeset for help on using the changeset viewer.