12 #ifndef __GU_Surfacer_h__
13 #define __GU_Surfacer_h__
23 class guSurfacerCellEvaluator;
31 int xdivs,
int ydivs,
int zdivs,
33 bool makepolysoup =
false);
41 void addCell(
int x,
int y,
int z,
50 Evaluator(
bool hasgradient,
bool isthreadsafe=
false,
bool subsample=
false)
51 : myHasGradient(hasgradient)
52 , myIsThreadSafe(isthreadsafe)
53 , mySubSample(subsample)
77 void polygonize(Evaluator &
eval);
86 void addCell(
int x,
int y,
int z,
const guSurfacerCellEvaluator *e);
GU_API const unsigned char guTopologyPolygonList[]
UT_Vector3T< float > UT_Vector3
**And then you can **find out if it s done
GLdouble GLdouble GLdouble z
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
GU_API const int guTopologyLookup[256]
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