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

Public Member Functions | |
| virtual double | height (int c, int r) const =0 |
| virtual int | rows () const =0 |
| virtual int | columns () const =0 |
| virtual double | maxHeight () const =0 |
| virtual double | minHeight () const =0 |
| implemented by subclasses. | |
| virtual Vector | vertex (int c, int r) const |
| virtual Vector | normal (int c, int r) const |
| r and c must be in the range [0,c-1]x[0,r-1]. | |
| virtual Iterator< Vector > * | newIterator () const |
| virtual Iterator< Vector > * | newNormalIterator () const |
| virtual Bounds | boundingBox () const |
| VRS_TYPEINFO (HeightField, SharedObj) | |
| virtual double VRS::HeightField::height | ( | int | c, | |
| int | r | |||
| ) | const [pure virtual] |
Implemented in VRS::ImageHeightField.
| virtual int VRS::HeightField::rows | ( | ) | const [pure virtual] |
Implemented in VRS::ImageHeightField.
| virtual int VRS::HeightField::columns | ( | ) | const [pure virtual] |
Implemented in VRS::ImageHeightField.
| virtual double VRS::HeightField::maxHeight | ( | ) | const [pure virtual] |
Implemented in VRS::ImageHeightField.
| virtual double VRS::HeightField::minHeight | ( | ) | const [pure virtual] |
| virtual Vector VRS::HeightField::vertex | ( | int | c, | |
| int | r | |||
| ) | const [virtual] |
| virtual Vector VRS::HeightField::normal | ( | int | c, | |
| int | r | |||
| ) | const [virtual] |
r and c must be in the range [0,c-1]x[0,r-1].
Creates an instance of an iterator for the vertex data and normal data. The data is traversed row by row. To render a heightfield, create a mesh and pass these iterators to it.
| virtual Bounds VRS::HeightField::boundingBox | ( | ) | const [virtual] |
| VRS::HeightField::VRS_TYPEINFO | ( | HeightField | , | |
| SharedObj | ||||
| ) |