FGroupTopologySelection

[FGroupTopologySelection](API\Plugins\DynamicMesh\FGroupTopologySelection) represents a set of selected elements of a [FGroupTopology](API\Plugins\DynamicMesh\FGroupTopology)

Choose your operating system:

Windows

macOS

Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/GroupTopology.h

Include

#include "GroupTopology.h"

Syntax

struct FGroupTopologySelection

Remarks

FGroupTopologySelection represents a set of selected elements of a FGroupTopology

Variables

Name Description

Public variable

TSet< int32 >

 

SelectedCornerIDs

Public variable

TSet< int32 >

 

SelectedEdgeIDs

Public variable

TSet< int32 >

 

SelectedGroupIDs

Constructors

Name Description

Public function

FGroupTopologySelection()

Functions

Name Description

Public function

void

 

Append

(
    const FGroupTopologySelection& Sel...
)

Public function

void

 

Clear()

Public function Const

bool

 

Contains

(
    const FGroupTopologySelection& Sel...
)

Returns true if this selection contains every element in the passed in selection

Public function Const

int32

 

GetASelectedCornerID()

Public function Const

int32

 

GetASelectedEdgeID()

Public function Const

int32

 

GetASelectedGroupID()

These are helper methods to get out a value when you know you only have one, or you don't care which one of the existing ones you grab.

Public function Const

bool

 

IsEmpty()

Public function Const

bool

 

IsSelectedTriangle

(
    const FDynamicMesh3* Mesh,
    const FGroupTopology* Topology,
    int32 TriangleID
)

Defined here instead of the class declaration because it requires FGroupTopology to be defined.

Public function

void

 

Remove

(
    const FGroupTopologySelection& Sel...
)

Public function

void

 

Toggle

(
    const FGroupTopologySelection& Sel...
)

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FGroupTopologySelection& Sel...
)

Public function Const

bool

 

operator==

(
    const FGroupTopologySelection& Sel...
)