HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TsValueSample Struct Reference

An individual sample. A sample is either a blur, defining a rectangle, or linear, defining a line for linear interpolation. In both cases the sample is half-open on the right. More...

#include <types.h>

Public Member Functions

 TsValueSample (TsTime inLeftTime, const VtValue &inLeftValue, TsTime inRightTime, const VtValue &inRightValue, bool inBlur=false)
 

Public Attributes

bool isBlur
 True if a blur sample. More...
 
TsTime leftTime
 Left side time (inclusive) More...
 
TsTime rightTime
 Right side time (exclusive) More...
 
VtValue leftValue
 Value at left or, for blur, min value. More...
 
VtValue rightValue
 Value at right or, for blur, max value. More...
 

Detailed Description

An individual sample. A sample is either a blur, defining a rectangle, or linear, defining a line for linear interpolation. In both cases the sample is half-open on the right.

Definition at line 98 of file types.h.

Constructor & Destructor Documentation

TsValueSample::TsValueSample ( TsTime  inLeftTime,
const VtValue inLeftValue,
TsTime  inRightTime,
const VtValue inRightValue,
bool  inBlur = false 
)
inline

Definition at line 100 of file types.h.

Member Data Documentation

bool TsValueSample::isBlur

True if a blur sample.

Definition at line 111 of file types.h.

TsTime TsValueSample::leftTime

Left side time (inclusive)

Definition at line 112 of file types.h.

VtValue TsValueSample::leftValue

Value at left or, for blur, min value.

Definition at line 114 of file types.h.

TsTime TsValueSample::rightTime

Right side time (exclusive)

Definition at line 113 of file types.h.

VtValue TsValueSample::rightValue

Value at right or, for blur, max value.

Definition at line 115 of file types.h.


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