Commit Graph

3 Commits

Author SHA1 Message Date
Ryan Schmidt
ffe3b401cd GeometryProcessing: move all public types in GeometryProcessing plugin into UE::Geometry:: namespace, as well as some code in MeshModelingToolset. Fix fallout in Water, Paint Mode, ChaosEditor, DataPrep, Text3D, Unit Tests, internal projects.
#rb jimmy.andrews, semion.piskarev
#jira none

[CL 15661651 by Ryan Schmidt in ue5-main branch]
2021-03-09 19:33:56 -04:00
Jimmy Andrews
a6dcd9b771 Polygroup helper improvments:
- Change MaxGroupID on PolygroupSet to match how it's computed on FDynamicMesh3, to be 1+the actual max (i.e. to be a bound, so we can write < in the for loop, same as MaxVertexID and friends)
 - Update PolygroupUtil functions to work on const meshes where possible
 - Expand PolygroupUtil functions some so it's easier to work with polygroups in cases where we can't use PolygroupSet (mainly if the mesh is const)

#rb ryan.schmidt
#rnx

[CL 15057483 by Jimmy Andrews in ue5-main branch]
2021-01-12 17:35:51 -04:00
Ryan Schmidt
d3b5ddd955 GeometryProcessing: additional support for Polygroup attribute layers. Add PolygroupUtil.h with utility functions for finding polygroup attributes from name/etc. Add FPolygroupSet class that provides standard Polygroup API for either base FDynamicMesh3 polygroups, or a FDynamicMeshPolygroupAttribute layer, with MaxGroupID tracking/allocation.
#rb none
#rnx
#jira none

[CL 14842394 by Ryan Schmidt in ue5-main branch]
2020-12-03 02:35:44 -04:00