12 #ifndef __GU_PolyWire__
13 #define __GU_PolyWire__
24 class gu_ConnectionGraph;
54 void setEdgeData(
GA_Edge edge,
const EdgeData &
data);
55 const EdgeData *getEdgeData(
GA_Edge edge)
const;
74 float &
u1,
float &
u2)
const;
76 float &segscale1,
float &segscale2)
const;
89 bool hasGlbPtOffTexU(
GA_Offset ptoff)
const;
96 { buildCircleCache(div);
97 return (*myCircleCache(div))(idx); }
107 void clearJunctionPoints();
112 float ubase,
float uwidth);
127 void buildCircleCache(
int div);
UT_Vector3 getCirclePos(int idx, int div)
GA_API const UT_StringHolder div
float getWidth(GA_Index pt) const
void setGrp(GA_PrimitiveGroup *grp)
void setPtWidths(float *widths)
UT_Array< UT_Vector3Array * > myCircleCache
int getMaxValence() const
void setUseUpVector(bool up)
void setDivisions(int *div)
void setMaxValence(int maxvalence)
GLfloat GLfloat GLfloat v2
exint GA_Size
Defines the bit width for index and offset types in GA.
GU_Detail * getGdp() const
bool doJointCorrection() const
GA_API const UT_StringHolder scale
void setJointCorrection(bool jc)
GA_ElementWranglerCache * getWranglers()
void setUpVectors(UT_Vector3 *up)
gu_ConnectionGraph * myGraph
UT_Vector3 getUpVector(GA_Index pt) const
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
GA_EdgeMap< EdgeData * > myEdgeHash
virtual bool smooth(GA_AttributeOperand &d, GA_AttributeOperand &min, GA_AttributeOperand &max, GA_AttributeOperand &t) const
d = SYSsmooth(min, max, t);
void setDoTextures(bool dotext)
void setPtSmooth(bool *smooth)
float getMaxScale(GA_Index pt) const
void setJointScale(float *scale)
GA_API const UT_StringHolder up
bool getSmooth(GA_Index pt) const
UT_Array< gu_JunctionPoint > myJunctionPoints
GA_ElementWranglerCache * myWranglers
UT_Array< EdgeData * > myEdgeHashEntries
int getDivisions(GA_Index pt) const
GA_PrimitiveGroup * myPrimGroup