Ignore:
Timestamp:
06/13/06 10:45:56 (18 years ago)
Author:
gumbau
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoLodStripsLibrary.h

    r1009 r1014  
    5050 
    5151        /// 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. 
    5359        \n\n 
    5460 
     
    5864 
    5965Outputs:\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. 
    6168        . 
    6269 
     
    6572        { 
    6673                private: 
     74                         
     75                        // The name of the object. 
     76                        String  mName;  
    6777 
    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 
    7280                        SmallIntVector                                                                  mFileVertices; 
    7381                        std::vector     <LODRegisterType>               mFileChangesLOD; 
     
    7583                        LongVector                                                                                      mData; 
    7684 
    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. 
    86103 
    87104                        //      For the efficient version. 
     
    112129                        SmallIntVector  *mStrips; 
    113130                         
    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                        */ 
    115134                        LodStripsLibrary(std::string, Mesh *geomesh); 
    116135 
Note: See TracChangeset for help on using the changeset viewer.