Revision 2176,
1.0 KB
checked in by mattausch, 18 years ago
(diff) |
removed using namespace std from .h
|
Line | |
---|
1 | #ifndef __PVSDEFINITIONS_H
|
---|
2 | #define __PVSDEFINITIONS_H
|
---|
3 |
|
---|
4 | #include "common.h"
|
---|
5 | #include <math.h>
|
---|
6 |
|
---|
7 | ////////////
|
---|
8 | //-- typedefs
|
---|
9 |
|
---|
10 | #ifdef USE_HASH_PVS
|
---|
11 |
|
---|
12 | //#include "HashPvs2.h"
|
---|
13 | #include "HashPvs.h"
|
---|
14 |
|
---|
15 | #define PVS_TYPE 0
|
---|
16 |
|
---|
17 | namespace GtpVisibilityPreprocessor {
|
---|
18 | typedef HashPvs<Intersectable *, PvsData> DefaultPvs;
|
---|
19 | typedef HashPvsIterator<Intersectable *, PvsData> ObjectPvsIterator;
|
---|
20 | }
|
---|
21 | #else
|
---|
22 | #ifdef USE_BIT_PVS
|
---|
23 |
|
---|
24 | #include "BitVectorPvs.h"
|
---|
25 |
|
---|
26 | #define PVS_TYPE 2
|
---|
27 |
|
---|
28 | namespace GtpVisibilityPreprocessor {
|
---|
29 | typedef BitVectorPvs<Intersectable *, PvsData> DefaultPvs;
|
---|
30 | typedef BitVectorPvsIterator<Intersectable *, PvsData> ObjectPvsIterator;
|
---|
31 | }
|
---|
32 |
|
---|
33 | #else
|
---|
34 |
|
---|
35 | //#ifdef USE_VERBOSE_PVS
|
---|
36 | #include "Pvs.h"
|
---|
37 |
|
---|
38 | #define PVS_TYPE 1
|
---|
39 |
|
---|
40 | namespace GtpVisibilityPreprocessor {
|
---|
41 | typedef VerbosePvs<Intersectable *, PvsData> DefaultPvs;
|
---|
42 | typedef PvsIterator<Intersectable *, PvsData> ObjectPvsIterator;
|
---|
43 | }
|
---|
44 | #endif
|
---|
45 | #endif
|
---|
46 |
|
---|
47 | namespace GtpVisibilityPreprocessor {
|
---|
48 |
|
---|
49 | typedef PvsEntry<Intersectable *, PvsData> ObjectPvsEntry;
|
---|
50 |
|
---|
51 | }
|
---|
52 |
|
---|
53 |
|
---|
54 | #endif
|
---|
55 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.