highres-cortex 6.0.4
yl::ScalarField Class Referenceabstract

Store a scalar field and access it at any coordinates. More...

#include <highres-cortex/field.hh>

Inheritance diagram for yl::ScalarField:
Collaboration diagram for yl::ScalarField:

Public Member Functions

 ~ScalarField ()
 
virtual float evaluate (const Point3df &pos) const =0
 Evaluate the field's value at possibly non-integer coordinates.
 

Detailed Description

Store a scalar field and access it at any coordinates.

Definition at line 86 of file field.hh.

Constructor & Destructor Documentation

◆ ~ScalarField()

yl::ScalarField::~ScalarField ( )
inline

Definition at line 90 of file field.hh.

Member Function Documentation

◆ evaluate()

virtual float yl::ScalarField::evaluate ( const Point3df & pos) const
pure virtual

Evaluate the field's value at possibly non-integer coordinates.

Exceptions
UndefinedFieldif the field cannot be evaluated at the given position.

Implemented in yl::BooleanScalarField, and yl::LinearlyInterpolatedScalarField.


The documentation for this class was generated from the following file: