source:
GTP/trunk/Lib/Geom/shared/GTGeometry/include/leaf.h
@
1019
Revision 1019, 707 bytes checked in by gumbau, 18 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[1019] | 1 | #ifndef LEAF_H |
2 | #define LEAF_H | |
[774] | 3 | |
[1019] | 4 | class Leaf |
[774] | 5 | { |
6 | public : | |
[1019] | 7 | int vertsLeaf[4];// Array of pointers to vertices |
8 | float normal[3]; | |
9 | float parentLeafCount; | |
10 | float center[3]; | |
11 | int parent; | |
12 | int childLeft; | |
13 | int childRight; | |
[832] | 14 | int visible; |
[1019] | 15 | int root; |
[834] | 16 | |
[1019] | 17 | bool exists; |
18 | int leafNear; | |
[834] | 19 | float dist; |
[1019] | 20 | long int leafCop; |
[834] | 21 | float coplanar; |
[1019] | 22 | float criteria; |
23 | long int leafCrit; | |
[832] | 24 | |
[1019] | 25 | // Identifiers of the triangles forming this leaf |
26 | long int idTriangle[2]; | |
[834] | 27 | |
[774] | 28 | public : |
29 | // Constructors | |
[1019] | 30 | Leaf (void); // default constructor |
31 | Leaf (const Leaf&); // Copy constructor | |
32 | virtual ~Leaf (void); // Destructor | |
[832] | 33 | |
[1019] | 34 | float Distance (Leaf&); |
35 | float Coplanarity (Leaf&); | |
[774] | 36 | }; |
37 | ||
38 | #endif |
Note: See TracBrowser
for help on using the repository browser.