36 { myEval =
eval; myEvalData = eval_data; }
39 int xdivs,
int ydivs,
int zdivs,
40 bool makepolysoup =
false);
44 {
return myEval(pos, myEvalData); }
bool isThreadSafe() const
virtual UT_Vector3 evalGrad(const UT_Vector3 &pos)
Evaluate gradients if available.
virtual float evalEdge(const UT_Vector3 &pos)
Evaluate the field at a position.
UT_Vector3T< float > UT_Vector3
void setCallback(GU_IsoCallback eval, void *eval_data)
virtual void fillPrimitiveAttributes(GEO_Primitive *primitive)
This function can be used to fill out primitive attribute information.
virtual void fillPointVertexAttributes(GU_Detail &detail, GA_Offset vtxoff)
virtual bool hasGradient() const
Check whether gradients are available for surfacing.
IMATH_NAMESPACE::V2f float
HUSD_API bool eval(VtValue &val, T &ret_val)
float(* GU_IsoCallback)(const UT_Vector3 &pos, void *data)
Function to determine inside/outside tests.