27 #ifndef IMG_PIXEL_SAMPLING_H
28 #define IMG_PIXEL_SAMPLING_H
36 namespace ost {
namespace img {
44 Error(
"invalid sampling value used, must be >0")
80 Vec3 spat_scale_, i_spat_scale_;
81 Vec3 freq_scale_, i_freq_scale_;
84 void set_spat_scale(
const Vec3& d);
85 void set_freq_scale(
const Vec3& d);
Defines lower and upper valid indices.
Helper class to handle pixel sampling.
void SetSpatialSampling(const Vec3 &d)
Vec3 Vec2Coord(const Vec3 &p) const
Vec3 Point2Coord(const Point &p) const
const Vec3 & GetPixelSampling() const
PixelSampling(const Vec3 &spat_sampling, DataDomain d, const Extent &e)
void SetPixelSampling(const Vec3 &)
Vec3 Coord2Point(const Vec3 &c) const
void SetDomain(DataDomain d)
const Vec3 & GetSpatialSampling() const
void SetFrequencySampling(const Vec3 &d)
void SetExtent(const Extent &e)
const Vec3 & GetFrequencySampling() const
class encapsulating 1D to 3D point
#define DLLEXPORT_OST_IMG_BASE
DataDomain
underlying data type