null data singleton More...
#include <null_data.hh>
Inherits ost::img::Data.
Public Member Functions | |
virtual DataType | GetType () const |
virtual DataDomain | GetDomain () const |
virtual Extent | GetExtent () const |
virtual Real | GetReal (const Point &p) const |
virtual Complex | GetComplex (const Point &p) const |
virtual Real | GetIntpolReal (const Vec3 &v) const |
virtual Real | GetIntpolReal (const Vec2 &v) const |
virtual Real | GetIntpolReal (const Real &d) const |
virtual Complex | GetIntpolComplex (const Vec3 &v) const |
virtual Complex | GetIntpolComplex (const Vec2 &v) const |
virtual Complex | GetIntpolComplex (const Real &d) const |
virtual void | Apply (NonModAlgorithm &a) const |
virtual void | ApplyIP (NonModAlgorithm &a) const |
virtual void | SetSpatialOrigin (const Point &o) |
virtual Point | GetSpatialOrigin () const |
virtual void | Attach (DataObserver *o) const |
virtual void | Detach (DataObserver *o) const |
virtual void | Notify () const |
virtual ImageHandle | Crop (const Extent &e) const |
Static Public Member Functions | |
static Data & | Instance () |
Protected Member Functions | |
virtual PixelSampling & | Sampling () |
virtual const PixelSampling & | Sampling () const |
null data singleton
Provides a full implementation of the Data interface, but without providing any real functionality; all writes are ignored, and all reads return zero or otherwise null defaults.
Definition at line 44 of file null_data.hh.
virtual void Apply | ( | NonModAlgorithm & | a | ) | const [inline, virtual] |
virtual void ApplyIP | ( | NonModAlgorithm & | a | ) | const [inline, virtual] |
Implements Data.
Definition at line 66 of file null_data.hh.
virtual void Attach | ( | DataObserver * | o | ) | const [inline, virtual] |
DataObserver interface: attach observer.
Implements ConstData.
Definition at line 72 of file null_data.hh.
virtual ImageHandle Crop | ( | const Extent & | e | ) | const [inline, virtual] |
Definition at line 78 of file null_data.hh.
virtual void Detach | ( | DataObserver * | o | ) | const [inline, virtual] |
DataObserver interface: detach observer.
Implements ConstData.
Definition at line 74 of file null_data.hh.
virtual DataDomain GetDomain | ( | ) | const [inline, virtual] |
Return domain: SPATIAL
, FREQUENCY
or HALF_FREQUENCY
.
Implements ConstData.
Definition at line 49 of file null_data.hh.
virtual Extent GetExtent | ( | ) | const [inline, virtual] |
Implements ConstData.
Definition at line 63 of file null_data.hh.
virtual Complex GetIntpolComplex | ( | const Vec2 & | v | ) | const [inline, virtual] |
Implements ConstData.
Definition at line 62 of file null_data.hh.
virtual Complex GetIntpolComplex | ( | const Vec3 & | v | ) | const [inline, virtual] |
Get interpolated complex value from 3D,2D or 1D vec.
Implements ConstData.
Definition at line 61 of file null_data.hh.
Implements ConstData.
Definition at line 59 of file null_data.hh.
virtual Real GetIntpolReal | ( | const Vec2 & | v | ) | const [inline, virtual] |
Implements ConstData.
Definition at line 58 of file null_data.hh.
virtual Real GetIntpolReal | ( | const Vec3 & | v | ) | const [inline, virtual] |
Get interpolated real value from 3D,2D or 1D vec.
Implements ConstData.
Definition at line 57 of file null_data.hh.
virtual Point GetSpatialOrigin | ( | ) | const [inline, virtual] |
virtual DataType GetType | ( | ) | const [inline, virtual] |
Return type of data: REAL
or COMPLEX
.
Implements ConstData.
Definition at line 47 of file null_data.hh.
static Data& Instance | ( | ) | [inline, static] |
Definition at line 82 of file null_data.hh.
virtual void Notify | ( | ) | const [inline, virtual] |
Notify each observer that state has changed.
Implements ConstData.
Definition at line 76 of file null_data.hh.
virtual const PixelSampling& Sampling | ( | ) | const [inline, protected, virtual] |
Implements ConstData.
Definition at line 91 of file null_data.hh.
virtual PixelSampling& Sampling | ( | ) | [inline, protected, virtual] |
Implements ConstData.
Definition at line 88 of file null_data.hh.
virtual void SetSpatialOrigin | ( | const Point & | o | ) | [inline, virtual] |