highres-cortex 6.0.4
yl::LinearlyInterpolatedVectorField3d Class Reference

Access a vector field stored as three volumes. More...

#include <highres-cortex/field.hh>

Inheritance diagram for yl::LinearlyInterpolatedVectorField3d:
Collaboration diagram for yl::LinearlyInterpolatedVectorField3d:

Public Member Functions

 LinearlyInterpolatedVectorField3d (const carto::VolumeRef< float > &fieldx, const carto::VolumeRef< float > &fieldy, const carto::VolumeRef< float > &fieldz)
 
virtual void evaluate (const Point3df &pos, Point3df &output) const
 Evaluate the field's value at possibly non-integer coordinates.
 
- Public Member Functions inherited from yl::VectorField3d
 ~VectorField3d ()
 
Point3df evaluate (const Point3df &pos) const
 Evaluate the field's value at possibly non-integer coordinates.
 

Detailed Description

Access a vector field stored as three volumes.

The components are linearly interpolated between integer coordinates.

Definition at line 105 of file field.hh.

Constructor & Destructor Documentation

◆ LinearlyInterpolatedVectorField3d()

yl::LinearlyInterpolatedVectorField3d::LinearlyInterpolatedVectorField3d ( const carto::VolumeRef< float > & fieldx,
const carto::VolumeRef< float > & fieldy,
const carto::VolumeRef< float > & fieldz )

Member Function Documentation

◆ evaluate()

virtual void yl::LinearlyInterpolatedVectorField3d::evaluate ( const Point3df & pos,
Point3df & output ) const
virtual

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

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

Implements yl::VectorField3d.


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