Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Selections
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Selections/MeshVertexSelection.h |
| Include | #include "Selections/MeshVertexSelection.h" |
Syntax
class FMeshVertexSelection
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMeshVertexSelection
(
const FDynamicMesh3* mesh |
|||
FMeshVertexSelection
(
const FDynamicMesh3* mesh, |
Convert face selection to vertex selection. | ||
FMeshVertexSelection
(
const FDynamicMesh3* mesh, |
Convert edge selection to vertex selection. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< int > | AsArray () |
||
| TBitArray< FDefaultBitArrayAllocator > | AsBitArray () |
||
| TSet< int > | AsSet () |
||
| TSet< int >::TRangedForIterator | begin () |
DO NOT USE DIRECTLY STL-like iterators to enable range-based for loop support. | |
| TSet< int >::TRangedForConstIterator | begin () |
||
| void | ContractByBorderVertices
(
int32 nRings |
Remove all vertices in current selection set that have at least one neighbour vertex that is not selected (ie vertices are on border of selection) | |
| void | Deselect
(
TArrayView< const int > Vertices |
||
| void | Deselect
(
int vID |
||
| void | DeselectEdge
(
int eid |
||
| void | DeselectEdges
(
TArrayView< const int > Edges |
||
| TSet< int >::TRangedForConstIterator | end () |
||
| TSet< int >::TRangedForIterator | end () |
||
| void | ExpandToOneRingNeighbours
(
int nRings, |
[TODO] should do this more efficiently, like FMeshFaceSelection | |
| void | ExpandToOneRingNeighbours
(
const TUniqueFunction< bool(int)>& FilterF |
Add all one-ring neighbours of current selection to set. | |
| void | FloodFill
(
int vSeed, |
Grow selection outwards from seed vertex, until it hits boundaries defined by vertex filter. | |
| void | FloodFill
(
const TArray< int >& Seeds, |
Grow selection outwards from seed vertex, until it hits boundaries defined by vertex filter. | |
| bool | IsSelected
(
int vID |
||
| int | Num () |
||
| void | Select
(
TArrayView< const int > Vertices |
||
| void | Select
(
int vID |
||
| void | SelectByPosition
(
PredicateFuncType PredicateFunc, |
Select vertices where PredicteFunc(VertexPosition) == bSelectTrue | |
| void | SelectByVertexID
(
PredicateFuncType PredicateFunc, |
Select vertices where PredicteFunc(VertexID) == bSelectTrue | |
| void | SelectConnectedBoundaryV
(
int vSeed |
Select set of boundary vertices connected to vSeed. | |
| void | SelectEdgeVertices
(
TArrayView< const int > Edges |
||
| void | SelectInteriorVertices
(
const FMeshFaceSelection& triangles |
For each vertex of input triangle set, select vertex if all one-ring triangles are contained in triangle set (ie vertex is not on boundary of triangle set). | |
| void | SelectTriangleVertices
(
TArrayView< const int > Triangles |
||
| void | SelectTriangleVertices
(
const FMeshFaceSelection& Triangles |