Abstract base class for data. More...
#include <data.hh>
Inherits ost::img::ConstData.
Inherited by ImageHandle, and NullData.
Public Member Functions | |
Initialization and Deconstruction | |
Data () | |
virtual | ~Data () |
Properties | |
virtual void | SetSpatialOrigin (const Point &o)=0 |
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) |
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.
Data | ( | ) |
virtual ~Data | ( | ) | [virtual] |
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.
Reimplemented from ConstData.
Reimplemented in ImageHandle.
void SetPixelSampling | ( | Real | d | ) | [inline] |
void SetPixelSampling | ( | const Vec3 & | ) |
virtual void SetSpatialOrigin | ( | const Point & | o | ) | [pure virtual] |
Set the spatial origin.
Implemented in ImageHandle, and NullData.
void SetSpatialSampling | ( | Real | d | ) | [inline] |
void SetSpatialSampling | ( | const Vec3 & | ) |
set spatial pixel dimensions (non-uniform)