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

A BSpline curve defined with GradingControlPoint. More...

#include <OpenColorTransforms.h>

Public Member Functions

virtual GradingBSplineCurveRcPtr createEditableCopy () const =0
 
virtual size_t getNumControlPoints () const noexcept=0
 
virtual void setNumControlPoints (size_t size)=0
 
virtual const GradingControlPointgetControlPoint (size_t index) const =0
 
virtual GradingControlPointgetControlPoint (size_t index)=0
 
virtual float getSlope (size_t index) const =0
 
virtual void setSlope (size_t index, float slope)=0
 
virtual bool slopesAreDefault () const =0
 
virtual void validate () const =0
 
 GradingBSplineCurve (const GradingBSplineCurve &)=delete
 
GradingBSplineCurveoperator= (const GradingBSplineCurve &)=delete
 
virtual ~GradingBSplineCurve ()=default
 Do not use (needed only for pybind11). More...
 

Static Public Member Functions

static GradingBSplineCurveRcPtr Create (size_t size)
 Create a BSpline curve with a specified number of control points. More...
 
static GradingBSplineCurveRcPtr Create (std::initializer_list< GradingControlPoint > values)
 Create a BSpline curve with a list of control points. More...
 

Protected Member Functions

 GradingBSplineCurve ()=default
 

Detailed Description

A BSpline curve defined with GradingControlPoint.

Definition at line 508 of file OpenColorTransforms.h.

Constructor & Destructor Documentation

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

Do not use (needed only for pybind11).

OCIO_NAMESPACE::GradingBSplineCurve::GradingBSplineCurve ( )
protecteddefault

Member Function Documentation

static GradingBSplineCurveRcPtr OCIO_NAMESPACE::GradingBSplineCurve::Create ( size_t  size)
static

Create a BSpline curve with a specified number of control points.

static GradingBSplineCurveRcPtr OCIO_NAMESPACE::GradingBSplineCurve::Create ( std::initializer_list< GradingControlPoint values)
static

Create a BSpline curve with a list of control points.

virtual GradingBSplineCurveRcPtr OCIO_NAMESPACE::GradingBSplineCurve::createEditableCopy ( ) const
pure virtual
virtual const GradingControlPoint& OCIO_NAMESPACE::GradingBSplineCurve::getControlPoint ( size_t  index) const
pure virtual
virtual GradingControlPoint& OCIO_NAMESPACE::GradingBSplineCurve::getControlPoint ( size_t  index)
pure virtual
virtual size_t OCIO_NAMESPACE::GradingBSplineCurve::getNumControlPoints ( ) const
pure virtualnoexcept
virtual float OCIO_NAMESPACE::GradingBSplineCurve::getSlope ( size_t  index) const
pure virtual
GradingBSplineCurve& OCIO_NAMESPACE::GradingBSplineCurve::operator= ( const GradingBSplineCurve )
delete
virtual void OCIO_NAMESPACE::GradingBSplineCurve::setNumControlPoints ( size_t  size)
pure virtual
virtual void OCIO_NAMESPACE::GradingBSplineCurve::setSlope ( size_t  index,
float  slope 
)
pure virtual
virtual bool OCIO_NAMESPACE::GradingBSplineCurve::slopesAreDefault ( ) const
pure virtual
virtual void OCIO_NAMESPACE::GradingBSplineCurve::validate ( ) const
pure virtual

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