11 #ifndef __GA_Transform__
12 #define __GA_Transform__
49 template <
typename FLOAT_T>
60 template<
typename FLOAT_T2>
68 template<
typename FLOAT_T2>
91 myQ.updateFromArbitraryMatrix(m3);
140 { myTransformPageF(*
this, ctx, start, end); }
143 { myTransformPageD(*
this, ctx, start, end); }
146 { myTransformF(*
this, ctx, offset); }
149 { myTransformD(*
this, ctx, offset); }
168 template<
typename FLOAT_T>
173 UT_ASSERT_P(!myIsDouble == (
sizeof(FLOAT_T) == 4));
193 void setupFunctions();
195 GAtransformF myTransformF;
196 GAtransformD myTransformD;
197 GAtransformPageF myTransformPageF;
198 GAtransformPageD myTransformPageD;
217 void addAttributes(
bool keep_lengths=
false);
222 bool keep_lenghts=
false);
227 bool keep_lengths=
false);
229 void clearAttributes();
246 Transform<fpreal32> &m)
const;
248 Transform<fpreal64> &m)
const;
250 Transform<fpreal32> &m32,
251 Transform<fpreal64> &m64)
const;
255 Transform<fpreal32> &m32,
256 Transform<fpreal64> &m64)
const;
273 template <
typename FLOAT_T>
274 void updateTransform(Transform<FLOAT_T> &xform)
const
277 xform.computeInverse();
279 xform.computeQuaternion();
Definition of a geometry attribute.
Data has no numeric representation.
UT_ASSERT_COMPILETIME(BRAY_EVENT_MAXFLAGS<=32)
Attribute Interface class to perform numeric operations on attributes.
A range of elements in an index-map.
GA_API const UT_StringHolder transform
Container class for all geometry.
Generic Attribute Interface class to access an attribute as a tuple.
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter