source: GTP/trunk/Lib/Vis/Preprocessing/src/PvsDefinitions.h @ 2176

Revision 2176, 1.0 KB checked in by mattausch, 17 years ago (diff)

removed using namespace std from .h

RevLine 
[2116]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
[2176]12        //#include "HashPvs2.h"
[2122]13        #include "HashPvs.h"
[2116]14
[2122]15        #define PVS_TYPE 0
[2116]16
[2122]17        namespace GtpVisibilityPreprocessor {
18                typedef HashPvs<Intersectable *, PvsData> DefaultPvs;
19                typedef HashPvsIterator<Intersectable *, PvsData> ObjectPvsIterator;
20        }
21#else
22        #ifdef USE_BIT_PVS
[2116]23
[2122]24                #include "BitVectorPvs.h"
[2116]25
[2122]26                #define PVS_TYPE 2
[2117]27
[2122]28                namespace GtpVisibilityPreprocessor {
29                        typedef BitVectorPvs<Intersectable *, PvsData> DefaultPvs;
30                        typedef BitVectorPvsIterator<Intersectable *, PvsData> ObjectPvsIterator;
31                }
[2116]32
[2122]33        #else
[2116]34
[2122]35                //#ifdef USE_VERBOSE_PVS
36                #include "Pvs.h"
[2116]37
[2122]38                #define PVS_TYPE 1
[2117]39
[2122]40                namespace GtpVisibilityPreprocessor {
41                        typedef VerbosePvs<Intersectable *, PvsData> DefaultPvs;
42                        typedef PvsIterator<Intersectable *, PvsData> ObjectPvsIterator;
43                }
44        #endif
[2117]45#endif
46
47namespace GtpVisibilityPreprocessor {
48
[2116]49typedef PvsEntry<Intersectable *, PvsData> ObjectPvsEntry;
50
51}
52
53
54#endif
55
Note: See TracBrowser for help on using the repository browser.