- Timestamp:
- 06/13/06 10:45:56 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoLodStripsLibrary.h
r1009 r1014 50 50 51 51 /// LodStripsLibrary interface class. 52 /** This module contains functions that handle the levels of detail of the input multiresolution objects made of polygonal meshes. For any given resolution and object, this module returns a set of triangle strips representing the object at that resolution, that is, at the level of detail requested. These models use triangle strips to reduce storage usage and to speed up realistic rendering. 52 /** This module contains functions that handle the levels of detail 53 * of the input multiresolution objects made of polygonal meshes. 54 * For any given resolution and object, this module returns a set 55 * of triangle strips representing the object at that resolution, 56 * that is, at the level of detail requested. These models use 57 * triangle strips to reduce storage usage and to speed up realistic 58 * rendering. 53 59 \n\n 54 60 … … 58 64 59 65 Outputs:\n 60 - The module returns a strip set that represents the level of detail requested. 66 - The module returns a strip set that represents the level of 67 detail requested. 61 68 . 62 69 … … 65 72 { 66 73 private: 74 75 // The name of the object. 76 String mName; 67 77 68 String mName; /// The name of the object. 69 70 ///Structures with the data read from the file 71 ///We won't work with these structures 78 // Structures with the data read from the file 79 // We won't work with these structures 72 80 SmallIntVector mFileVertices; 73 81 std::vector <LODRegisterType> mFileChangesLOD; … … 75 83 LongVector mData; 76 84 77 ///Structures with the data to work with 78 SmallInt mTotalStrips; ///Total strips of the multiresolution object. 79 SmallInt mTotalVertices; ///Total vertices of the multiresolution object. 80 SmallInt mMaxVerticesLOD;///Number of vertices of the max LOD. 81 SmallInt mTotalChanges; ///Total changes of the multiresolution object. 82 SmallInt mLods; ///Available Lods. 83 SmallInt mMaxLod; ///Max level of detail. 84 SmallInt mMinLod; ///Min level of detail. 85 SmallInt mCurrentLod; ///Current Lod. 85 // Structures with the data to work with 86 87 // Total strips of the multiresolution object. 88 SmallInt mTotalStrips; 89 90 // Total vertices of the multiresolution object. 91 SmallInt mTotalVertices; 92 93 // Number of vertices of the max LOD. 94 SmallInt mMaxVerticesLOD; 95 96 // Total changes of the multiresolution object. 97 SmallInt mTotalChanges; 98 99 SmallInt mLods; // Available Lods. 100 SmallInt mMaxLod; // Max level of detail. 101 SmallInt mMinLod; // Min level of detail. 102 SmallInt mCurrentLod; // Current Lod. 86 103 87 104 // For the efficient version. … … 112 129 SmallIntVector *mStrips; 113 130 114 /// Constructor, receives as a parameter the name of the file including the multiresolution object. 131 /** Constructor, receives as a parameter the name of the file 132 * including the multiresolution object. 133 */ 115 134 LodStripsLibrary(std::string, Mesh *geomesh); 116 135
Note: See TracChangeset
for help on using the changeset viewer.