17 #ifndef __GA_AIFMathDev__
18 #define __GA_AIFMathDev__
64 int component = -1) const;
68 int component = -1) const;
72 int component = -1) const;
76 int component = -1) const;
81 const UT_Matrix4 &xform) const;
84 const UT_DMatrix4 &xform) const;
87 const UT_Matrix3 &xform) const;
90 const UT_DMatrix3 &xform) const;
93 const UT_Matrix4 &xform) const;
96 const UT_DMatrix4 &xform) const;
99 const UT_Matrix3 &xform) const;
102 const UT_DMatrix3 &xform) const;
105 const UT_Matrix4 &xform) const;
108 const UT_DMatrix4 &xform) const;
111 const UT_Matrix4 &xform) const;
114 const UT_DMatrix4 &xform) const;
115 template <typename MTYPE>
118 const MTYPE &xform)
const
120 template <
typename MTYPE>
123 const MTYPE &xform)
const
125 template <
typename MTYPE>
128 const MTYPE &xform)
const
UT_Vector3T< T > rowVecMult(const UT_Vector3T< T > &v, const UT_Matrix3T< S > &m)
Attribute Interface class to perform numeric operations on attributes.
bool vtransform(GA_AttributeOperand &dest, GA_AttributeOperand &src, const MTYPE &xform) const
Use the define from GA_AIFMath to declare binary methods.
GLboolean GLboolean GLboolean GLboolean a
bool ntransform(GA_AttributeOperand &dest, GA_AttributeOperand &src, const MTYPE &xform) const
Use the define from GA_AIFMath to declare binary methods.
ImageBuf OIIO_API sub(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
OIIO_FORCEINLINE OIIO_HOSTDEVICE float madd(float a, float b, float c)
Fused multiply and add: (a*b + c)
#define GA_MATH_SPEC_BINARY(NAME)
Convenience define for sub-class implementations.
GLboolean GLboolean GLboolean b
UT_Vector3T< T > colVecMult3(const UT_Matrix4T< S > &m, const UT_Vector3T< T > &v)
UT_Vector3T< T > rowVecMult3(const UT_Vector3T< T > &v, const UT_Matrix4T< S > &m)
Generic implmentation of the AIFMath implementation using AIFTuple.
UT_Vector3T< T > colVecMult(const UT_Matrix3T< S > &m, const UT_Vector3T< T > &v)
ImageBuf OIIO_API add(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
constexpr T normalize(UT_FixedVector< T, D > &a) noexcept
#define GA_MATH_SPEC_TRANSFORM(DTYPE, FTYPE, NAME)
ImageBuf OIIO_API mul(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)