24#ifndef PXR_USD_USD_INTERPOLATION_H
25#define PXR_USD_USD_INTERPOLATION_H
30#include "pxr/usd/usd/api.h"
35PXR_NAMESPACE_OPEN_SCOPE
73#define USD_LINEAR_INTERPOLATION_TYPES \
74 (GfHalf) (VtArray<GfHalf>) \
75 (float) (VtArray<float>) \
76 (double) (VtArray<double>) \
77 (SdfTimeCode) (VtArray<SdfTimeCode>) \
78 (GfMatrix2d) (VtArray<GfMatrix2d>) \
79 (GfMatrix3d) (VtArray<GfMatrix3d>) \
80 (GfMatrix4d) (VtArray<GfMatrix4d>) \
81 (GfVec2d) (VtArray<GfVec2d>) \
82 (GfVec2f) (VtArray<GfVec2f>) \
83 (GfVec2h) (VtArray<GfVec2h>) \
84 (GfVec3d) (VtArray<GfVec3d>) \
85 (GfVec3f) (VtArray<GfVec3f>) \
86 (GfVec3h) (VtArray<GfVec3h>) \
87 (GfVec4d) (VtArray<GfVec4d>) \
88 (GfVec4f) (VtArray<GfVec4f>) \
89 (GfVec4h) (VtArray<GfVec4h>) \
90 (GfQuatd) (VtArray<GfQuatd>) \
91 (GfQuatf) (VtArray<GfQuatf>) \
92 (GfQuath) (VtArray<GfQuath>)
104 static const bool isSupported =
false;
108#define _USD_DECLARE_INTERPOLATION_TRAITS(unused, type) \
110struct UsdLinearInterpolationTraits<type> \
112 static const bool isSupported = true; \
115TF_PP_SEQ_FOR_EACH(_USD_DECLARE_INTERPOLATION_TRAITS, ~,
118#undef _USD_DECLARE_INTERPOLATION_TRAITS
122PXR_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.