| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/detail.h>

Public Member Functions | |
| Detail () | |
| Constructs an empty (without any area-result pair) tessellation object. | |
| virtual void | clearTable () |
| Removes all previously stored area-result pairs. | |
| virtual void | setLevel (double area, unsigned int result) |
| virtual unsigned int | getLevel (double area) const |
| Returns the level of a specified area. | |
| virtual void | evaluate (const Engine *, const Shape *, int &nu, int &nv) const |
| VRS_TYPEINFO (Detail, Tessellation) | |
| VRS_SERIALIZABLE (Detail) | |
| VRS::Detail::Detail | ( | ) |
Constructs an empty (without any area-result pair) tessellation object.
| virtual void VRS::Detail::clearTable | ( | ) | [virtual] |
Removes all previously stored area-result pairs.
| virtual void VRS::Detail::setLevel | ( | double | area, | |
| unsigned int | result | |||
| ) | [virtual] |
Sets the tesselation for all objects that cover area (which is just object_size/screen_size), but cover less than the next bigger specified area, if there is any.
| virtual unsigned int VRS::Detail::getLevel | ( | double | area | ) | const [virtual] |
Returns the level of a specified area.
| virtual void VRS::Detail::evaluate | ( | const Engine * | , | |
| const Shape * | , | |||
| int & | nu, | |||
| int & | nv | |||
| ) | const [virtual] |
Sets nu and nv to the tessellation-level for a given shape. The engine is used to obtain the camera-position.
Implements VRS::Tessellation.
| VRS::Detail::VRS_TYPEINFO | ( | Detail | , | |
| Tessellation | ||||
| ) |
| VRS::Detail::VRS_SERIALIZABLE | ( | Detail | ) |