![]() |
OGRE 2.3.3
Object-Oriented Graphics Rendering Engine
|
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). More...
#include <OgrePixelCountLodStrategy.h>
Inheritance diagram for Ogre::ScreenRatioPixelCountLodStrategy:Public Member Functions | |
| 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. | |
Static Public Member Functions | |
| static ScreenRatioPixelCountLodStrategy & | getSingleton (void) |
| Override standard Singleton retrieval. | |
| static ScreenRatioPixelCountLodStrategy * | getSingletonPtr (void) |
| Override standard Singleton retrieval. | |
| static void | lodSet (ObjectData &t, Real lodValues[ARRAY_PACKED_REALS]) |
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:
| Ogre::ScreenRatioPixelCountLodStrategy::ScreenRatioPixelCountLodStrategy | ( | ) |
Default constructor.
Get the value of the first (highest) level of detail.
Implements Ogre::LodStrategy.
|
static |
Override standard Singleton retrieval.
|
static |
Override standard Singleton retrieval.
|
inherited |
Compute the LOD value for a given movable object relative to a given camera.
|
virtual |
Compute the LOD value for a given movable object relative to a given camera.
Implements Ogre::LodStrategy.
|
inlinestaticinherited |
|
virtual |
Implements Ogre::LodStrategy.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
Transform LOD bias so it only needs to be multiplied by the LOD value.
Implements Ogre::LodStrategy.
|
inlinevirtualinherited |
Transform user supplied value to internal value.
Reimplemented from Ogre::LodStrategy.