TDynamicAttributeSetBase

Generic base class for managing a set of registered attributes that must all be kept up to date

Windows
MacOS
Linux

Inheritance Hierarchy

TDynamicAttributeSetBase

FDynamicMeshAttributeSet

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicAttribute.h

Include

#include "DynamicAttribute.h"

Syntax

template<typename ParentType>
class TDynamicAttributeSetBase

Remarks

Generic base class for managing a set of registered attributes that must all be kept up to date

Variables

Name Description

Protected variable

TArray< TDynami...

 

RegisteredAttributes

Not managed by the base class; we should be able to register any attributes here that we want to be automatically updated

Destructors

Name Description

Public function Virtual

~TDynamicAttributeSetBase()

Functions

Name Description

Public function Virtual Const

bool

 

CheckValidity

(
    bool bAllowNonmanifold,
    EValidityCheckFailMode FailMode
)

Check validity of attributes

Public function Const

TDynamicAttr...

 

GetRegisteredAttribute

(
    int Idx
)

Public function Const

int

 

NumRegisteredAttributes()

Public function Virtual

void

 

OnCollapseEdge

(
    const DynamicMeshInfo::FEdgeCollaps...
)

Public function Virtual

void

 

OnFlipEdge

(
    const DynamicMeshInfo::FEdgeFlipInf...
)

Public function Virtual

void

 

OnMergeEdges

(
    const DynamicMeshInfo::FMergeEdgesI...
)

Public function Virtual

void

 

OnNewTriangle

(
    int TriangleID,
    bool bInserted
)

These functions are called by the FDynamicMesh3 to update the various attributes when the parent mesh topology has been modified.

Public function Virtual

void

 

OnNewVertex

(
    int VertexID,
    bool bInserted
)

Public function Virtual

void

 

OnPokeTriangle

(
    const DynamicMeshInfo::FPokeTriangl...
)

Public function Virtual

void

 

OnRemoveTriangle

(
    int TriangleID
)

Public function Virtual

void

 

OnRemoveVertex

(
    int VertexID
)

Public function Virtual

void

 

OnReverseTriOrientation

(
    int TriangleID
)

Public function Virtual

void

 

OnSplitEdge

(
    const DynamicMeshInfo::FEdgeSplitIn...
)

Mesh-specific on* functions; may be split out

Public function Virtual

void

 

OnSplitVertex

(
    const DynamicMeshInfo::FVertexSplit...,
    const TArrayView< const int >& Tri...
)

Protected function

void

 

RegisterExternalAttribute

(
    TDynamicAttributeBase< ParentType >...
)

Stores the given attribute pointer in the attribute register, so that it will be updated with mesh changes, but does not take ownership of the attribute memory.

Protected function

void

 

ResetRegisteredAttributes()

Protected function

void

 

UnregisterExternalAttribute

(
    TDynamicAttributeBase< ParentType >...
)

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