Revision 2582,
1010 bytes
checked in by bittner, 17 years ago
(diff) |
Havran Ray Caster compiles and links, but still does not work
|
Line | |
---|
1 | // =================================================================== |
---|
2 | // $Id: subdivm.h $ |
---|
3 | // |
---|
4 | // subdvim.h |
---|
5 | // definition of subdivision modes for KD-trees |
---|
6 | // |
---|
7 | // Class: |
---|
8 | // |
---|
9 | // REPLACEMENT_STRING |
---|
10 | // |
---|
11 | // Copyright by Vlastimil Havran, 2007 - email to "vhavran AT seznam.cz" |
---|
12 | // Initial coding by Vlasta Havran, 1999 |
---|
13 | |
---|
14 | #ifndef __SUBDIVM_H__ |
---|
15 | #define __SUBDIVM_H__ |
---|
16 | |
---|
17 | // GOLEM headers |
---|
18 | #include "configh.h" |
---|
19 | |
---|
20 | namespace GtpVisibilityPreprocessor { |
---|
21 | |
---|
22 | // ------------------------------------------------------------------ |
---|
23 | // The enumeration of subdivision modes for termination criteria |
---|
24 | // when the KD-tree construction should be stopped |
---|
25 | enum ESubdivMode |
---|
26 | { |
---|
27 | // the termination criteria used at present |
---|
28 | EE_SUBDIVADHOC = 0, // ad-hoc termination criteria are used, maximum height |
---|
29 | // and the number of objects in leaves |
---|
30 | EE_SUBDIVCUTEMPTY = 1, // late cutting off empty space in leaves is performed |
---|
31 | EE_SUBDIVAUTOMATIC = 2, // automatic termination criteria are used |
---|
32 | }; |
---|
33 | |
---|
34 | } |
---|
35 | |
---|
36 | #endif // __SUBDIVM_H__ |
---|
Note: See
TracBrowser
for help on using the repository browser.