Changeset 1014 for GTP/trunk/Lib/Geom/shared/GTGeometry/include
- Timestamp:
- 06/13/06 10:45:56 (18 years ago)
- Location:
- GTP/trunk/Lib/Geom/shared/GTGeometry/include
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoBase.h
r980 r1014 14 14 namespace Geometry { 15 15 16 // Basic types16 // Basic types. 17 17 typedef float Real; 18 18 typedef unsigned int Index; … … 22 22 typedef std::string String; 23 23 24 // Vertex Info24 // Vertex Info. 25 25 static const unsigned short VERTEX_EMPTY = 0x00; 26 26 static const unsigned short VERTEX_POSITION = 0x01; … … 29 29 static const unsigned short VERTEX_ALL = VERTEX_POSITION | VERTEX_NORMAL | VERTEX_TEXCOORDS; 30 30 31 // Mmesh primitives31 // Mesh primitives. 32 32 typedef enum 33 33 { … … 36 36 } MeshType; 37 37 38 //OSCAR39 38 struct VertexBoneAssignment 40 39 { … … 57 56 }; 58 57 59 // 2006-02-1460 // Gustavo Puche.61 58 // Needed to update the progress bar. 62 59 typedef float updateProgressBar(float); … … 78 75 79 76 #endif 77 -
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.