11 #ifndef __GT_CatPolygonMesh__
12 #define __GT_CatPolygonMesh__
30 bool merge_detail_attribs =
true);
37 { myMergeDetailLists = merge_detail_lists; }
41 { myTotalFaceCount = max_num_faces; }
45 { myMaxMeshCount = max_meshes; }
48 { myMaxMeshFaceCount = max_faces; }
58 APPEND_ATTRIB_MISMATCH
63 gt_CatAppendReason *reason = NULL)
const;
78 bool clearMesh(
int idx);
81 void clearAllMeshes();
98 int myNumSourceMeshes;
99 bool myMergeDetailLists;
102 int64 myTotalFaceCount;
103 int64 myMaxMeshCount;
104 int64 myMaxMeshFaceCount;
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)
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.