12 #ifndef __GU_Surfacer_h__
13 #define __GU_Surfacer_h__
20 class guSurfacerCellEvaluator;
28 int xdivs,
int ydivs,
int zdivs,
30 bool makepolysoup =
false);
38 void addCell(
int x,
int y,
int z,
47 Evaluator(
bool hasgradient,
bool isthreadsafe=
false,
bool subsample=
false)
48 : myHasGradient(hasgradient)
49 , myIsThreadSafe(isthreadsafe)
50 , mySubSample(subsample)
74 void polygonize(Evaluator &
eval);
83 void addCell(
int x,
int y,
int z,
const guSurfacerCellEvaluator *e);
UT_Vector3T< float > UT_Vector3
**And then you can **find out if it s done
bool isThreadSafe() const
virtual void pointAdded(GEO_Detail *gdp, GA_Offset ptoff, int idx0, int idx1, fpreal u)
called after adding a new point to the detail
const UT_Vector3 & getStepSize() const
Return the size of a cell.
Evaluator(bool hasgradient, bool isthreadsafe=false, bool subsample=false)
virtual UT_Vector3 gradient(const UT_Vector3 &pos) const
GLdouble GLdouble GLdouble z
HUSD_API bool eval(VtValue &val, T &ret_val)
virtual void primitiveAdded(GEO_Primitive *primitive)
called after adding a complete polygon or polysoup to the detail