All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OCIO_NAMESPACE::GradingRGBMSW Struct Reference

#include <OpenColorTransforms.h>

Public Member Functions

 GradingRGBMSW ()=default
 GradingRGBMSW (const GradingRGBMSW &)=default
 GradingRGBMSW (double red, double green, double blue, double master, double start, double width)
 GradingRGBMSW (const double(&rgbmsw)[6])
 GradingRGBMSW (double start, double width)

Public Attributes

double m_red { 1. }
double m_green { 1. }
double m_blue { 1. }
double m_master { 1. }
double m_start { 0. }
double m_width { 1. }

Detailed Description

Used by the grading tone transforms to hold the red, green, blue, master, start, and width components of a single parameter. The master component affects all three channels (RGB). The start and width components control the range of tones affected. Although this struct simply uses "start" and "width" for all the range values, the actual user-facing name changes based on the parameter.

Definition at line 574 of file OpenColorTransforms.h.

Constructor & Destructor Documentation

OCIO_NAMESPACE::GradingRGBMSW::GradingRGBMSW ( const GradingRGBMSW )
OCIO_NAMESPACE::GradingRGBMSW::GradingRGBMSW ( double  red,
double  green,
double  blue,
double  master,
double  start,
double  width 

Definition at line 578 of file OpenColorTransforms.h.

OCIO_NAMESPACE::GradingRGBMSW::GradingRGBMSW ( const double(&)  rgbmsw[6])

Definition at line 587 of file OpenColorTransforms.h.

OCIO_NAMESPACE::GradingRGBMSW::GradingRGBMSW ( double  start,
double  width 

Definition at line 596 of file OpenColorTransforms.h.

Member Data Documentation

double OCIO_NAMESPACE::GradingRGBMSW::m_blue { 1. }

Definition at line 603 of file OpenColorTransforms.h.

double OCIO_NAMESPACE::GradingRGBMSW::m_green { 1. }

Definition at line 602 of file OpenColorTransforms.h.

double OCIO_NAMESPACE::GradingRGBMSW::m_master { 1. }

Definition at line 604 of file OpenColorTransforms.h.

double OCIO_NAMESPACE::GradingRGBMSW::m_red { 1. }

Definition at line 601 of file OpenColorTransforms.h.

double OCIO_NAMESPACE::GradingRGBMSW::m_start { 0. }

Definition at line 605 of file OpenColorTransforms.h.

double OCIO_NAMESPACE::GradingRGBMSW::m_width { 1. }

Definition at line 606 of file OpenColorTransforms.h.

The documentation for this struct was generated from the following file: