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

Revision 1788, 559 bytes checked in by gumbau, 18 years ago (diff)

Added the GeoLodLibraryDLL project which compiles the LodStrips? and LodTrees? librarys into a separate DLL. This DLL is smaller than the static lib.

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