Rev | Line | |
---|
[1056] | 1 | #ifndef _GEOLODOBJECT
|
---|
| 2 | #define _GEOLODOBJECT
|
---|
| 3 |
|
---|
[1788] | 4 | #ifndef GEOLODLIBRARYDLL_API
|
---|
| 5 | #define GEOLODLIBRARYDLL_API
|
---|
| 6 | #endif
|
---|
| 7 |
|
---|
[1056] | 8 | namespace 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;
|
---|
[2204] | 22 | virtual Geometry::IndexData * GetIndexDataInterface(void) const =0;
|
---|
[1056] | 23 |
|
---|
| 24 | private:
|
---|
| 25 | uint32 uniqueID;
|
---|
| 26 | };
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.