Ignore:
Timestamp:
08/12/05 18:42:20 (19 years ago)
Author:
mattausch
Message:

added bsp stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.h

    r236 r237  
    145145        void SplitPolygons(PolygonQueue *polys, PolygonQueue *frontPolys, PolygonQueue *backPolys, int &splits); 
    146146 
     147        friend ostream &operator<<(ostream &s, const BspInterior &A) 
     148        { 
     149                return s << A.mPlane; 
     150        } 
     151 
     152 
    147153protected: 
    148154         
     
    155161}; 
    156162 
    157  
    158 /** BSP leaf node implementation */ 
     163/** BSP leaf node implementation. 
     164*/ 
    159165class BspLeaf : public BspNode  
    160166{ 
     
    276282        /// Pointer to the root of the tree 
    277283        BspNode *mRoot; 
     284 
    278285        /// Pointer to the root cell of the viewspace 
    279286        // ViewCell *mRootCell; 
    280          
    281          
     287                 
    282288        BspTreeStatistics mStat; 
    283289 
     
    286292        int mTermMaxDepth; 
    287293 
     294        /// Strategies for choosing next split plane. 
    288295        enum {NEXT_POLYGON, LEAST_SPLITS}; 
    289296 
Note: See TracChangeset for help on using the changeset viewer.