![]() |
OGRE 2.3.3
Object-Oriented Graphics Rendering Engine
|
Abstract base class for level of detail strategy based on pixel count approximations from bounding sphere projection. More...
#include <OgrePixelCountLodStrategy.h>
Public Member Functions | |
| PixelCountLodStrategyBase (const String &name) | |
| 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. | |
| virtual void | lodUpdateImpl (const size_t numNodes, ObjectData t, const Camera *camera, Real bias) const =0 |
| 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 void | lodSet (ObjectData &t, Real lodValues[ARRAY_PACKED_REALS]) |
Abstract base class for level of detail strategy based on pixel count approximations from bounding sphere projection.
| Ogre::PixelCountLodStrategyBase::PixelCountLodStrategyBase | ( | const String & | name | ) |
Default constructor.
|
virtual |
Get the value of the first (highest) level of detail.
Implements Ogre::LodStrategy.
|
inlineinherited |
Get the name of this strategy.
|
inherited |
Compute the LOD value for a given movable object relative to a given camera.
|
inlinestaticinherited |
References ARRAY_PACKED_REALS.
Referenced by Ogre::MovableObject::LodStrategy::lodSet, and Ogre::Renderable::LodStrategy::lodSet.
|
pure virtualinherited |
Implemented in Ogre::AbsolutePixelCountLodStrategy, Ogre::DistanceLodStrategyBase, and Ogre::ScreenRatioPixelCountLodStrategy.
Referenced by Ogre::MovableObject::LodStrategy::lodUpdateImpl.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
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.
|
inlinevirtual |
Transform user supplied value to internal value.
Reimplemented from Ogre::LodStrategy.