OpenStructure
|
#include <data.hh>
Inherits ConstData.
Inherited by ImageHandle, and NullData.
Public Member Functions | |
Initialization and Deconstruction | |
Data () | |
virtual | ~Data () |
Properties | |
virtual void | SetSpatialOrigin (const Point &o)=0 |
Public Member Functions inherited from ConstData | |
ConstData () | |
virtual | ~ConstData () |
virtual DataType | GetType () const =0 |
virtual DataDomain | GetDomain () const =0 |
bool | IsSpatial () const |
bool | IsFrequency () const |
bool | IsReal () const |
bool | IsComplex () const |
virtual Extent | GetExtent () const =0 |
virtual Point | GetSpatialOrigin () const =0 |
Size | GetSize () const |
virtual Real | GetReal (const Point &p) const =0 |
virtual Complex | GetComplex (const Point &p) const =0 |
virtual Real | GetIntpolReal (const Vec3 &v) const =0 |
virtual Real | GetIntpolReal (const Vec2 &v) const =0 |
virtual Real | GetIntpolReal (const Real &d) const =0 |
virtual Complex | GetIntpolComplex (const Vec3 &v) const =0 |
virtual Complex | GetIntpolComplex (const Vec2 &v) const =0 |
virtual Complex | GetIntpolComplex (const Real &d) const =0 |
virtual void | Attach (DataObserver *o) const =0 |
virtual void | Detach (DataObserver *o) const =0 |
virtual void | Notify () const =0 |
virtual Real | OverallDifference (const ConstData &d) const |
virtual Real | NormDifference (const ConstData &d) const |
Vec3 | GetPixelSampling () const |
Vec3 | GetSpatialSampling () const |
Vec3 | GetFrequencySampling () const |
Sampling interface | |
void | SetPixelSampling (const Vec3 &) |
void | SetPixelSampling (Real d) |
void | SetSpatialSampling (const Vec3 &) |
void | SetSpatialSampling (Real d) |
virtual void | Apply (NonModAlgorithm &a) const =0 |
virtual void | ApplyIP (NonModAlgorithm &a) const =0 |
Data (const Data &d) | |
Data & | operator= (const Data &d) |
Additional Inherited Members | |
Protected Member Functions inherited from ConstData | |
virtual PixelSampling & | Sampling ()=0 |
virtual const PixelSampling & | Sampling () const =0 |
void | CalcIntpolWeights (Vec3 v, Real w[8], Point p[8]) const |
ConstData (const ConstData &d) | |
ConstData & | operator= (const ConstData &d) |
Abstract base class for data.
The non-const Data class is expanded slightly in functionality, as it offers some modification routines, namely
It servers mainly as the base class for ImageHandle.
Data | ( | ) |
|
virtual |
|
pure virtual |
Algorithm interface: NonModAlgorithm.
Implements ConstData.
Implemented in NullData, and ImageHandle.
|
pure virtual |
Implements ConstData.
Implemented in NullData, and ImageHandle.
void SetPixelSampling | ( | const Vec3 & | ) |
|
inline |
|
pure virtual |
Set the spatial origin.
Implemented in ImageHandle, and NullData.
void SetSpatialSampling | ( | const Vec3 & | ) |
set spatial pixel dimensions (non-uniform)
|
inline |