HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_PolyFill Namespace Reference

Enumerations

enum  PolyFillReturnCodes { ODD_SIZED_HOLE = 0x1, NO_PLANE_NORMAL = 0x2, ONLY_ONE_CORNER = 0x4, CONFLICTING_CORNERS = 0x8 }
 

Functions

GU_API void singlePolys (GU_Detail *gdp, UT_Array< GA_OffsetArray > &rings, UT_Array< GA_OffsetArray > &ringOrigs, GA_PrimitiveGroup *patchGroup)
 
GU_API exint fan (GU_Detail *gdp, UT_Array< GA_OffsetArray > &rings, UT_Array< GA_OffsetArray > &ringOrigs, GA_PrimitiveGroup *patchgroup=nullptr, GA_PrimitiveGroup *loopgroup=nullptr, exint degree=3, bool deformpatch=false, fpreal ctrTranslation=0.0, bool edgeloop=false, fpreal edgelooppercentage=0.5)
 
GU_API exint quadFan (GU_Detail *gdp, UT_Array< GA_OffsetArray > &rings, UT_Array< GA_OffsetArray > &originalRings, GA_PrimitiveGroup *patchgroup=nullptr, GA_PrimitiveGroup *loopgroup=nullptr, GA_PointGroup *customcorners=nullptr, exint cornerOffset=0, bool deformPatch=false, fpreal ctrTranslation=0.0, bool edgeloop=false, fpreal edgeloopPercentage=0.5)
 
GU_API exint quads (GU_Detail *gdp, UT_Array< GA_OffsetArray > &rings, UT_Array< GA_OffsetArray > &originalRings, GA_PrimitiveGroup *patchgroup, GA_PrimitiveGroup *loopgroup, bool smooth, fpreal smoothstrength, bool edgeloop, fpreal edgeloopPercentage)
 
GU_API exint perfectGrid (GU_Detail *gdp, UT_Array< GA_OffsetArray > &rings, UT_Array< GA_OffsetArray > &originalRings, GA_PrimitiveGroup *patchgroup, GA_PrimitiveGroup *loopgroup, GA_PointGroup *customcorners, exint corneroffset, bool smooth, fpreal smoothstrength, bool edgeloop, fpreal edgeloopPercentage, bool deformPatch, fpreal ctrTranslation, fpreal tanstrength)
 

Enumeration Type Documentation

Enumerator
ODD_SIZED_HOLE 
NO_PLANE_NORMAL 
ONLY_ONE_CORNER 
CONFLICTING_CORNERS 

Definition at line 30 of file GU_PolyFill.h.

Function Documentation

GU_API exint GU_PolyFill::fan ( GU_Detail gdp,
UT_Array< GA_OffsetArray > &  rings,
UT_Array< GA_OffsetArray > &  ringOrigs,
GA_PrimitiveGroup patchgroup = nullptr,
GA_PrimitiveGroup loopgroup = nullptr,
exint  degree = 3,
bool  deformpatch = false,
fpreal  ctrTranslation = 0.0,
bool  edgeloop = false,
fpreal  edgelooppercentage = 0.5 
)
GU_API exint GU_PolyFill::perfectGrid ( GU_Detail gdp,
UT_Array< GA_OffsetArray > &  rings,
UT_Array< GA_OffsetArray > &  originalRings,
GA_PrimitiveGroup patchgroup,
GA_PrimitiveGroup loopgroup,
GA_PointGroup customcorners,
exint  corneroffset,
bool  smooth,
fpreal  smoothstrength,
bool  edgeloop,
fpreal  edgeloopPercentage,
bool  deformPatch,
fpreal  ctrTranslation,
fpreal  tanstrength 
)
GU_API exint GU_PolyFill::quadFan ( GU_Detail gdp,
UT_Array< GA_OffsetArray > &  rings,
UT_Array< GA_OffsetArray > &  originalRings,
GA_PrimitiveGroup patchgroup = nullptr,
GA_PrimitiveGroup loopgroup = nullptr,
GA_PointGroup customcorners = nullptr,
exint  cornerOffset = 0,
bool  deformPatch = false,
fpreal  ctrTranslation = 0.0,
bool  edgeloop = false,
fpreal  edgeloopPercentage = 0.5 
)
GU_API exint GU_PolyFill::quads ( GU_Detail gdp,
UT_Array< GA_OffsetArray > &  rings,
UT_Array< GA_OffsetArray > &  originalRings,
GA_PrimitiveGroup patchgroup,
GA_PrimitiveGroup loopgroup,
bool  smooth,
fpreal  smoothstrength,
bool  edgeloop,
fpreal  edgeloopPercentage 
)
GU_API void GU_PolyFill::singlePolys ( GU_Detail gdp,
UT_Array< GA_OffsetArray > &  rings,
UT_Array< GA_OffsetArray > &  ringOrigs,
GA_PrimitiveGroup patchGroup 
)