32 #ifndef DistanceLODEvaluator_INCLUDE_ONCE 33 #define DistanceLODEvaluator_INCLUDE_ONCE 57 VL_DEBUG_SET_OBJECT_NAME()
Associates a Renderable object to an Effect and Transform.
const Renderable * lod(int lod_index) const
Returns the Renderable object representing the LOD level specifed by lod_index.
Transform * transform()
Returns the Transform bound tho an Actor.
std::vector< double > & distanceRangeSet()
vec3 center() const
Returns the center of the AABB.
#define VL_INSTRUMENT_CLASS(ClassName, BaseClass)
Visualization Library main namespace.
std::vector< double > mDistanceRangeSet
const mat4 & modelingMatrix() const
Returns the Camera's modelingMatrix() (inverse of the view matrix).
const std::vector< double > & distanceRangeSet() const
virtual int evaluate(Actor *actor, Camera *camera)
Abstract class to compute the appropriate LOD of an Actor or Effect.
A LODEvaluator that computes the appropriate LOD based on the distance of an Actor from the Camera...
Vector3< T_Scalar > getT() const
Represents a virtual camera defining, among other things, the point of view from which scenes can be ...
const AABB & boundingBox() const
Returns the bounding box of a Renderable without recomputing the bounds if dirty. ...