eng::ObjectLod Class Reference

Dynamic LOD for an Object. More...

#include <eng_lod.hh>

List of all members.

Public Member Functions

 ObjectLod (void)
 ObjectLod (const fp lodMin, const fp lodMax)
 ~ObjectLod ()
bool IfInRange (const ObjectLod &objectLod) const

Private Attributes

fp mLodMin
fp mLodMax


Detailed Description

Dynamic LOD for an Object.

///
/// Object LOD vs. User LOD:
/// ------------------------
/// There are two different kinds of LODs.
///
/// UserLod is defined by discrete enums { DEFAULT,MIN,LOW,MID,HIGH,MAX }.
/// UserLod is a global setting.
/// If UserLod != DEFAULT, then UserLod overrides ObjectLod.
/// For example, if UserLod==MAX, then every Object is rendered with maximum LOD.
///
/// ObjectLod is defined as a float range { 0.0:min,..,1.0:max }.
/// Eg, (0.0,1.0) means any LOD, (0.5,1.0) means median-to-high LOD.
/// ObjectLod is determined by an estimate of an Object's projected 2D area.
/// ObjectLod isn't computed if UserLod != DEFAULT.
///
/// Relationships of ObjectLod:
/// ---------------------------
/// Optionally, Object can be constructed with a Graph having a LodNode.
/// LodNode switches the direction of the traversal of a Graph
/// to one (or more) of its child nodes correlating to the current ObjectLod.
///
/// 

Constructor & Destructor Documentation

eng::ObjectLod::ObjectLod ( void   ) 

ctor/dtor.

eng::ObjectLod::ObjectLod ( const fp  lodMin,
const fp  lodMax 
)

eng::ObjectLod::~ObjectLod (  ) 


Member Function Documentation

bool eng::ObjectLod::IfInRange ( const ObjectLod objectLod  )  const

Returns:
True if other ObjectLod is within the range of this one.


Member Data Documentation

fp eng::ObjectLod::mLodMin [private]

fp eng::ObjectLod::mLodMax [private]


The documentation for this class was generated from the following files: Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:22 2007