|
| ScreenRatioPixelCountLodStrategy () |
| Default constructor.
|
|
virtual Real | getBaseValue () const |
| Get the value of the first (highest) level of detail.
|
|
const String & | getName () const |
| Get the name of this strategy.
|
|
Real | getValue (const MovableObject *movableObject, const Camera *camera) const |
| Compute the LOD value for a given movable object relative to a given camera.
|
|
Real | getValueImpl (const MovableObject *movableObject, const Camera *camera) const |
| Compute the LOD value for a given movable object relative to a given camera.
|
|
virtual void | lodUpdateImpl (const size_t numNodes, ObjectData t, const Camera *camera, Real bias) const |
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info
|
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new
|
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info
|
|
virtual Real | transformBias (Real factor) const |
| Transform LOD bias so it only needs to be multiplied by the LOD value.
|
|
virtual Real | transformUserValue (Real userValue) const |
| Transform user supplied value to internal value.
|
|
The ScreenRatioPixelCountLodStrategy class Implement a strategy which calculates LOD ratios based on coverage in screen ratios in the range [-1.0; 0.0] where -1.0 means the object is covering the whole screen and 0 covering almost nothing in the screen (very tiny).
Note however that:
- Values beyond -1.0 are possible (it just means the object is bigger than the screen)
- It's an approximation