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::PixelLODEvaluator Class Reference

A LODEvaluator that computes the appropriate LOD based on the approximate 2d area that an Actor covers on the screen. More...

#include <PixelLODEvaluator.hpp>

Inheritance diagram for vl::PixelLODEvaluator:
vl::LODEvaluator vl::Object

List of all members.

Public Member Functions

 PixelLODEvaluator ()
virtual int evaluate (Actor *actor, Camera *camera)
const std::vector< float > & pixelRangeSet () const
std::vector< float > & pixelRangeSet ()

Protected Attributes

std::vector< float > mPixelRangeSet

Detailed Description

A LODEvaluator that computes the appropriate LOD based on the approximate 2d area that an Actor covers on the screen.

See also:

Definition at line 50 of file PixelLODEvaluator.hpp.


Constructor & Destructor Documentation

vl::PixelLODEvaluator::PixelLODEvaluator (  ) [inline]

Definition at line 55 of file PixelLODEvaluator.hpp.

References VL_DEBUG_SET_OBJECT_NAME.


Member Function Documentation

int PixelLODEvaluator::evaluate ( Actor actor,
Camera camera 
) [virtual]
const std::vector<float>& vl::PixelLODEvaluator::pixelRangeSet (  ) const [inline]
std::vector<float>& vl::PixelLODEvaluator::pixelRangeSet (  ) [inline]

Definition at line 64 of file PixelLODEvaluator.hpp.


Member Data Documentation

std::vector<float> vl::PixelLODEvaluator::mPixelRangeSet [protected]

Definition at line 67 of file PixelLODEvaluator.hpp.

Referenced by evaluate().


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

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