|
| GU_PolyBridge (GU_Detail *gdp, const GA_OffsetArray &src_chain, bool src_chain_closed, const GA_OffsetArray &dst_chain, bool dst_chain_closed, bool straight_bridge=true, bool allow_coincident_centroids=false) |
|
| ~GU_PolyBridge ()=default |
|
void | buildTopology (int divisions, int src_divisions=0, int dst_divisions=0, IndexPairArray *pairings=nullptr) |
|
void | writeGeometry (GA_Offset ptoff0, GA_Offset primoff0, int num_twists=0, const GU_Detail *tgdp=nullptr, const GA_Offset *src_rep_vtx=nullptr, const GA_Offset *dst_rep_vtx=nullptr, GA_PointWrangler *pt_wrangler=nullptr, GA_PrimitiveWrangler *prim_wrangler=nullptr, GA_VertexWrangler *vtx_wrangler=nullptr) |
|
void | buildBridge (const GA_Offset *src_rep_vtx, const GA_Offset *dst_rep_vtx, GA_OffsetArray *user_link_grp=nullptr, GA_OffsetArray *auto_link_grp=nullptr, GA_OffsetArray *boundary_link_grp=nullptr, GA_OffsetArray *src_chain_grp=nullptr, GA_OffsetArray *dst_chain_grp=nullptr, int num_twists=0) |
|
int | getNumMeshPolys () const |
|
int | getNumMeshPolyVtxs () const |
|
GA_Offset | setupBatchBuild (GA_Offset ptoff0, UT_IntArray &quad_pt_nums, GEO_PolyCounts &quad_size_list) |
|
void | fillGroups (GA_Offset ptoff0, GA_Offset primoff0, GA_OffsetArray *user_link_grp, GA_OffsetArray *auto_link_grp, GA_OffsetArray *boundary_link_grp, GA_OffsetArray *src_chain_grp, GA_OffsetArray *dst_chain_grp) |
|
UT_Vector3 | getSrcCentroid () |
|
UT_Vector3 | getDstCentroid () |
|
void | setWarningStream (UT_StringStream *w) |
|
void | setThicknessAttrib (GA_Attribute *attrib) |
|
void | setTwistAttrib (GA_Attribute *attrib) |
|
void | setMorphMethod (MorphMethod m) |
|
void | setMagnitudes (fpreal s=1.0, fpreal d=1.0) |
|
void | setStiffnesses (fpreal s=0.0, fpreal d=0.0) |
|
void | setAxialRotation (fpreal r) |
|
void | setExternalSpine (const GEO_Face *curve) |
|
void | setThicknessRamp (UT_Ramp *ramp) |
|
void | setTwistRamp (UT_Ramp *ramp) |
|
void | setSrcDir (UT_Vector3 dir) |
|
void | setDstDir (UT_Vector3 dir) |
|
void | setSrcCtr (UT_Vector3 ctr) |
|
void | setDstCtr (UT_Vector3 ctr) |
|
void | setAttachToSrc (bool attach) |
|
void | setAttachToDst (bool attach) |
|
void | setThicknessScale (fpreal s) |
|
void | setTwistRange (fpreal min, fpreal max) |
|
void | setReverseSpine (bool r) |
|
void | setSrcDirectionSign (DirectionSign t) |
|
void | setDstDirectionSign (DirectionSign t) |
|
void | setClipRange (fpreal s, fpreal e) |
|
void | setGenerateSpine (bool b) |
|
void | setSpineGroup (GA_PointGroup *grp) |
|
void | setGenerateMesh (bool b) |
|
void | setMeshGroup (GA_PrimitiveGroup *grp) |
|
void | setTangentAttrib (GA_Attribute *attrib) |
|
void | setNormalAttrib (GA_Attribute *attrib) |
|
void | setBinormalAttrib (GA_Attribute *attrib) |
|
void | pairByEdgeCount (bool b) |
|
void | setPairingShift (int s) |
|
void | setExtSpineRange (fpreal s, fpreal e) |
|
void | setExtSpineBlend (fpreal s=0.0, fpreal d=0.0) |
|
void | setExtSpinePositioning (SpinePositioning p) |
|
void | setSpineSampleMethod (SpineSampleMethod m) |
|
void | setMiterJoints (bool b) |
|
void | setScaleInvariant (bool b) |
|
void | setPreTwist (fpreal t) |
|
void | setSrcEdgeGroup (GA_EdgeGroup *grp) |
|
void | setDstEdgeGroup (GA_EdgeGroup *grp) |
|
void | setChainRefs (int src_ref, int dst_ref) |
|
void | setSrcFrameUpDir (UT_Vector3 dir) |
|
void | setDstFrameUpDir (UT_Vector3 dir) |
|
int | getNumSrcLoopPts () const |
|
int | getNumDstLoopPts () const |
|
void | setWranglePoint (bool w) |
|
void | setWranglePrimitive (bool w) |
|
void | setWrangleVertex (bool w) |
|
void | setCollectedLinks (bool user_links, bool auto_links, bool boundary_links) |
|
void | fillWrangleDetail (GA_Offset base_offset, GA_Offset *src_vtx_rep, GA_Offset *dst_vtx_rep, const GA_Offset *supplied_src_vtx_rep, const GA_Offset *supplied_dst_vtx_rep, GA_PrimitiveWrangler *prim_wrangler, GA_VertexWrangler *vtx_wrangler, UT_Array< GA_RWHandleV3 > &uvs, TextureMode uv_style=INTERPOLATE, TextureScaling uv_scaling=FIT_UNIT_SQUARE) |
|
GU_PolyBridge encapsulates most of the functionality of the polybridge sop. It can generate a bridge between a source and a destination edge loop each of which can be open or closed.
Definition at line 218 of file GU_PolyBridge.h.