6 #ifndef INCLUDED_IMF_FLAT_IMAGE_LEVEL_H
7 #define INCLUDED_IMF_FLAT_IMAGE_LEVEL_H
90 typedef std::map<std::string, FlatImageChannel*>
ChannelMap;
98 ConstIterator
begin ()
const;
103 ConstIterator
end ()
const;
158 Iterator (
const FlatImageLevel::ChannelMap::iterator& i);
165 Iterator& operator++ ();
167 Iterator operator++ (
int);
182 FlatImageLevel::ChannelMap::iterator _i;
191 ConstIterator (
const FlatImageLevel::ChannelMap::const_iterator& i);
200 ConstIterator& operator++ ();
202 ConstIterator operator++ (
int);
215 friend bool operator== (
const ConstIterator&,
const ConstIterator&);
217 friend bool operator!= (
const ConstIterator&,
const ConstIterator&);
219 FlatImageLevel::ChannelMap::const_iterator _i;
262 inline FlatImageLevel::Iterator::Iterator () : _i ()
267 inline FlatImageLevel::Iterator::Iterator (
268 const FlatImageLevel::ChannelMap::iterator& i)
275 FlatImageLevel::Iterator::operator++ ()
282 FlatImageLevel::Iterator::operator++ (
int)
284 Iterator tmp = *
this;
296 FlatImageLevel::Iterator::channel ()
const
301 inline FlatImageLevel::ConstIterator::ConstIterator () : _i ()
306 inline FlatImageLevel::ConstIterator::ConstIterator (
307 const FlatImageLevel::ChannelMap::const_iterator& i)
313 inline FlatImageLevel::ConstIterator::ConstIterator (
321 FlatImageLevel::ConstIterator::operator++ ()
328 FlatImageLevel::ConstIterator::operator++ (
int)
330 ConstIterator tmp = *
this;
342 FlatImageLevel::ConstIterator::channel ()
const
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
IMFUTIL_EXPORT ConstIterator()
IMFUTIL_EXPORT const IMATH_NAMESPACE::Box2i & dataWindow() const
GLsizei const GLchar *const * string
IMFUTIL_EXPORT FlatImageChannel * findChannel(const std::string &name)
IMFUTIL_EXPORT Iterator()
GLenum GLenum GLsizei void * image
virtual void clearChannels()=0
virtual IMFUTIL_EXPORT void resize(const IMATH_NAMESPACE::Box2i &dataWindow)
IMFUTIL_EXPORT const std::string & name() const
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER typedef std::map< std::string, std::string > RenamingMap
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER enum IMF_EXPORT_ENUM PixelType
Box< V2i > Box2i
2D box of base type int.
virtual void renameChannel(const std::string &oldName, const std::string &newName)=0
bool operator==(const FlatImageLevel::ConstIterator &x, const FlatImageLevel::ConstIterator &y)
#define IMFUTIL_EXPORT_TYPE
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
IMFUTIL_EXPORT void throwBadChannelNameOrType(const std::string &name) const
TypedFlatImageChannel< T > * findTypedChannel(const std::string &name)
virtual void renameChannels(const RenamingMap &oldToNewNames)=0
GLuint const GLchar * name
virtual IMFUTIL_EXPORT void shiftPixels(int dx, int dy)
virtual void insertChannel(const std::string &name, PixelType type, int xSampling, int ySampling, bool pLinear)=0
bool operator!=(const FlatImageLevel::ConstIterator &x, const FlatImageLevel::ConstIterator &y)
virtual void eraseChannel(const std::string &name)=0
std::map< std::string, FlatImageChannel * > ChannelMap
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
TypedFlatImageChannel< T > & typedChannel(const std::string &name)
PcpNodeRef_ChildrenIterator begin(const PcpNodeRef::child_const_range &r)
Support for range-based for loops for PcpNodeRef children ranges.