36 class gu_CopyAttribMap;
37 class gu_CopyTransformAttributes;
42 int template_pt_num,
void *
data);
65 void setPointAttrib(
const char *
pattern, GU_AttribOp op);
66 void setPrimAttrib(
const char *
pattern, GU_AttribOp op);
67 void setVertexAttrib(
const char *
pattern, GU_AttribOp op);
73 myXformCallback = callback;
77 myGNameCallback = callback;
86 myPrimGroup = primgrp;
91 mySourceCallback = callback;
107 return myPrimMap || myVertexMap;
112 bool singleCopy(gu_CopyTransformAttributes &xformer,
122 void setAttribMap(gu_CopyAttribMap *&,
const char *
pattern,
137 gu_CopyAttribMap *myPointMap;
138 gu_CopyAttribMap *myPrimMap;
139 gu_CopyAttribMap *myVertexMap;
141 int mySourcePointCount;
142 int mySourcePrimCount;
144 int myPreserveGroups;
145 bool myKeepInternalGroups;
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
OIIO_UTIL_API bool copy(string_view from, string_view to, std::string &err)
void setKeepVectorLength(int onoff)
void setGroupNameCallback(GU_CopyGroupNameCallback callback)
void setSourceCallback(GU_CopySourceCallback callback)
void setPreserveGroups(int onoff)
bool needToApplyPrimMap() const
void setTransformCallback(GU_CopyTransformCallback callback)
int(* GU_CopyGroupNameCallback)(UT_String &, void *data)
bool needToApplyPointMap() const
int(* GU_CopyTransformCallback)(UT_Matrix4 &, int copynum, const GU_Detail *templategdp, GA_Offset templateptoff, int template_pt_num, void *data)
Container class for all geometry.
int(* GU_CopySourceCallback)(const GU_Detail *&src, const GA_PrimitiveGroup *&grp, void *data)
void setSource(const GU_Detail *gdp, const GA_PrimitiveGroup *primgrp=0)
void setKeepInternalGroups(bool keep)