Ignore:
Timestamp:
06/26/06 11:42:59 (19 years ago)
Author:
gumbau
Message:

GeoLodObject? added as a parent class for GeoLodStripsLibrary? and GeoLodTreeLibrary?

Location:
GTP/trunk/Lib/Geom/shared/GTGeometry/include
Files:
1 added
2 edited

Legend:

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

    r1018 r1056  
    1717#include        <time.h> 
    1818#include        "VertexData.h" 
     19#include "GeoLodObject.h" 
    1920 
    2021namespace Geometry 
     
    7071 
    7172        */ 
    72         class LodStripsLibrary 
     73        class LodStripsLibrary : public Geometry::LodObject 
    7374        { 
    7475                private: 
     
    157158 
    158159                        /// Returns de current LOD and changes to the specified LOD. 
    159                         uint32  GoToLod(uint32); 
     160                        virtual uint32  GoToLod(uint32); 
    160161 
    161162                        /// Establishes the new LOD range. 
  • GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoLodTreeLibrary.h

    r1019 r1056  
    88#include "GeoMesh.h" 
    99#include "GeoLodStripsLibrary.h" 
     10#include "GeoLodObject.h" 
    1011 
    1112class Arbol; 
     
    1718        class IndexData; 
    1819        class VertexData; 
    19         class LodTreeLibrary 
     20        class LodTreeLibrary : public Geometry::LodObject 
    2021        { 
    2122        public: 
     
    3435                                                CREATEMULTIINDEXDATAFUNC midfun=NULL*/); // throws a FileNotFound exception 
    3536                ~LodTreeLibrary(void); 
    36                 uint32 GetUniqueID(void) const { return  uniqueID; } 
    3737 
    3838                // funciones ya descritas en la API 
     
    4343                uint32 MinFoliageLod(void) const; 
    4444                uint32 MaxFoliageLod(void) const; 
     45 
     46                // changes the lod of the entire object (trunk and leaves) 
     47                virtual uint32 GoToLod(uint32); 
    4548 
    4649                // new proposed functions 
     
    6568 
    6669        private: 
    67                 uint32 uniqueID; 
    6870                Geometry::LodStripsLibrary *trunk; 
    6971                Arbol *arbol; 
Note: See TracChangeset for help on using the changeset viewer.