Go to the source code of this file.
|
| enum | TsInterpMode { TsInterpValueBlock = 0,
TsInterpHeld = 1,
TsInterpLinear = 2,
TsInterpCurve = 3
} |
| |
| enum | TsCurveType { TsCurveTypeBezier = 0,
TsCurveTypeHermite = 1
} |
| |
| enum | TsExtrapMode {
TsExtrapValueBlock = 0,
TsExtrapHeld = 1,
TsExtrapLinear = 2,
TsExtrapSloped = 3,
TsExtrapLoopRepeat = 4,
TsExtrapLoopReset = 5,
TsExtrapLoopOscillate = 6
} |
| |
| enum | TsSplineSampleSource {
TsSourcePreExtrap,
TsSourcePreExtrapLoop,
TsSourceInnerLoopPreEcho,
TsSourceInnerLoopProto,
TsSourceInnerLoopPostEcho,
TsSourceKnotInterp,
TsSourcePostExtrap,
TsSourcePostExtrapLoop
} |
| |
| enum | TsAntiRegressionMode { TsAntiRegressionNone,
TsAntiRegressionContain,
TsAntiRegressionKeepRatio,
TsAntiRegressionKeepStart
} |
| |
| #define _TS_SUPPORT_DATA_TYPE |
( |
|
unused, |
|
|
|
tuple |
|
) |
| |
Value:template <> \
inline constexpr bool \
TsSplineIsValidDataType< TS_SPLINE_VALUE_CPP_TYPE(tuple) > = true;
Definition at line 47 of file types.h.
| #define _TS_SUPPORT_SAMPLE_TYPE |
( |
|
unused, |
|
|
|
tuple |
|
) |
| |
Value:template <> \
inline constexpr bool \
TsSplineIsValidSampleType< TS_SPLINE_VALUE_CPP_TYPE(tuple) > = true;
Definition at line 62 of file types.h.
| #define TS_SAMPLE_EXTERN_IMPL |
( |
|
unused, |
|
|
|
tuple |
|
) |
| |
Value:
TsSplineSamplesWithSources<Vertex> is a TsSplineSamples<Vertex> that also includes source information...
#define TS_SPLINE_VALUE_CPP_TYPE(x)
#define TS_API_TEMPLATE_CLASS(...)
TsSplineSamples<Vertex> holds a collection of piecewise linear polylines that approximate a TsSpline...
Definition at line 259 of file types.h.
| #define TS_SPLINE_SAMPLE_VERTEX_TYPES |
Value:
math::Vec2< float > Vec2f
Definition at line 34 of file types.h.
| #define TS_SPLINE_SUPPORTED_VALUE_TYPES |
Sequence of value types that are supported by the spline system.
Definition at line 29 of file types.h.
Modes for enforcing non-regression in splines.
See page_ts_regression for a general introduction to regression and anti-regression.
| Enumerator |
|---|
| TsAntiRegressionNone |
Do not enforce. If there is regression, runtime evaluation will use KeepRatio.
|
| TsAntiRegressionContain |
Prevent tangents from crossing neighboring knots. This guarantees non-regression, but is slightly over-conservative, preventing the authoring of some extreme curves that cannot be created without non-contained tangents.
|
| TsAntiRegressionKeepRatio |
If there is regression in a segment, shorten both of its tangents until the regression is just barely prevented (the curve comes to a near-standstill at some time). Preserve the ratio of the tangent lengths.
|
| TsAntiRegressionKeepStart |
If there is regression in a segment, leave its start tangent alone, and shorten its end tangent until the regression is just barely prevented. This matches Maya behavior.
|
Definition at line 272 of file types.h.
Type of interpolation for a spline's Curve segments.
| Enumerator |
|---|
| TsCurveTypeBezier |
|
| TsCurveTypeHermite |
|
Definition at line 92 of file types.h.
Curve-shaping mode for one of a spline's extrapolation regions (before all knots and after all knots).
| Enumerator |
|---|
| TsExtrapValueBlock |
|
| TsExtrapHeld |
|
| TsExtrapLinear |
|
| TsExtrapSloped |
|
| TsExtrapLoopRepeat |
|
| TsExtrapLoopReset |
|
| TsExtrapLoopOscillate |
|
Definition at line 101 of file types.h.
Interpolation mode for a spline segment (region between two knots).
| Enumerator |
|---|
| TsInterpValueBlock |
|
| TsInterpHeld |
|
| TsInterpLinear |
|
| TsInterpCurve |
|
Definition at line 82 of file types.h.
The source for a particular part of a sampled spline. A TsSpline can have a number of different regions. The source is not important to the values that vary over time, but if the spline is sampled and displayed in a user interface, the source can be used to highlight different regions of the displayed spline.
| Enumerator |
|---|
| TsSourcePreExtrap |
|
| TsSourcePreExtrapLoop |
|
| TsSourceInnerLoopPreEcho |
|
| TsSourceInnerLoopProto |
|
| TsSourceInnerLoopPostEcho |
|
| TsSourceKnotInterp |
|
| TsSourcePostExtrap |
|
| TsSourcePostExtrapLoop |
|
Definition at line 118 of file types.h.
True if template parameter T is a supported spline sampling vertex type.
template<class T >
| constexpr bool TsSplineIsValidDataType = false |
|
inline |
True if template parameter T is a supported spline data type.
Definition at line 45 of file types.h.