highres-cortex 6.0.4
yl::LinearlyInterpolatedScalarFieldGradient Class Reference

#include <highres-cortex/field.hh>

Inheritance diagram for yl::LinearlyInterpolatedScalarFieldGradient:
Collaboration diagram for yl::LinearlyInterpolatedScalarFieldGradient:

Public Member Functions

 LinearlyInterpolatedScalarFieldGradient (const carto::VolumeRef< float > &scalar_field)
 
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

Definition at line 119 of file field.hh.

Constructor & Destructor Documentation

◆ LinearlyInterpolatedScalarFieldGradient()

yl::LinearlyInterpolatedScalarFieldGradient::LinearlyInterpolatedScalarFieldGradient ( const carto::VolumeRef< float > & scalar_field)
explicit

Member Function Documentation

◆ evaluate()

virtual void yl::LinearlyInterpolatedScalarFieldGradient::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: