|
HDK
|
#include <valueTransform.h>
Friends | |
| template<class Xf > | |
| bool | VtValueCanTransform (VtValueRef obj, Xf const &xfObj) |
| template<class Xf > | |
| VtValue | VtValueTryTransform (VtValueRef obj, Xf const &xfObj) |
Definition at line 22 of file valueTransform.h.
|
friend |
Return true if obj is not empty, views an object that supports value transforms, and has value transform support registered for transforms of type Xf. Note that the type Xf does not have specific requirements, but typically represents a possibly "polymorphic" transform that can apply to many types. For example, "Transpose" may apply to many matrix types. Or "Normalize" to many vector types.
Definition at line 51 of file valueTransform.h.
|
friend |
Attempt to transform obj by xfObj and return the result. If no transformation is done, return an empty value. Strongly typed transforms are preferred to type-erased transforms.
Definition at line 64 of file valueTransform.h.