Changeset 1056 for GTP/trunk/Lib/Geom
- Timestamp:
- 06/26/06 11:42:59 (19 years ago)
- Location:
- GTP/trunk/Lib/Geom/shared/GTGeometry
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/GTGeometry.vcproj
r1026 r1056 360 360 </File> 361 361 <File 362 RelativePath=".\include\GeoLodObject.h"> 363 </File> 364 <File 362 365 RelativePath=".\include\GeoLodStripsConstructor.h"> 363 366 </File> -
GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoLodStripsLibrary.h
r1018 r1056 17 17 #include <time.h> 18 18 #include "VertexData.h" 19 #include "GeoLodObject.h" 19 20 20 21 namespace Geometry … … 70 71 71 72 */ 72 class LodStripsLibrary 73 class LodStripsLibrary : public Geometry::LodObject 73 74 { 74 75 private: … … 157 158 158 159 /// Returns de current LOD and changes to the specified LOD. 159 uint32 GoToLod(uint32);160 virtual uint32 GoToLod(uint32); 160 161 161 162 /// Establishes the new LOD range. -
GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoLodTreeLibrary.h
r1019 r1056 8 8 #include "GeoMesh.h" 9 9 #include "GeoLodStripsLibrary.h" 10 #include "GeoLodObject.h" 10 11 11 12 class Arbol; … … 17 18 class IndexData; 18 19 class VertexData; 19 class LodTreeLibrary 20 class LodTreeLibrary : public Geometry::LodObject 20 21 { 21 22 public: … … 34 35 CREATEMULTIINDEXDATAFUNC midfun=NULL*/); // throws a FileNotFound exception 35 36 ~LodTreeLibrary(void); 36 uint32 GetUniqueID(void) const { return uniqueID; }37 37 38 38 // funciones ya descritas en la API … … 43 43 uint32 MinFoliageLod(void) const; 44 44 uint32 MaxFoliageLod(void) const; 45 46 // changes the lod of the entire object (trunk and leaves) 47 virtual uint32 GoToLod(uint32); 45 48 46 49 // new proposed functions … … 65 68 66 69 private: 67 uint32 uniqueID;68 70 Geometry::LodStripsLibrary *trunk; 69 71 Arbol *arbol; -
GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoLodTreeLibrary.cpp
r1019 r1056 5 5 6 6 using namespace Geometry; 7 8 uint32 uniqueIDgen = 0;9 7 10 8 Geometry::LodTreeLibrary::LodTreeLibrary(std::string trunkSimpSeqFile, … … 20 18 CREATEMULTIINDEXDATAFUNC midfun*/) 21 19 { 22 uniqueID = uniqueIDgen++;23 24 20 // Cargar el tronco 25 21 trunk = new LodStripsLibrary(trunkSimpSeqFile,treeGeoMesh);
Note: See TracChangeset
for help on using the changeset viewer.