13 #ifndef __GEO_MetaExpr_h__
14 #define __GEO_MetaExpr_h__
53 int64 getMemoryUsage(
bool inclusive)
const;
93 void computeNormalizedAttributes(
const UT_Vector3 &pos,
118 {
return serializeT<int32>(expr, opcodes, nprimitives); }
122 {
return serializeT<int64>(expr, opcodes, nprimitives); }
128 return unserializeT<int32>(expr, opcodes.
getRawArray(),
133 return unserializeT<int64>(expr, opcodes.
getRawArray(),
137 {
return unserializeT<int32>(expr, array,
size); }
139 {
return unserializeT<int64>(expr, array,
size); }
143 template <
typename INT_T>
147 template <
typename INT_T>
149 const INT_T *opcodes,
152 #ifdef INTEL_COMPILER
const T * getRawArray() const
Context to keep track of weighted sums.
**But if you need a result
void preCompute(int order, EvalBuffer &ebuf, int span, fpreal t, const Knots &knots) const
When computing with knots, there need to be Order*2+1 knots for a span.
A range of elements in an index-map.
This class provides a way to manage a reference to an attribute permitting Read-Only access...
A handle to simplify manipulation of multiple attributes.
exint entries() const
Alias of size(). size() is preferred.