Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/GeometryCore/Public/Util/CompactMaps.h |
Include |
#include "Util/CompactMaps.h" |
class FCompactMaps
Stores index remapping for vertices and triangles. Should only be used for compacting, and should maintain invariant that *Map[Idx] <= Idx for all maps
Name | Description | ||
---|---|---|---|
|
GetTriangleMapping ( |
Get mapping for a triangle |
|
|
GetVertexMapping ( |
Get mapping for three vertices, e.g. a triangle |
|
|
GetVertexMapping ( |
Get mapping for a vertex |
|
|
NumTriangleMappings() |
Get number of triangle mappings |
|
|
NumVertexMappings() |
Get number of vertex mappings |
|
|
Reset() |
Reset all maps, leaving them empty |
|
|
Reset |
Resize vertex and triangle maps, and initialize with InvalidID. |
|
|
ResetTriangleMap |
Resize triangle map, and optionally initialize with InvalidID. |
|
|
ResetVertexMap |
Resize vertex map, and optionally initialize with InvalidID. |
|
|
SetIdentity |
Set up maps as identity maps. |
|
|
SetIdentityTriangleMap ( |
Set up triangle map as identity map. |
|
|
SetIdentityVertexMap ( |
Set up vertex map as identity map. |
|
|
SetTriangleMapping |
Set mapping for a triangle |
|
|
SetVertexMapping |
Set mapping for a vertex |
|
|
TriangleMapIsSet() |
Returns true if there are triangle mappings. |
|
|
Validate() |
Check data for validity; for testing |
|
|
VertexMapIsSet() |
Returns true if there are vertex mappings. |
Name |
Description |
---|---|
InvalidID |