Ignore:
Timestamp:
09/14/06 18:55:38 (18 years ago)
Author:
mattausch
Message:

debugged global sorting, worked on object-viewspace subdivision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.h

    r1329 r1370  
    166166        }; 
    167167 
     168        enum  
     169        { 
     170                NO_VIEWSPACE_SUBDIV, 
     171                KD_BASED_VIEWSPACE_SUBDIV 
     172        }; 
     173 
    168174        /** The type of object space subdivison 
    169175        */ 
    170         int GetObjectSpaceSubdivisionType() const 
    171         { 
    172                 return mObjectSpaceSubdivisionType; 
    173         } 
    174                  
     176        int GetObjectSpaceSubdivisionType() const;       
     177        /** The type of view space space subdivison 
     178        */ 
     179        int GetViewSpaceSubdivisionType() const; 
     180        /** Sets a pointer to the view cells manager. 
     181        */               
    175182        void SetViewCellsManager(ViewCellsManager *vcm); 
    176  
     183        /** Sets a pointer to the view cells tree. 
     184        */ 
    177185        void SetViewCellsTree(ViewCellsTree *vcTree); 
    178  
     186        /** Exports the object hierarchy to disc. 
     187        */ 
    179188        void ExportObjectSpaceHierarchy(OUT_STREAM &stream); 
    180  
     189        /** Adds a sample to the pvs of the specified view cell. 
     190        */ 
    181191        bool AddSampleToPvs( 
    182192                Intersectable *obj,  
     
    264274    void ResetQueue(); 
    265275 
     276        void FinishObjectSpaceSubdivision() const; 
     277 
     278        int GetObjectSpaceSubdivisionDepth() const; 
    266279 
    267280protected: 
     
    299312 
    300313        int mMinDepthForObjectSpaceSubdivion; 
     314        int mMinDepthForViewSpaceSubdivion; 
    301315 
    302316        int mTermMaxLeaves; 
     
    304318 
    305319        bool mRepairQueue; 
     320 
     321        bool mStartWithObjectSpace; 
    306322}; 
    307323 
Note: See TracChangeset for help on using the changeset viewer.