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

Public Member Functions | |
| ConstantDetail (int nx=16, int ny=16) | |
| Constructs a tessellator delivering the given values to all handlers. | |
| int | getNu () const |
| Sets the u value. | |
| void | setNu (int nu) |
| Returns the u value. | |
| int | getNv () const |
| Sets the v value. | |
| void | setNv (int nv) |
| Returns the v value. | |
| virtual void | evaluate (const Engine *, const Shape *, int &nu, int &nv) const |
| Sets nu and nv to the stored level, independant of the engine's state and the shape. | |
| VRS_TYPEINFO (ConstantDetail, Tessellation) | |
| VRS_SERIALIZABLE (ConstantDetail) | |
| VRS::ConstantDetail::ConstantDetail | ( | int | nx = 16, |
|
| int | ny = 16 | |||
| ) |
Constructs a tessellator delivering the given values to all handlers.
| int VRS::ConstantDetail::getNu | ( | ) | const [inline] |
Sets the u value.
| void VRS::ConstantDetail::setNu | ( | int | nu | ) |
Returns the u value.
| int VRS::ConstantDetail::getNv | ( | ) | const [inline] |
Sets the v value.
| void VRS::ConstantDetail::setNv | ( | int | nv | ) |
Returns the v value.
| virtual void VRS::ConstantDetail::evaluate | ( | const Engine * | , | |
| const Shape * | , | |||
| int & | nu, | |||
| int & | nv | |||
| ) | const [virtual] |
Sets nu and nv to the stored level, independant of the engine's state and the shape.
Implements VRS::Tessellation.
| VRS::ConstantDetail::VRS_TYPEINFO | ( | ConstantDetail | , | |
| Tessellation | ||||
| ) |
| VRS::ConstantDetail::VRS_SERIALIZABLE | ( | ConstantDetail | ) |