FMeshFaceSelection

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Selections/MeshFaceSelection.h

Include

#include "Selections/MeshFaceSelection.h"

Syntax

class FMeshFaceSelection

Constructors

Name Description

Public function

FMeshFaceSelection

(
    const FDynamicMesh3* mesh
)

Public function

FMeshFaceSelection

(
    const FMeshFaceSelection& copy
)

Public function

FMeshFaceSelection

(
    const FDynamicMesh3* mesh,
    int group_id
)

Select a group

Public function

FMeshFaceSelection

(
    const FDynamicMesh3* mesh,
    const FMeshVertexSelection& conver...,
    int minCount
)

Convert vertex selection to face selection.

Functions

Name Description

Public function Const

TArray< int ...

 

AsArray()

Public function Const

TBitArray< F...

 

AsBitArray()

Public function Const

const TSet< ...

 

AsSet()

Public function Const

TSet< int >:...

 

begin()

Public function

TSet< int >:...

 

begin()

DO NOT USE DIRECTLY STL-like iterators to enable range-based for loop support.

Public function

bool

 

ClipFins

(
    bool bClipLoners
)

Return true if we clipped something

Public function Const

bool

 

Contains

(
    int tid
)

Public function

void

 

ContractBorderByOneRingNeighbours

(
    int NumRings,
    bool bContractFromMeshBoundary,
    const TUniqueFunction< bool>&...
)

Remove all triangles in vertex one-rings of current selection to set.

Public function

void

 

Deselect

(
    int tid
)

Public function

void

 

Deselect

(
    TArrayView< const int > Triangles
)

Public function

void

 

Deselect

(
    const EnumerableType& Enumerable
)

Public function

void

 

DeselectAll()

Public function

void

 

DeselectGroup

(
    int gid
)

Public function

TSet< int >:...

 

end()

Public function Const

TSet< int >:...

 

end()

Public function

void

 

ExpandToFaceNeighbours

(
    int rounds,
    const TUniqueFunction< bool>&...
)

Public function

void

 

ExpandToFaceNeighbours

(
    const TUniqueFunction< bool>&...
)

Public function

void

 

ExpandToOneRingNeighbours

(
    const TUniqueFunction< bool>&...
)

Add all triangles in vertex one-rings of current selection to set.

Public function

void

 

ExpandToOneRingNeighbours

(
    int nRings,
    const TUniqueFunction< bool>&...
)

Expand selection by N vertex one-rings.

Public function

bool

 

FillEars

(
    bool bFillTinyHoles
)

Return true if we filled any ears.

Public function Const

TArray< int ...

 

FindBorderTris()

Find set of tris just inside border of selection

Public function Const

TArray< int ...

 

FindNeighbourTris()

Find set of tris just outside border of selection

Public function

void

 

FloodFill

(
    const TArray< int >& Seeds,
    const TUniqueFunction< bool>&...,
    const TUniqueFunction< bool>&...
)

Grow selection outwards from seed triangles, until it hits boundaries defined by triangle and edge filters.

Public function

void

 

FloodFill

(
    int tSeed,
    const TUniqueFunction< bool>&...,
    const TUniqueFunction< bool>&...
)

Grow selection outwards from seed triangle, until it hits boundaries defined by triangle and edge filters.

Public function Const

bool

 

IsSelected

(
    int tid
)

Public function

bool

 

LocalOptimize

(
    bool bClipFins,
    bool bFillEars,
    bool bFillTinyHoles,
    bool bClipLoners,
    bool bRemoveBowties
)

Returns true if selection was modified

Public function

bool

 

LocalOptimize

(
    bool bRemoveBowties
)

Public function Const

int

 

Num()

Public function

bool

 

remove_bowties()

Public function

bool

 

RemoveBowties()

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.

Public function

void

 

Select

(
    int tid
)

Public function

void

 

Select

(
    TFunctionRef< bool> SelectF
)

Public function

void

 

Select

(
    const EnumerableType& Enumerable
)

Public function

void

 

SelectEdgeTris

(
    int eid
)

Public function

void

 

SelectGroup

(
    int gid
)

Public function

void

 

SelectGroupInverse

(
    int gid
)

Public function

void

 

SelectVertexOneRing

(
    int vid
)

Public function

void

 

SelectVertexOneRings

(
    TArrayView< const int > Vertices
)

Public function Const

void

 

SetDifference

(
    const EnumerableType& SubtractSet,
    StorageType& DifferenceStorage
)

Find the elements in current selection that are not in SubtractSet, and store in DifferenceStorage

Public function Const

void

 

SetIntersection

(
    const EnumerableType& IntersectSet,
    StorageType& IntersectionStorage
)

Find the elements in current selection that are also in IntersectSet, and store in IntersectionStorage

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss