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.

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