highres-cortex 6.0.4
yl::VectorField3d Class Referenceabstract

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

#include <highres-cortex/field.hh>

Inheritance diagram for yl::VectorField3d:
Collaboration diagram for yl::VectorField3d:

Public Member Functions

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

Detailed Description

Store a vector field and access it at any coordinates.

Definition at line 59 of file field.hh.

Constructor & Destructor Documentation

◆ ~VectorField3d()

yl::VectorField3d::~VectorField3d ( )
inline

Definition at line 63 of file field.hh.

Member Function Documentation

◆ evaluate() [1/2]

Point3df yl::VectorField3d::evaluate ( const Point3df & pos) const
inline

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

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

Definition at line 70 of file field.hh.

References evaluate().

Referenced by evaluate().

◆ evaluate() [2/2]

virtual void yl::VectorField3d::evaluate ( const Point3df & pos,
Point3df & output ) 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::LinearlyInterpolatedScalarFieldGradient, and yl::LinearlyInterpolatedVectorField3d.


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