DD::Image::ReaderImpl Class Reference

Private, hidden implementation for DD::Image::Reader objects. More...

Inherits DD::Image::LUTInfo.

List of all members.

Public Member Functions

 ReaderImpl (Read *pOp, Reader *pReader)
virtual LUTdefaultLut () const
virtual std::string updateColorspaceDefaultValue ()
 Update overridden colorspace name and call updateColorspaceDefaultValue from the base class (LUTInfo)
void setOriginalDefaultLut (LUT *lut)

Detailed Description

Private, hidden implementation for DD::Image::Reader objects.


Member Function Documentation

void ReaderImpl::setOriginalDefaultLut ( LUT lut)

When Nuke is using OCIO color management, the reader's lut gets reset to linear in Read::make_reader(). This caused the problem that if updateColorspaceDefaultValue() is called after that it would determine the default colorspace mapping based on that, rather than what the reader actually specified for the default lut. This stores that original lut, and returns it from defaultLut() if set.

References DD::Image::Reader::lut().