25 #ifndef PXR_BASE_TS_TYPES_H
26 #define PXR_BASE_TS_TYPES_H
49 #include "pxr/base/vt/array.h"
86 typedef std::pair<TsExtrapolationType,TsExtrapolationType>
102 bool inBlur =
false) :
130 template <
typename T>
156 static const bool isSupportedSplineValueType =
true;
157 static const bool interpolatable =
false;
158 static const bool extrapolatable =
false;
159 static const bool supportsTangents =
false;
165 static const bool isSupportedSplineValueType =
true;
166 static const bool interpolatable =
true;
167 static const bool extrapolatable =
true;
168 static const bool supportsTangents =
true;
174 static const bool isSupportedSplineValueType =
true;
175 static const bool interpolatable =
true;
176 static const bool extrapolatable =
true;
177 static const bool supportsTangents =
true;
183 static const bool isSupportedSplineValueType =
true;
184 static const bool interpolatable =
false;
185 static const bool extrapolatable =
false;
186 static const bool supportsTangents =
false;
192 static const bool isSupportedSplineValueType =
true;
193 static const bool interpolatable =
false;
194 static const bool extrapolatable =
false;
195 static const bool supportsTangents =
false;
201 static const bool isSupportedSplineValueType =
true;
202 static const bool interpolatable =
true;
203 static const bool extrapolatable =
true;
204 static const bool supportsTangents =
false;
210 static const bool isSupportedSplineValueType =
true;
211 static const bool interpolatable =
true;
212 static const bool extrapolatable =
true;
213 static const bool supportsTangents =
false;
219 static const bool isSupportedSplineValueType =
true;
220 static const bool interpolatable =
true;
221 static const bool extrapolatable =
true;
222 static const bool supportsTangents =
false;
228 static const bool isSupportedSplineValueType =
true;
229 static const bool interpolatable =
true;
230 static const bool extrapolatable =
true;
231 static const bool supportsTangents =
false;
237 static const bool isSupportedSplineValueType =
true;
238 static const bool interpolatable =
true;
239 static const bool extrapolatable =
true;
240 static const bool supportsTangents =
false;
246 static const bool isSupportedSplineValueType =
true;
247 static const bool interpolatable =
true;
248 static const bool extrapolatable =
true;
249 static const bool supportsTangents =
false;
255 static const bool isSupportedSplineValueType =
true;
256 static const bool interpolatable =
true;
257 static const bool extrapolatable =
false;
258 static const bool supportsTangents =
false;
264 static const bool isSupportedSplineValueType =
true;
265 static const bool interpolatable =
true;
266 static const bool extrapolatable =
false;
267 static const bool supportsTangents =
false;
273 static const bool isSupportedSplineValueType =
true;
274 static const bool interpolatable =
true;
275 static const bool extrapolatable =
true;
276 static const bool supportsTangents =
false;
282 static const bool isSupportedSplineValueType =
true;
283 static const bool interpolatable =
true;
284 static const bool extrapolatable =
true;
285 static const bool supportsTangents =
false;
291 static const bool isSupportedSplineValueType =
true;
292 static const bool interpolatable =
true;
293 static const bool extrapolatable =
true;
294 static const bool supportsTangents =
false;
300 static const bool isSupportedSplineValueType =
true;
301 static const bool interpolatable =
true;
302 static const bool extrapolatable =
true;
303 static const bool supportsTangents =
false;
309 static const bool isSupportedSplineValueType =
true;
310 static const bool interpolatable =
true;
311 static const bool extrapolatable =
true;
312 static const bool supportsTangents =
false;
313 static const bool supportsVaryingShapes =
false;
319 static const bool isSupportedSplineValueType =
true;
320 static const bool interpolatable =
false;
321 static const bool extrapolatable =
false;
322 static const bool supportsTangents =
false;
TsExtrapolationType
Spline extrapolation types.
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
TsTime rightTime
Right side time (exclusive)
Held; splines hold values at edges.
A Linear knot; tangents will be ignored.
GLsizei const GLchar *const * string
An individual sample. A sample is either a blur, defining a rectangle, or linear, defining a line for...
A held-value knot; tangents will be ignored.
static const GfVec4f zero
static const GfMatrix2d zero
static const GfQuatf zero
VtValue leftValue
Value at left or, for blur, min value.
static const bool extrapolatable
static const GfVec3f zero
IMATH_NAMESPACE::V2f float
TsKnotType
Keyframe knot types.
std::vector< TsValueSample > TsSamples
A sequence of samples.
static const VtArray< float > zero
Linear; splines hold slopes at edges.
static const VtArray< double > zero
static const GfVec2d zero
VtValue rightValue
Value at right or, for blur, max value.
static const bool isSupportedSplineValueType
PXR_NAMESPACE_OPEN_SCOPE typedef double TsTime
The time type used by Ts.
static const GfVec3d zero
TsSide
Dual-value keyframe side.
static const bool interpolatable
static const GfQuatd zero
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
static const TfToken zero
struct TsValueSample TsValueSample
An individual sample. A sample is either a blur, defining a rectangle, or linear, defining a line for...
#define PXR_NAMESPACE_CLOSE_SCOPE
TsTime leftTime
Left side time (inclusive)
std::pair< TsExtrapolationType, TsExtrapolationType > TsExtrapolationPair
A pair of TsExtrapolationTypes indicating left and right extrapolation in first and second...
static const GfMatrix3d zero
static const GfMatrix4d zero
static const std::string zero
TsValueSample(TsTime inLeftTime, const VtValue &inLeftValue, TsTime inRightTime, const VtValue &inRightValue, bool inBlur=false)
static const bool supportsTangents
bool isBlur
True if a blur sample.
static const GfVec2f zero
static const GfVec4d zero