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

#include <OpenColorTransforms.h>

+ Inheritance diagram for OCIO_NAMESPACE::LogTransform:

Public Member Functions

TransformType getTransformType () const noexceptoverride
 
virtual const FormatMetadatagetFormatMetadata () const noexcept=0
 
virtual FormatMetadatagetFormatMetadata () noexcept=0
 
virtual bool equals (const LogTransform &other) const noexcept=0
 Checks if this exactly equals other. More...
 
virtual double getBase () const noexcept=0
 
virtual void setBase (double val) noexcept=0
 
 LogTransform (const LogTransform &)=delete
 
LogTransformoperator= (const LogTransform &)=delete
 
virtual ~LogTransform ()=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 LogTransformRcPtr Create ()
 

Protected Member Functions

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

Detailed Description

Represents log transform: log(color, base)

  • The input will be clamped for negative numbers.
  • Default base is 2.0.
  • The alpha channel is not affected.

Definition at line 1506 of file OpenColorTransforms.h.

Constructor & Destructor Documentation

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

Do not use (needed only for pybind11).

OCIO_NAMESPACE::LogTransform::LogTransform ( )
protecteddefault

Member Function Documentation

static LogTransformRcPtr OCIO_NAMESPACE::LogTransform::Create ( )
static
virtual bool OCIO_NAMESPACE::LogTransform::equals ( const LogTransform other) const
pure virtualnoexcept

Checks if this exactly equals other.

virtual double OCIO_NAMESPACE::LogTransform::getBase ( ) const
pure virtualnoexcept
virtual const FormatMetadata& OCIO_NAMESPACE::LogTransform::getFormatMetadata ( ) const
pure virtualnoexcept
virtual FormatMetadata& OCIO_NAMESPACE::LogTransform::getFormatMetadata ( )
pure virtualnoexcept
TransformType OCIO_NAMESPACE::LogTransform::getTransformType ( ) const
inlineoverridevirtualnoexcept

Implements OCIO_NAMESPACE::Transform.

Definition at line 1511 of file OpenColorTransforms.h.

LogTransform& OCIO_NAMESPACE::LogTransform::operator= ( const LogTransform )
delete
virtual void OCIO_NAMESPACE::LogTransform::setBase ( double  val)
pure virtualnoexcept

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