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

Public Member Functions | |
| ImageHeightField (Image *image) | |
| void | setImage (Image *) |
| Image * | getImage () const |
| virtual int | rows () const |
| virtual int | columns () const |
| virtual double | maxHeight () const |
| virtual double | minHeight () const |
| Returns the maximum and minimum value of the image. | |
| virtual double | height (int c, int r) const |
| The height is taken from the corresponding pixel in the image. | |
| VRS_TYPEINFO (ImageHeightField, HeightField) | |
| VRS_SERIALIZABLE (ImageHeightField) | |
Protected Member Functions | |
| ImageHeightField () | |
| VRS::ImageHeightField::ImageHeightField | ( | Image * | image | ) |
The zero-level of this height-field is the xz-plane. Height-values are mapped to y-coordinates using this formula: y = color. The image must have 1 layer.
| VRS::ImageHeightField::ImageHeightField | ( | ) | [protected] |
| void VRS::ImageHeightField::setImage | ( | Image * | ) |
| Image* VRS::ImageHeightField::getImage | ( | ) | const |
| virtual int VRS::ImageHeightField::rows | ( | ) | const [virtual] |
Implements VRS::HeightField.
| virtual int VRS::ImageHeightField::columns | ( | ) | const [virtual] |
The number of rows corresponds to the height of the image, the number of columns corresponds to the width of the image.
Implements VRS::HeightField.
| virtual double VRS::ImageHeightField::maxHeight | ( | ) | const [virtual] |
Implements VRS::HeightField.
| virtual double VRS::ImageHeightField::minHeight | ( | ) | const [virtual] |
| virtual double VRS::ImageHeightField::height | ( | int | c, | |
| int | r | |||
| ) | const [virtual] |
| VRS::ImageHeightField::VRS_TYPEINFO | ( | ImageHeightField | , | |
| HeightField | ||||
| ) |
| VRS::ImageHeightField::VRS_SERIALIZABLE | ( | ImageHeightField | ) |