Line | |
---|
1 | #ifndef _GEOLODOBJECT
|
---|
2 | #define _GEOLODOBJECT
|
---|
3 |
|
---|
4 | #ifndef GEOLODLIBRARYDLL_API
|
---|
5 | #define GEOLODLIBRARYDLL_API
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | namespace 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) const =0;
|
---|
23 |
|
---|
24 | private:
|
---|
25 | uint32 uniqueID;
|
---|
26 | };
|
---|
27 | }
|
---|
28 |
|
---|
29 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.