- Timestamp:
- 06/26/06 12:37:41 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/src/libs/leaves/foliage.h
r1019 r1057 2 2 #define FOLIAGE_H 3 3 4 5 #include "Activas.h"6 4 #include "GeoSubMesh.h" 7 5 #include "tlista.h" … … 10 8 #include "Leaf.h" 11 9 10 class ActiveLeafNode 11 { 12 public : 13 // Variable members 14 int index;// Array of pointers to vertices 15 int prev; 16 int next; 17 18 ActiveLeafNode (void){ index = prev = next = -1; } // Constructor 19 }; 20 12 21 class Foliage 13 22 { 14 23 public : 15 24 16 Activ as *Acth; // primera hoja activa25 ActiveLeafNode *Acth; // first active leaf 17 26 int ppio, final; 18 27 int nhactivas; … … 26 35 void Culling (float frustum[6][4]); 27 36 bool LeafinFrustum ( int i, float frustum[6][4]); 28 29 // resolucion variable 30 bool EsActivo ( int num); 31 int DondeEsta ( float x, float y, float z, float rva, float rvb,float rvc, float rvd); 32 bool Criterio ( Leaf &, char ch, float rva, float rvb,float rvc, float rvd, float radio); 37 38 bool IsActive( int num) const; 33 39 int ResolucionV ( char c, float rva, float rvb,float rvc, float rvd, float radio); 34 40 void ColapsaHoja (int, int&); 35 bool Forzar_Colapse (int hoja, int &hpost, char ch, float rva, float rvb,float rvc, float rvd, float radio);36 41 void SplitHoja (int, int&); 37 int Chequea_Split(int, char, float rva, float rvb,float rvc, float rvd, float radio);38 42 bool Forzar_Split(int, int, int&); 39 43 int AnteriorActivo (int h); … … 51 55 52 56 Leaf *Leaves; 53 Activ as*MinDet; // primera hoja activa57 ActiveLeafNode *MinDet; // primera hoja activa 54 58 int nHojas; 55 59 int TotHojas;
Note: See TracChangeset
for help on using the changeset viewer.