11 #ifndef __GU_PolyExtrude_h__
12 #define __GU_PolyExtrude_h__
27 class gu_PolyExtrudeConsolidator;
28 template<
typename T,
bool B>
class GA_EdgeT;
60 class gu_PointTargetList;
61 class gu_LocalSpaceAlgorithm;
108 const UT_Matrix4 &getLocalXform(
int primnum)
const;
112 const UT_Matrix4 &getGlobalXform(
int primnum)
const;
115 float getInset(
int primnum,
int vtxnum,
int ptnum)
const;
118 int getDivisions(
int primnum)
const;
122 bool isFusing(
unsigned int bit)
const;
126 bool isConsolidatePerPoint()
const;
130 bool isConsolidateAll()
const;
175 static bool computeLocalSpace(
const GEO_Face &face,
184 bool extrudeFace(
const GEO_Face &face, gu_LocalSpaceAlgorithm &lsa,
187 const gu_PointTargetList &pt_target_list,
189 void extrudeEdge(
const GA_Edge &edge, gu_LocalSpaceAlgorithm &lsa,
191 const gu_PointTargetList &pt_target_list,
201 float t,
bool regenlist0,
int divs,
212 gu_LocalSpaceAlgorithm &lsa,
214 const gu_PointTargetList &pt_target_list,
216 void buildSideFaces(
const GEO_Face &face,
219 const gu_PointTargetList &pt_target_list,
226 const gu_PointTargetList &pt_target_list,
231 bool myInternalNormals;
233 gu_PolyExtrudeConsolidator *myNewPointsConsolidator;
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
GA_API const UT_StringHolder div
GU_PolyExtrudeXformCallback myLocalXformCallback
int(* GU_PolyExtrudeDivCallback)(int primnum, void *user_data)
GA_PrimitiveGroup * myBackGroup
void(* GU_PolyExtrudeXformCallback)(int primnum, UT_Matrix4 &xform, void *user_data)
GU_PolyExtrudeKeepSharedPoints
GU_PolyExtrudeKeepSharedPoints myKeepSharedPointsTogether
GU_PolyExtrudeConsolidate
IMATH_NAMESPACE::V2f float
GA_PrimitiveGroup * mySideGroup
GU_PolyExtrudeDivCallback myDivCallback
IMATH_HOSTDEVICE constexpr int divs(int x, int y) IMATH_NOEXCEPT
GU_PolyExtrudeSymmetryAxis mySymmetryAxis
GU_PolyExtrudeXformCallback myGlobalXformCallback
GA_PrimitiveGroup * myFrontGroup
GU_PolyExtrudeInsetCallback myInsetCallback
unsigned int myConsolidatePoints
GU_PolyExtrudeSymmetryAxis
bool myRemoveZeroAreaSides
float(* GU_PolyExtrudeInsetCallback)(int primnum, int vtxnum, int ptnum, void *user_data)