|  | OGRE-Next 3.0.0
    Object-Oriented Graphics Rendering Engine | 
Strategy for determining level of detail. More...
#include <OgreLodStrategy.h>
 Inheritance diagram for Ogre::LodStrategy:
 Inheritance diagram for Ogre::LodStrategy:| Public Member Functions | |
| LodStrategy (const String &name) | |
| Constructor accepting name. | |
| virtual | ~LodStrategy () | 
| Virtual destructor. | |
| virtual Real | getBaseValue () const =0 | 
| 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. | |
| virtual void | lodUpdateImpl (const size_t numNodes, ObjectData t, const Camera *camera, Real bias) const =0 | 
| virtual Real | transformBias (Real factor) const =0 | 
| 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 void | lodSet (ObjectData &t, Real lodValues[ARRAY_PACKED_REALS]) | 
Strategy for determining level of detail.
| Ogre::LodStrategy::LodStrategy | ( | const String & | name | ) | 
Constructor accepting name.
| 
 | virtual | 
Virtual destructor.
| 
 | pure virtual | 
Get the value of the first (highest) level of detail.
Implemented in Ogre::DistanceLodStrategyBase, and Ogre::PixelCountLodStrategyBase.
| 
 | inline | 
Get the name of this strategy.
| Real Ogre::LodStrategy::getValue | ( | const MovableObject * | movableObject, | 
| const Camera * | camera | ||
| ) | const | 
Compute the LOD value for a given movable object relative to a given camera.
| 
 | inlinestatic | 
| 
 | pure virtual | 
Transform LOD bias so it only needs to be multiplied by the LOD value.
Implemented in Ogre::DistanceLodStrategyBase, and Ogre::PixelCountLodStrategyBase.
Transform user supplied value to internal value.
Reimplemented in Ogre::DistanceLodStrategyBase, and Ogre::PixelCountLodStrategyBase.