64 void clearStencil(
bool invalidate_vtx,
bool invalidate_pt);
70 bool isVertexMode()
const;
71 bool isPointMode()
const;
78 void startPointIterate();
81 void startVertexIterate();
82 bool iterateVertex(
int &vtxidx,
float &alpha,
UT_Vector3 *colour = NULL);
94 {
return myEntries.entries(); }
168 void buildVertexClasses();
178 bool overrideColour(
const char *
name,
int create_tuple_size=-1);
179 bool overrideAlpha(
const char *
name,
bool create=
false);
180 bool overrideNml(
const char *
name);
183 void useCaptureRegion(
int captureidx,
bool normalizeweight,
189 bool defaultColour(
bool create =
false);
190 bool defaultAlpha(
bool create =
false);
191 bool defaultNormal(
bool create =
false);
196 void visualizeColor(
float low,
float high,
202 void applyVisualizeStencil(
GU_Detail *gdp);
214 void buildTrees(
bool usevisibility);
215 void addUVPrimPoints(
const GEO_Detail &detail,
220 void buildUVTrees(
const UT_StringHolder &uvattribname,
bool usevisibility);
226 void connectRingVtx(
int vtxnum,
228 bool doublevalence =
false);
229 void buildRingCache(
bool usevisibility);
230 void clearRingCache();
238 int hasStencil()
const;
240 void clearStencil(
bool invalidate_vtx=
true,
bool invalidate_pt=
true);
245 myMergeModeCallback = cb;
246 myMergeModeCallbackData =
data;
254 void setStencil(
float val,
bool usevisibility);
259 void stampColourStencil(
GEO_Delta *delta,
268 float lift,
int preservenmllen);
273 void liftNormals(
GEO_Delta *delta,
float lift,
285 void displaceNormals(
GEO_Delta *delta,
float amt);
294 void smoothNormals(
GEO_Delta *delta,
int preservenmllen);
316 bool useconnectivity,
324 void clearNormalCache();
327 #ifdef INTEL_COMPILER
334 float radius2,
bool seeddir,
336 bool isPointEditable(
GA_Index ptnum);
340 if (myColourAttribV3.isValid())
341 dest = myColourAttribV3.get(offset);
344 for (
int j = 0;
j < myColourSize;
j++)
345 dest(
j) = myColourAttrib.get(offset,
j);
350 if (myColourAttribV3.isValid())
351 myColourAttribV3.set(offset, src);
354 for (
int j = 0;
j < myColourSize;
j++)
355 myColourAttrib.set(offset,
j, src(
j));
void readColour(GA_Offset offset, UT_Vector3 &dest) const
void setMergeModeCallback(GU_BrushMergeModeCallback cb, void *data)
void writeColour(GA_Offset offset, UT_Vector3 &src) const
GEO_PointTree * myUVPointTree
const GU_Detail * getIsectGdp() const
GEO_PointTree * myPointTree
GU_BrushMergeModeCallback myMergeModeCallback
void setWriteAlpha(bool val)
**But if you need a result
UT_Vector3Array myPtNmlCache
UT_Array< GA_Offset > myIsectVtx
GU_BrushStencilMode myMode
UT_Array< GA_Offset > myGeoVtx
UT_Array< GU_StencilPixel > myEntries
exint GA_Size
Defines the bit width for index and offset types in GA.
UT_Vector3Array myUVPointPos
GA_API const UT_StringHolder scale
UT_Array< UT_IntArray * > myPt2Vtx
bool getWriteAlpha() const
CaptureType
Methods for manipulating capture weights (GEO_CaptureWeight.C)
GEO_PointTree * getUVPointTree()
UT_Vector3Array myColours
GA_RWHandleV3 myColourAttribV3
UT_Array< GA_Offset > * myVtx
UT_Array< UT_IntArray * > * myPt2Vtx
void(* GU_BrushMergeModeCallback)(GA_Offset ptoff, GA_Offset vtxoff, UT_Vector3 &result, const UT_Vector3 &cd, const UT_Vector3 &orig, void *data)
GLfloat GLfloat GLfloat alpha
UT_Array< GA_OffsetArray > myRingZero
GLuint const GLchar * name
UT_Array< UT_Array< GA_Offset > * > myVtxRingZero
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
GA_RWHandleV3 myVisualizeAttrib
UT_IntArray myRingValence
const GU_Detail * getGdp() const
void * myMergeModeCallbackData
GA_RWHandleF myAlphaAttrib
UT_Vector3Array myPointPos
UT_Array< UT_Array< GA_Index > > myFloodConnected
GA_RWHandleV3 myNormalAttrib
GEO_Detail::CaptureType myCaptureType
GA_RWHandleV3 myTextureAttrib
bool myCurIsVertexIterate
const GA_PointGroup * myPointGroup
const GU_Detail * myIsectGdp
UT_Array< UT_IntArray * > myVtxRingClass
Container class for all geometry.
const GA_PrimitiveGroup * myGroup
UT_StringHolder myUVTreeAttribName
GA_RWHandleF myColourAttrib
void(* GU_BrushCallback)(fpreal t, GA_Offset pt, const UT_Array< GA_Offset > *ptneighbour, GA_Offset vtx, const UT_Array< GA_Offset > *vtxneighbour, float alpha, GEO_Delta *delta, const GU_Detail *isectgdp, void *data)
GEO_PointTree * getPointTree()