source: GTP/trunk/Lib/Geom/shared/GTGeometry/include/GeoLodObject.h @ 1526

Revision 1526, 468 bytes checked in by gumbau, 18 years ago (diff)

Updated modules to the new interface and the new simplification algorithm improvements.

Line 
1#ifndef _GEOLODOBJECT
2#define _GEOLODOBJECT
3
4namespace Geometry
5{
6        class IndexData;
7
8        class LodObject
9        {
10        public:
11                LodObject(void){
12                        static uint32 uniqueIDgen = 0;
13                        uniqueID = uniqueIDgen++;
14                }
15                uint32 GetUniqueID(void) const { return  uniqueID; }
16                virtual void GoToLod(Real)=0;
17                virtual Real GetCurrentLodFactor(void) const =0;
18                virtual Geometry::IndexData * GetIndexDataInterface(void)=0;
19
20        private:
21                uint32 uniqueID;
22        };
23}
24
25#endif
Note: See TracBrowser for help on using the repository browser.