Changeset 1058 for GTP/trunk/Lib/Geom/shared/GTGeometry/include
- Timestamp:
- 06/26/06 17:36:46 (19 years ago)
- Location:
- GTP/trunk/Lib/Geom/shared/GTGeometry/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoLodObject.h
r1056 r1058 12 12 } 13 13 uint32 GetUniqueID(void) const { return uniqueID; } 14 virtual uint32 GoToLod(uint32)=0;14 virtual void GoToLod(Real)=0; 15 15 16 16 private: -
GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoLodStripsLibrary.h
r1056 r1058 15 15 #include "GeoMesh.h" 16 16 #include <vector> 17 #include <time.h>18 17 #include "VertexData.h" 19 18 #include "GeoLodObject.h" … … 80 79 // Structures with the data read from the file 81 80 // We won't work with these structures 82 SmallIntVector 83 std::vector <LODRegisterType> 84 std::vector <SmallIntVector> 85 LongVector 81 SmallIntVector mFileVertices; 82 std::vector <LODRegisterType> mFileChangesLOD; 83 std::vector <SmallIntVector> mFileStrips; 84 LongVector mData; 86 85 87 86 // Structures with the data to work with … … 105 104 106 105 // For the efficient version. 107 SmallInt 108 SmallInt 109 SmallInt 106 SmallInt mTotalFaces; 107 SmallInt *mCurrentData; 108 SmallInt *mStripsChanges; 110 109 LODRegisterType *mCurrentRegLOD; 111 SmallInt *mVertex; 110 SmallInt *mVertex; 111 112 SmallInt minFaces, maxFaces; 112 113 113 114 // Changes of Strips in LOD file (p). … … 145 146 ~LodStripsLibrary(void); 146 147 147 /// Copy constructor148 //LodStripsLibrary(const LodStripsLibrary&);149 150 /// Assignment operator151 //LodStripsLibrary& operator =(const LodStripsLibrary&);152 153 148 /// Returns the highest LOD. 154 149 uint32 MaxLod(); … … 158 153 159 154 /// Returns de current LOD and changes to the specified LOD. 160 virtual uint32 GoToLod(uint32);155 virtual void GoToLod(Real); 161 156 162 157 /// Establishes the new LOD range. … … 175 170 /// Returns the number of vertices of the lowest LOD. 176 171 uint32 MinVertices(); 177 178 /* // (New) Get the number of strips.179 uint32 GetStripCount() const;180 uint32 GetIndexCountByStrip(uint32) const;*/181 172 }; 182 173 } -
GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoLodTreeLibrary.h
r1056 r1058 10 10 #include "GeoLodObject.h" 11 11 12 class Arbol;13 12 class Foliage; 14 class Point3D;15 13 16 14 namespace Geometry … … 37 35 38 36 // funciones ya descritas en la API 39 uint32 GoToTrunkLod(uint32 newlod);37 /* uint32 GoToTrunkLod(uint32 newlod); 40 38 uint32 MinTrunkLod(void) const; 41 39 uint32 MaxTrunkLod(void) const; 42 40 uint32 GoToFoliageLod(uint32 newlod); 43 41 uint32 MinFoliageLod(void) const; 44 uint32 MaxFoliageLod(void) const; 42 uint32 MaxFoliageLod(void) const;*/ 43 44 void GoToTrunkLod(Real); 45 void GoToFoliageLod(Real); 45 46 46 47 // changes the lod of the entire object (trunk and leaves) 47 virtual uint32 GoToLod(uint32);48 virtual void GoToLod(Real); 48 49 49 50 // new proposed functions … … 69 70 private: 70 71 Geometry::LodStripsLibrary *trunk; 71 Arbol *arbol;72 72 Foliage *foliage; 73 73
Note: See TracChangeset
for help on using the changeset viewer.