HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OCIO_NAMESPACE::LogAffineTransform Class Referenceabstract

#include <OpenColorTransforms.h>

+ Inheritance diagram for OCIO_NAMESPACE::LogAffineTransform:

Public Member Functions

TransformType getTransformType () const noexceptoverride
 
virtual const FormatMetadatagetFormatMetadata () const noexcept=0
 
virtual FormatMetadatagetFormatMetadata () noexcept=0
 
virtual bool equals (const LogAffineTransform &other) const noexcept=0
 Checks if this exactly equals other. More...
 
virtual double getBase () const noexcept=0
 
virtual void setBase (double base) noexcept=0
 
virtual void getLogSideSlopeValue (double(&values)[3]) const noexcept=0
 
virtual void setLogSideSlopeValue (const double(&values)[3]) noexcept=0
 
virtual void getLogSideOffsetValue (double(&values)[3]) const noexcept=0
 
virtual void setLogSideOffsetValue (const double(&values)[3]) noexcept=0
 
virtual void getLinSideSlopeValue (double(&values)[3]) const noexcept=0
 
virtual void setLinSideSlopeValue (const double(&values)[3]) noexcept=0
 
virtual void getLinSideOffsetValue (double(&values)[3]) const noexcept=0
 
virtual void setLinSideOffsetValue (const double(&values)[3]) noexcept=0
 
 LogAffineTransform (const LogAffineTransform &)=delete
 
LogAffineTransformoperator= (const LogAffineTransform &)=delete
 
virtual ~LogAffineTransform ()=default
 Do not use (needed only for pybind11). More...
 
- Public Member Functions inherited from OCIO_NAMESPACE::Transform
virtual TransformRcPtr createEditableCopy () const =0
 
virtual TransformDirection getDirection () const noexcept=0
 
virtual void setDirection (TransformDirection dir) noexcept=0
 Note that this only affects the evaluation and not the values stored in the object. More...
 
virtual void validate () const
 Will throw if data is not valid. More...
 
 Transform (const Transform &)=delete
 
Transformoperator= (const Transform &)=delete
 
virtual ~Transform ()=default
 Do not use (needed only for pybind11). More...
 

Static Public Member Functions

static LogAffineTransformRcPtr Create ()
 

Protected Member Functions

 LogAffineTransform ()=default
 
- Protected Member Functions inherited from OCIO_NAMESPACE::Transform
 Transform ()=default
 

Detailed Description

Applies a logarithm with an affine transform before and after. Represents the Cineon lin-to-log type transforms::

logSideSlope * log( linSideSlope * color + linSideOffset, base) + logSideOffset

  • Default values are: 1. * log( 1. * color + 0., 2.) + 0.
  • The alpha channel is not affected.

Definition at line 1398 of file OpenColorTransforms.h.

Constructor & Destructor Documentation

OCIO_NAMESPACE::LogAffineTransform::LogAffineTransform ( const LogAffineTransform )
delete
virtual OCIO_NAMESPACE::LogAffineTransform::~LogAffineTransform ( )
virtualdefault

Do not use (needed only for pybind11).

OCIO_NAMESPACE::LogAffineTransform::LogAffineTransform ( )
protecteddefault

Member Function Documentation

static LogAffineTransformRcPtr OCIO_NAMESPACE::LogAffineTransform::Create ( )
static
virtual bool OCIO_NAMESPACE::LogAffineTransform::equals ( const LogAffineTransform other) const
pure virtualnoexcept

Checks if this exactly equals other.

virtual double OCIO_NAMESPACE::LogAffineTransform::getBase ( ) const
pure virtualnoexcept
virtual const FormatMetadata& OCIO_NAMESPACE::LogAffineTransform::getFormatMetadata ( ) const
pure virtualnoexcept
virtual FormatMetadata& OCIO_NAMESPACE::LogAffineTransform::getFormatMetadata ( )
pure virtualnoexcept
virtual void OCIO_NAMESPACE::LogAffineTransform::getLinSideOffsetValue ( double(&)  values[3]) const
pure virtualnoexcept
virtual void OCIO_NAMESPACE::LogAffineTransform::getLinSideSlopeValue ( double(&)  values[3]) const
pure virtualnoexcept
virtual void OCIO_NAMESPACE::LogAffineTransform::getLogSideOffsetValue ( double(&)  values[3]) const
pure virtualnoexcept
virtual void OCIO_NAMESPACE::LogAffineTransform::getLogSideSlopeValue ( double(&)  values[3]) const
pure virtualnoexcept
TransformType OCIO_NAMESPACE::LogAffineTransform::getTransformType ( ) const
inlineoverridevirtualnoexcept

Implements OCIO_NAMESPACE::Transform.

Definition at line 1403 of file OpenColorTransforms.h.

LogAffineTransform& OCIO_NAMESPACE::LogAffineTransform::operator= ( const LogAffineTransform )
delete
virtual void OCIO_NAMESPACE::LogAffineTransform::setBase ( double  base)
pure virtualnoexcept
virtual void OCIO_NAMESPACE::LogAffineTransform::setLinSideOffsetValue ( const double(&)  values[3])
pure virtualnoexcept
virtual void OCIO_NAMESPACE::LogAffineTransform::setLinSideSlopeValue ( const double(&)  values[3])
pure virtualnoexcept
virtual void OCIO_NAMESPACE::LogAffineTransform::setLogSideOffsetValue ( const double(&)  values[3])
pure virtualnoexcept
virtual void OCIO_NAMESPACE::LogAffineTransform::setLogSideSlopeValue ( const double(&)  values[3])
pure virtualnoexcept

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