OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Data Class Referenceabstract

#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)
 
Dataoperator= (const Data &d)
 

Additional Inherited Members

- Protected Member Functions inherited from ConstData
 ConstData (const ConstData &d)
 
ConstDataoperator= (const ConstData &d)
 
void CalcIntpolWeights (Vec3 v, Real w[8], Point p[8]) const
 
virtual PixelSamplingSampling ()=0
 
virtual const PixelSamplingSampling () const =0
 

Detailed Description

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.

Definition at line 253 of file data.hh.

Constructor & Destructor Documentation

Data ( )
virtual ~Data ( )
virtual
Data ( const Data d)
protected

Member Function Documentation

virtual void Apply ( NonModAlgorithm a) const
pure virtual

Algorithm interface: NonModAlgorithm.

Implements ConstData.

Implemented in ImageHandle, and NullData.

virtual void ApplyIP ( NonModAlgorithm a) const
pure virtual

Implements ConstData.

Implemented in ImageHandle, and NullData.

Data& operator= ( const Data d)
protected
void SetPixelSampling ( const Vec3 &  )
void SetPixelSampling ( Real  d)
inline

Set uniform pixel dimensions of the current domain.

Definition at line 276 of file data.hh.

virtual void SetSpatialOrigin ( const Point o)
pure virtual

Set the spatial origin.

Implemented in ImageHandle, and NullData.

void SetSpatialSampling ( const Vec3 &  )

set spatial pixel dimensions (non-uniform)

void SetSpatialSampling ( Real  d)
inline

set spatial pixel dimensions (uniform)

Definition at line 280 of file data.hh.


The documentation for this class was generated from the following file: