11 #ifndef __GT_CatPolygonMesh__
12 #define __GT_CatPolygonMesh__
31 bool merge_detail_attribs =
true);
38 { myMergeDetailLists = merge_detail_lists; }
42 { myTotalFaceCount = max_num_faces; }
46 { myMaxMeshCount = max_meshes; }
49 { myMaxMeshFaceCount = max_faces; }
59 APPEND_ATTRIB_MISMATCH
64 gt_CatAppendReason *reason = NULL)
const;
79 bool clearMesh(
int idx);
82 void clearAllMeshes();
102 int myNumSourceMeshes = 0;
103 bool myMergeDetailLists =
false;
104 int myIsSubdivision = -1;
106 int64 myFaceCount = 0;
107 int64 myTotalFaceCount = 0;
108 int64 myMaxMeshCount = 0;
109 int64 myMaxMeshFaceCount = 0;
exint getNumSourceMeshes() const
void mergeDetailLists(bool merge_detail_lists)
**But if you need a result
std::string OIIO_UTIL_API replace(string_view str, string_view pattern, string_view replacement, bool global=false)
GA_API const UT_StringHolder transform
int64 getNumSourceFaces() const
void setMaxMeshFaceCount(int64 max_faces)
Don't allow meshes larger than this size to be added.
void setTotalFaceCount(int64 max_num_faces)
Limit the # of faces in the mesh. append will return false once full.
void setMaxMeshCount(int64 max_meshes)
Concatenate GT_PrimPolygonMesh objects into a single GT_PrimPolygonMesh.