6 #ifndef IMFDEEPFRAMEBUFFER_H_
7 #define IMFDEEPFRAMEBUFFER_H_
54 size_t sampleStride = 0,
57 double fillValue = 0.0,
58 bool xTileCoords =
false,
59 bool yTileCoords =
false);
92 DeepSlice& operator[] (
const char name[]);
94 const DeepSlice& operator[] (
const char name[])
const;
102 DeepSlice* findSlice (
const char name[]);
104 const DeepSlice* findSlice (
const char name[])
const;
123 ConstIterator
begin ()
const;
128 ConstIterator
end ()
const;
131 Iterator
find (
const char name[]);
133 ConstIterator
find (
const char name[])
const;
145 void insertSampleCountSlice (
const Slice& slice);
147 const Slice& getSampleCountSlice ()
const;
164 Iterator (
const DeepFrameBuffer::SliceMap::iterator& i);
167 Iterator& operator++ ();
169 Iterator operator++ (
int);
172 const char*
name ()
const;
179 DeepFrameBuffer::SliceMap::iterator _i;
188 ConstIterator (
const DeepFrameBuffer::SliceMap::const_iterator& i);
193 ConstIterator& operator++ ();
195 ConstIterator operator++ (
int);
198 const char*
name ()
const;
203 friend bool operator== (
const ConstIterator&,
const ConstIterator&);
204 friend bool operator!= (
const ConstIterator&,
const ConstIterator&);
206 DeepFrameBuffer::SliceMap::const_iterator _i;
213 inline DeepFrameBuffer::Iterator::Iterator () : _i ()
218 inline DeepFrameBuffer::Iterator::Iterator (
219 const DeepFrameBuffer::SliceMap::iterator& i)
226 DeepFrameBuffer::Iterator::operator++ ()
233 DeepFrameBuffer::Iterator::operator++ (
int)
235 Iterator tmp = *
this;
247 DeepFrameBuffer::Iterator::slice ()
const
252 inline DeepFrameBuffer::ConstIterator::ConstIterator () : _i ()
257 inline DeepFrameBuffer::ConstIterator::ConstIterator (
258 const DeepFrameBuffer::SliceMap::const_iterator& i)
264 inline DeepFrameBuffer::ConstIterator::ConstIterator (
272 DeepFrameBuffer::ConstIterator::operator++ ()
279 DeepFrameBuffer::ConstIterator::operator++ (
int)
281 ConstIterator tmp = *
this;
293 DeepFrameBuffer::ConstIterator::slice ()
const
IMF_EXPORT ConstIterator()
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
GLsizei const GLchar *const * string
OIIO_FORCEINLINE vbool4 insert(const vbool4 &a, bool val)
Helper: substitute val for a[i].
bool operator==(const DeepFrameBuffer::ConstIterator &x, const DeepFrameBuffer::ConstIterator &y)
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER enum IMF_EXPORT_ENUM PixelType
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
struct IMF_EXPORT_TYPE DeepSlice
bool operator!=(const DeepFrameBuffer::ConstIterator &x, const DeepFrameBuffer::ConstIterator &y)
GLuint const GLchar * name
std::map< Name, DeepSlice > SliceMap
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
FMT_CONSTEXPR auto find(Ptr first, Ptr last, T value, Ptr &out) -> bool
PcpNodeRef_ChildrenIterator begin(const PcpNodeRef::child_const_range &r)
Support for range-based for loops for PcpNodeRef children ranges.