Ignore:
Timestamp:
02/15/07 13:19:17 (17 years ago)
Author:
mattausch
Message:

implemented bit pvs (warnin: only worjs for preprocessing)

File:
1 edited

Legend:

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

    r2116 r2117  
    1212#include "HashPvs.h" 
    1313 
    14 #define HASH_PVS 1 
     14#define PVS_TYPE 0 
    1515 
    1616namespace GtpVisibilityPreprocessor { 
     
    1919} 
    2020 
    21 #else 
     21#endif 
     22 
     23#ifdef USE_VERBOSE_PVS 
    2224 
    2325#include "Pvs.h" 
    2426 
    25 #define HASH_PVS 0 
     27#define PVS_TYPE 1 
    2628 
    2729namespace GtpVisibilityPreprocessor { 
     
    2931typedef PvsIterator<Intersectable *, PvsData> ObjectPvsIterator; 
    3032} 
     33#endif 
     34 
     35 
     36#ifdef USE_BIT_PVS 
     37 
     38#include "BitVectorPvs.h" 
     39 
     40#define PVS_TYPE 2 
     41 
     42namespace GtpVisibilityPreprocessor { 
     43typedef BitVectorPvs<Intersectable *, PvsData> DefaultPvs; 
     44typedef BitVectorPvsIterator<Intersectable *, PvsData> ObjectPvsIterator; 
     45} 
     46 
    3147#endif 
    3248 
Note: See TracChangeset for help on using the changeset viewer.