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
56#define USD_LINEAR_INTERPOLATION_TYPES \
57 (GfHalf) (VtArray<GfHalf>) \
58 (float) (VtArray<float>) \
59 (double) (VtArray<double>) \
60 (SdfTimeCode) (VtArray<SdfTimeCode>) \
61 (GfMatrix2d) (VtArray<GfMatrix2d>) \
62 (GfMatrix3d) (VtArray<GfMatrix3d>) \
63 (GfMatrix4d) (VtArray<GfMatrix4d>) \
64 (GfVec2d) (VtArray<GfVec2d>) \
65 (GfVec2f) (VtArray<GfVec2f>) \
66 (GfVec2h) (VtArray<GfVec2h>) \
67 (GfVec3d) (VtArray<GfVec3d>) \
68 (GfVec3f) (VtArray<GfVec3f>) \
69 (GfVec3h) (VtArray<GfVec3h>) \
70 (GfVec4d) (VtArray<GfVec4d>) \
71 (GfVec4f) (VtArray<GfVec4f>) \
72 (GfVec4h) (VtArray<GfVec4h>) \
73 (GfQuatd) (VtArray<GfQuatd>) \
74 (GfQuatf) (VtArray<GfQuatf>) \
75 (GfQuath) (VtArray<GfQuath>)
87 static const bool isSupported =
false;
91#define _USD_DECLARE_INTERPOLATION_TRAITS(unused, type) \
93struct UsdLinearInterpolationTraits<type> \
95 static const bool isSupported = true; \
98TF_PP_SEQ_FOR_EACH(_USD_DECLARE_INTERPOLATION_TRAITS, ~,
101#undef _USD_DECLARE_INTERPOLATION_TRAITS
105PXR_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.