Go to the documentation of this file.
27 #ifndef IMG_FUNCTION_BASE_H
28 #define IMG_FUNCTION_BASE_H
36 namespace ost {
namespace img {
39 class NonModAlgorithm;
75 virtual DataType GetType()
const = 0;
85 virtual Extent GetExtent()
const;
87 void SetExtent(
const Extent& e);
90 virtual void SetSpatialOrigin(
const Point& o);
92 virtual Point GetSpatialOrigin()
const;
104 virtual Real GetReal(
const Point& p)
const;
110 virtual Real GetIntpolReal(
const Vec3 &v)
const=0;
111 virtual Real GetIntpolReal(
const Vec2 &v)
const;
112 virtual Real GetIntpolReal(
const Real &d)
const;
115 virtual Complex GetIntpolComplex(
const Vec3 &v)
const=0;
116 virtual Complex GetIntpolComplex(
const Vec2 &v)
const;
117 virtual Complex GetIntpolComplex(
const Real &d)
const;
137 virtual void Notify()
const;