7#ifndef PXR_USD_USD_INTERPOLATION_H
8#define PXR_USD_USD_INTERPOLATION_H
13#include "pxr/usd/usd/api.h"
18PXR_NAMESPACE_OPEN_SCOPE
57#define USD_LINEAR_INTERPOLATION_TYPES \
58 (GfHalf) (VtArray<GfHalf>) \
59 (float) (VtArray<float>) \
60 (double) (VtArray<double>) \
61 (GfTimeCode) (VtArray<GfTimeCode>) \
62 (GfDuration) (VtArray<GfDuration>) \
63 (GfMatrix2d) (VtArray<GfMatrix2d>) \
64 (GfMatrix3d) (VtArray<GfMatrix3d>) \
65 (GfMatrix4d) (VtArray<GfMatrix4d>) \
66 (GfVec2d) (VtArray<GfVec2d>) \
67 (GfVec2f) (VtArray<GfVec2f>) \
68 (GfVec2h) (VtArray<GfVec2h>) \
69 (GfVec3d) (VtArray<GfVec3d>) \
70 (GfVec3f) (VtArray<GfVec3f>) \
71 (GfVec3h) (VtArray<GfVec3h>) \
72 (GfVec4d) (VtArray<GfVec4d>) \
73 (GfVec4f) (VtArray<GfVec4f>) \
74 (GfVec4h) (VtArray<GfVec4h>) \
75 (GfQuatd) (VtArray<GfQuatd>) \
76 (GfQuatf) (VtArray<GfQuatf>) \
77 (GfQuath) (VtArray<GfQuath>)
89 static const bool isSupported =
false;
93#define _USD_DECLARE_INTERPOLATION_TRAITS(unused, type) \
95struct UsdLinearInterpolationTraits<type> \
97 static const bool isSupported = true; \
100TF_PP_SEQ_FOR_EACH(_USD_DECLARE_INTERPOLATION_TRAITS, ~,
103#undef _USD_DECLARE_INTERPOLATION_TRAITS
107PXR_NAMESPACE_CLOSE_SCOPE
UsdInterpolationType
Attribute value interpolation options.
@ UsdInterpolationTypeHeld
Held interpolation.
@ UsdInterpolationTypeLinear
Linear interpolation.
#define USD_LINEAR_INTERPOLATION_TYPES
Sequence of value types that support linear interpolation.
Traits class describing whether a particular C++ value type supports linear interpolation.