27 #ifndef IMG_NULL_DATA_H
28 #define IMG_NULL_DATA_H
35 namespace ost {
namespace img {
virtual Complex GetIntpolComplex(const Vec2 &v) const
virtual Complex GetIntpolComplex(const Real &d) const
Non-modifying Algorithm, abstract base class.
ImageHandle DLLEXPORT_OST_IMG_BASE CreateImage(const Extent &ext=Extent(), DataType type=REAL, DataDomain dom=SPATIAL)
Create image from scratch.
virtual Real GetIntpolReal(const Real &d) const
DataDomain
underlying data type
std::complex< Real > Complex
virtual Real GetIntpolReal(const Vec2 &v) const
virtual Point GetSpatialOrigin() const
Retrieve spatial origin.
virtual void SetSpatialOrigin(const Point &o)
Set the spatial origin.
virtual void Apply(NonModAlgorithm &a) const
Algorithm interface: NonModAlgorithm.
virtual Real GetIntpolReal(const Vec3 &v) const
Get interpolated real value from 3D,2D or 1D vec.
virtual Complex GetComplex(const Point &p) const
Get explicit complex value.
virtual Complex GetIntpolComplex(const Vec3 &v) const
Get interpolated complex value from 3D,2D or 1D vec.
Abstract base class for data.
virtual DataType GetType() const
Return type of data: REAL or COMPLEX.
virtual void ApplyIP(NonModAlgorithm &a) const
virtual void Detach(DataObserver *o) const
DataObserver interface: detach observer.
Helper class to handle pixel sampling.
virtual ImageHandle Crop(const Extent &e) const
virtual PixelSampling & Sampling()
Defines lower and upper valid indices.
virtual const PixelSampling & Sampling() const
virtual DataDomain GetDomain() const
Return domain: SPATIAL, FREQUENCY or HALF_FREQUENCY.
Abstract base class of data observer.
virtual void Notify() const
Notify each observer that state has changed.
virtual Extent GetExtent() const
Return (logical) extent of data.
virtual void Attach(DataObserver *o) const
DataObserver interface: attach observer.
Manage shared instances of images.
virtual Real GetReal(const Point &p) const
Get explicit real value.
class encapsulating 1D to 3D point
#define DLLEXPORT_OST_IMG_BASE