46 virtual Real
value(Real t,
const Point & p)
const override;
Base class for function objects.
virtual Real value(Real t, const Point &p) const
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero,...
A function for extracting data from an image or stack of images.
virtual void initialSetup() override
Initialize the ImageSampler.
virtual ~ImageFunction()
Class destructor.
static InputParameters validParams()
Class constructor.
virtual Real value(Real t, const Point &p) const override
Return the pixel value for the given point.
A helper class for reading and sampling images using VTK.
const InputParameters & parameters() const
Get the parameters of the object.