OpenStructure
|
#include <null_data.hh>
Inherits 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 |
Public Member Functions inherited from Data | |
Data () | |
virtual | ~Data () |
void | SetPixelSampling (const Vec3 &) |
void | SetPixelSampling (Real d) |
void | SetSpatialSampling (const Vec3 &) |
void | SetSpatialSampling (Real d) |
Public Member Functions inherited from ConstData | |
ConstData () | |
virtual | ~ConstData () |
bool | IsSpatial () const |
bool | IsFrequency () const |
bool | IsReal () const |
bool | IsComplex () const |
Size | GetSize () const |
virtual Real | OverallDifference (const ConstData &d) const |
virtual Real | NormDifference (const ConstData &d) const |
Vec3 | GetPixelSampling () const |
Vec3 | GetSpatialSampling () const |
Vec3 | GetFrequencySampling () const |
Static Public Member Functions | |
static Data & | Instance () |
Protected Member Functions | |
virtual PixelSampling & | Sampling () |
virtual const PixelSampling & | Sampling () const |
Protected Member Functions inherited from Data | |
Data (const Data &d) | |
Data & | operator= (const Data &d) |
Protected Member Functions inherited from ConstData | |
void | CalcIntpolWeights (Vec3 v, Real w[8], Point p[8]) const |
ConstData (const ConstData &d) | |
ConstData & | operator= (const ConstData &d) |
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.
|
inlinevirtual |
|
inlinevirtual |
Implements Data.
Definition at line 66 of file null_data.hh.
|
inlinevirtual |
DataObserver interface: attach observer.
Implements ConstData.
Definition at line 72 of file null_data.hh.
|
inlinevirtual |
Definition at line 78 of file null_data.hh.
|
inlinevirtual |
DataObserver interface: detach observer.
Implements ConstData.
Definition at line 74 of file null_data.hh.
|
inlinevirtual |
Return domain: SPATIAL
, FREQUENCY
or HALF_FREQUENCY
.
Implements ConstData.
Definition at line 49 of file null_data.hh.
|
inlinevirtual |
Implements ConstData.
Definition at line 63 of file null_data.hh.
|
inlinevirtual |
Implements ConstData.
Definition at line 62 of file null_data.hh.
|
inlinevirtual |
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.
|
inlinevirtual |
Implements ConstData.
Definition at line 58 of file null_data.hh.
|
inlinevirtual |
Get interpolated real value from 3D,2D or 1D vec.
Implements ConstData.
Definition at line 57 of file null_data.hh.
|
inlinevirtual |
|
inlinevirtual |
Return type of data: REAL
or COMPLEX
.
Implements ConstData.
Definition at line 47 of file null_data.hh.
|
inlinestatic |
Definition at line 82 of file null_data.hh.
|
inlinevirtual |
Notify each observer that state has changed.
Implements ConstData.
Definition at line 76 of file null_data.hh.
|
inlineprotectedvirtual |
Implements ConstData.
Definition at line 88 of file null_data.hh.
|
inlineprotectedvirtual |
Implements ConstData.
Definition at line 91 of file null_data.hh.
|
inlinevirtual |