31 #ifndef __HDK_GU_GRID__
32 #define __HDK_GU_GRID__
40 namespace HDK_Sample {
42 template<
typename INT_TYPE=GA_Offset>
203 INT_TYPE start_pt=INT_TYPE(0), INT_TYPE end_pt=INT_TYPE(1),
204 INT_TYPE start_mid_pt=INT_TYPE(2));
215 INT_TYPE start_pt=INT_TYPE(0), INT_TYPE end_pt=INT_TYPE(1),
216 INT_TYPE start_mid_pt=INT_TYPE(2));
227 INT_TYPE start_pt=INT_TYPE(0), INT_TYPE end_pt=INT_TYPE(1),
228 INT_TYPE start_mid_pt=INT_TYPE(2));
243 INT_TYPE start_pt=INT_TYPE(0), INT_TYPE start_mid_pt=INT_TYPE(1));
331 for (
int i = 0; i < 4; ++i)
370 if (!is_nurbs && !is_bezier)
389 if (!is_nurbs && !is_bezier)
INT_TYPE getPoint(exint row, exint col) const
void initTorus(exint nedgerows, exint nedgecols, INT_TYPE start_pt=INT_TYPE(0))
PrimitiveType myPrimitiveType
GEO_SurfaceType mySurfaceType
void initSplitColSphere(exint nedgerows, exint nedgecols, INT_TYPE start_pt=INT_TYPE(0), INT_TYPE end_pt=INT_TYPE(1), INT_TYPE start_mid_pt=INT_TYPE(2))
bool myFirstColIfNotWrapped
bool doesColWrap(exint col) const
SYS_STATIC_ASSERT(GA_MAX_ORDER< 16)
void initColSphere(exint nedgerows, exint nedgecols, INT_TYPE start_pt=INT_TYPE(0), INT_TYPE end_pt=INT_TYPE(1), INT_TYPE start_mid_pt=INT_TYPE(2))
unsigned char myBasisOrderU
void initRowTube(exint nedgerows, exint nedgecols, INT_TYPE start_pt=INT_TYPE(0))
UT_Vector3T< T > SYSclamp(const UT_Vector3T< T > &v, const UT_Vector3T< T > &min, const UT_Vector3T< T > &max)
void initRowSphere(exint nedgerows, exint nedgecols, INT_TYPE start_pt=INT_TYPE(0), INT_TYPE end_pt=INT_TYPE(1), INT_TYPE start_mid_pt=INT_TYPE(2))
void initSingleGrid(exint nedgerows, exint nedgecols, INT_TYPE start_pt=INT_TYPE(0))
bool myLastRowIfNotWrapped
void shiftPoints(INT_TYPE shift)
void initColCone(exint nedgerows, exint nedgecols, bool row0_pole=true, INT_TYPE start_pt=INT_TYPE(0), INT_TYPE start_mid_pt=INT_TYPE(1))
void initColTube(exint nedgerows, exint nedgecols, INT_TYPE start_pt=INT_TYPE(0))
bool myLastColIfNotWrapped
bool myFirstRowIfNotWrapped
bool isInvalidTPSurf() const
unsigned char myBasisOrderV
GLenum GLenum GLsizei void * row
bool myCurvesIfBasisRowCol
bool doesRowWrap(exint row) const