Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes

vl::DistanceLODEvaluator Class Reference

A LODEvaluator that computes the appropriate LOD based on the distance of an Actor from the Camera. More...

#include <DistanceLODEvaluator.hpp>

Inheritance diagram for vl::DistanceLODEvaluator:
vl::LODEvaluator vl::Object

List of all members.

Public Member Functions

 DistanceLODEvaluator ()
virtual int evaluate (Actor *actor, Camera *camera)
const std::vector< double > & distanceRangeSet () const
std::vector< double > & distanceRangeSet ()

Protected Attributes

std::vector< double > mDistanceRangeSet

Detailed Description

A LODEvaluator that computes the appropriate LOD based on the distance of an Actor from the Camera.

See also:

Definition at line 50 of file DistanceLODEvaluator.hpp.


Constructor & Destructor Documentation

vl::DistanceLODEvaluator::DistanceLODEvaluator (  ) [inline]

Definition at line 55 of file DistanceLODEvaluator.hpp.

References VL_DEBUG_SET_OBJECT_NAME.


Member Function Documentation

virtual int vl::DistanceLODEvaluator::evaluate ( Actor actor,
Camera camera 
) [inline, virtual]
const std::vector<double>& vl::DistanceLODEvaluator::distanceRangeSet (  ) const [inline]
std::vector<double>& vl::DistanceLODEvaluator::distanceRangeSet (  ) [inline]

Definition at line 80 of file DistanceLODEvaluator.hpp.

References mDistanceRangeSet.


Member Data Documentation

std::vector<double> vl::DistanceLODEvaluator::mDistanceRangeSet [protected]

Definition at line 83 of file DistanceLODEvaluator.hpp.

Referenced by distanceRangeSet(), and evaluate().


The documentation for this class was generated from the following file:

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:09.
Permission is granted to use this page to write and publish articles regarding Visualization Library.