|
highres-cortex 6.0.4
|
Access a boolean field stored in a volume. More...
#include <highres-cortex/field.hh>


Public Member Functions | |
| BooleanScalarField (const carto::VolumeRef< int16_t > &field_volume) | |
| virtual float | evaluate (const Point3df &pos) const |
| Evaluate the field's value at possibly non-integer coordinates. | |
Public Member Functions inherited from yl::ScalarField | |
| ~ScalarField () | |
Access a boolean field stored in a volume.
The boolean field is using nearest neighbour interpolation, any non-zero value (including NaN) is returned as true (1.0f).
|
explicit |
|
virtual |
Evaluate the field's value at possibly non-integer coordinates.
| UndefinedField | if the field cannot be evaluated at the given position. |
Implements yl::ScalarField.