Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Selections
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Selections/MeshFaceSelection.h |
| Include | #include "Selections/MeshFaceSelection.h" |
Syntax
class FMeshFaceSelection
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMeshFaceSelection
(
const FDynamicMesh3* mesh |
|||
FMeshFaceSelection
(
const FDynamicMesh3* mesh, |
Select a group | ||
FMeshFaceSelection
(
const FDynamicMesh3* mesh, |
Convert vertex selection to face selection. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< int > | AsArray () |
||
| TBitArray< FDefaultBitArrayAllocator > | AsBitArray () |
||
| const TSet< int > & | AsSet () |
||
| TSet< int >::TRangedForConstIterator | begin () |
||
| TSet< int >::TRangedForIterator | begin () |
DO NOT USE DIRECTLY STL-like iterators to enable range-based for loop support. | |
| bool | ClipFins
(
bool bClipLoners |
Return true if we clipped something | |
| bool | Contains
(
int tid |
||
| void | ContractBorderByOneRingNeighbours
(
int NumRings, |
Remove all triangles in vertex one-rings of current selection to set. | |
| void | Deselect
(
int tid |
||
| void | Deselect
(
TArrayView< const int > Triangles |
||
| void | Deselect
(
const EnumerableType& Enumerable |
||
| void | DeselectAll () |
||
| void | DeselectGroup
(
int gid |
||
| TSet< int >::TRangedForIterator | end () |
||
| TSet< int >::TRangedForConstIterator | end () |
||
| void | ExpandToFaceNeighbours
(
const TUniqueFunction< bool(int)>& FilterF |
||
| void | ExpandToFaceNeighbours
(
int rounds, |
||
| void | ExpandToOneRingNeighbours
(
const TUniqueFunction< bool(int)>& FilterF |
Add all triangles in vertex one-rings of current selection to set. | |
| void | ExpandToOneRingNeighbours
(
int nRings, |
Expand selection by N vertex one-rings. | |
| bool | FillEars
(
bool bFillTinyHoles |
Return true if we filled any ears. | |
| TArray< int > | Find set of tris just inside border of selection | ||
| TArray< int > | Find set of tris just outside border of selection | ||
| void | FloodFill
(
int tSeed, |
Grow selection outwards from seed triangle, until it hits boundaries defined by triangle and edge filters. | |
| void | FloodFill
(
const TArray< int >& Seeds, |
Grow selection outwards from seed triangles, until it hits boundaries defined by triangle and edge filters. | |
| bool | IsSelected
(
int tid |
||
| TPair< bool, bool > | IsSelectionBoundaryEdge
(
int32 eid |
||
| bool | LocalOptimize
(
bool bRemoveBowties |
||
| bool | LocalOptimize
(
bool bClipFins, |
Returns true if selection was modified | |
| int | Num () |
||
| bool | |||
| bool | Find any "bowtie" vertices - ie vertex v such taht there is multiple spans of triangles selected in v's triangle one-ring - and deselect those one-rings. | ||
| void | Select
(
int tid |
||
| void | Select
(
TFunctionRef< bool(int)> SelectF |
||
| void | Select
(
const EnumerableType& Enumerable |
||
| void | SelectEdgeTris
(
int eid |
||
| void | SelectGroup
(
int gid |
||
| void | SelectGroupInverse
(
int gid |
||
| void | SelectVertexOneRing
(
int vid |
||
| void | SelectVertexOneRings
(
TArrayView< const int > Vertices |
||
| void | SetDifference
(
const EnumerableType& SubtractSet, |
Find the elements in current selection that are not in SubtractSet, and store in DifferenceStorage | |
| void | SetIntersection
(
const EnumerableType& IntersectSet, |
Find the elements in current selection that are also in IntersectSet, and store in IntersectionStorage |