HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OCIO_NAMESPACE::DisplayViewHelpers Namespace Reference

Functions

OCIOEXPORT ConstProcessorRcPtr GetProcessor (const ConstConfigRcPtr &config, const ConstContextRcPtr &context, const char *workingName, const char *displayName, const char *viewName, const ConstMatrixTransformRcPtr &channelView, TransformDirection direction)
 
OCIOEXPORT ConstProcessorRcPtr GetProcessor (const ConstConfigRcPtr &config, const char *workingName, const char *displayName, const char *viewName, const ConstMatrixTransformRcPtr &channelView, TransformDirection direction)
 
OCIOEXPORT ConstProcessorRcPtr GetIdentityProcessor (const ConstConfigRcPtr &config)
 Get an identity processor containing only the ExposureContrastTransforms. More...
 
OCIOEXPORT void AddDisplayView (ConfigRcPtr &config, const char *displayName, const char *viewName, const char *lookDefinition, const char *colorSpaceName, const char *colorSpaceFamily, const char *colorSpaceDescription, const char *categories, const char *transformFilePath, const char *connectionColorSpaceName)
 
OCIOEXPORT void RemoveDisplayView (ConfigRcPtr &config, const char *displayName, const char *viewName)
 

Function Documentation

OCIOEXPORT void OCIO_NAMESPACE::DisplayViewHelpers::AddDisplayView ( ConfigRcPtr &  config,
const char *  displayName,
const char *  viewName,
const char *  lookDefinition,
const char *  colorSpaceName,
const char *  colorSpaceFamily,
const char *  colorSpaceDescription,
const char *  categories,
const char *  transformFilePath,
const char *  connectionColorSpaceName 
)

Add a new (display, view) pair and the new color space to a configuration instance. The input to the userTransform must be in the specified connectionColorSpace.

OCIOEXPORT ConstProcessorRcPtr OCIO_NAMESPACE::DisplayViewHelpers::GetIdentityProcessor ( const ConstConfigRcPtr &  config)

Get an identity processor containing only the ExposureContrastTransforms.

OCIOEXPORT ConstProcessorRcPtr OCIO_NAMESPACE::DisplayViewHelpers::GetProcessor ( const ConstConfigRcPtr &  config,
const ConstContextRcPtr &  context,
const char *  workingName,
const char *  displayName,
const char *  viewName,
const ConstMatrixTransformRcPtr &  channelView,
TransformDirection  direction 
)

Get the processor from the working color space to (display, view) pair (forward) or (display, view) pair to working (inverse). The working color space name could be a role name or a color space name. ChannelView can be empty. If not already present, each of these functions adds ExposureContrastTransforms to enable changing exposure, contrast, and gamma after the processor has been created using dynamic properties.

OCIOEXPORT ConstProcessorRcPtr OCIO_NAMESPACE::DisplayViewHelpers::GetProcessor ( const ConstConfigRcPtr &  config,
const char *  workingName,
const char *  displayName,
const char *  viewName,
const ConstMatrixTransformRcPtr &  channelView,
TransformDirection  direction 
)
OCIOEXPORT void OCIO_NAMESPACE::DisplayViewHelpers::RemoveDisplayView ( ConfigRcPtr &  config,
const char *  displayName,
const char *  viewName 
)

Remove a (display, view) pair including the associated color space (only if not used). Note that the view is always removed but the display is only removed if empty.