6 #ifndef INCLUDED_IMF_FLAT_IMAGE_CHANNEL_H
7 #define INCLUDED_IMF_FLAT_IMAGE_CHANNEL_H
50 virtual Slice slice ()
const = 0;
74 virtual void resetBasePointer () = 0;
100 T& operator() (
int x,
int y);
101 const T& operator() (
int x,
int y)
const;
109 T& at (
int x,
int y);
110 const T& at (
int x,
int y)
const;
121 const T*
row (
int r)
const;
170 return _base[(y / ySampling ()) * pixelsPerRow () + (x / xSampling ())];
177 return _base[(y / ySampling ()) * pixelsPerRow () + (x / xSampling ())];
185 return _base[(y / ySampling ()) * pixelsPerRow () + (x / xSampling ())];
193 return _base[(y / ySampling ()) * pixelsPerRow () + (x / xSampling ())];
200 return _base + r * pixelsPerRow ();
207 return _base + n * pixelsPerRow ();
210 #ifndef COMPILING_IMF_FLAT_IMAGE_CHANNEL
FlatImageChannel & operator=(const FlatImageChannel &other)=delete
#define IMFUTIL_EXPORT_EXTERN_TEMPLATE
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
#define IMFUTIL_EXPORT_TEMPLATE_TYPE
virtual PixelType pixelType() const =0
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER enum IMF_EXPORT_ENUM PixelType
TypedFlatImageChannel< float > FlatFloatChannel
TypedFlatImageChannel< half > FlatHalfChannel
T & operator()(int x, int y)
virtual void resetBasePointer()=0
virtual IMFUTIL_EXPORT void resize()
LeafData & operator=(const LeafData &)=delete
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
GLenum GLenum GLsizei void * row
TypedFlatImageChannel< unsigned int > FlatUIntChannel
virtual Slice slice() const =0