5#include "Containers/Array.h"
194 return Lhs.Iterator == Rhs.Iterator;
199 return Lhs.Iterator != Rhs.Iterator;
244template <
typename ElementIDType>
326 return Lhs.Iterator == Rhs.Iterator;
331 return Lhs.Iterator != Rhs.Iterator;
405 if (Channel.GetArraySize() != 0) {
return false; }
414 Ar << ElementType.Channels;
#define checkSlow(expr)
Definition AssertionMacros.h:332
#define check(expr)
Definition AssertionMacros.h:314
@ INDEX_NONE
Definition CoreMiscDefines.h:150
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
Definition Archive.h:1208
Definition MeshAttributeArray.h:1557
void Insert(const int32 Index)
Definition MeshAttributeArray.h:1759
void Initialize(const int32 Count)
Definition MeshAttributeArray.h:1689
void Remove(const int32 Index)
Definition MeshAttributeArray.h:1792
Definition MeshElementContainer.h:367
int32 GetNumChannels() const
Definition MeshElementContainer.h:389
void SetNumChannels(const int32 NumIndices)
Definition MeshElementContainer.h:386
const FMeshElementContainer & operator[](const int32 Index) const
Definition MeshElementContainer.h:377
FMeshElementContainer & operator[](const int32 Index)
Definition MeshElementContainer.h:381
friend FArchive & operator<<(FArchive &Ar, FMeshElementChannels &ElementType)
Definition MeshElementContainer.h:412
const FMeshElementContainer & Get(const int32 Index=0) const
Definition MeshElementContainer.h:376
FMeshElementContainer & operator*()
Definition MeshElementContainer.h:382
FMeshElementContainer * operator->()
Definition MeshElementContainer.h:383
bool IsEmpty() const
Definition MeshElementContainer.h:401
FMeshElementContainer & Get(const int32 Index=0)
Definition MeshElementContainer.h:380
const FMeshElementContainer * operator->() const
Definition MeshElementContainer.h:379
const FMeshElementContainer & operator*() const
Definition MeshElementContainer.h:378
FMeshElementChannels(const int32 NumberOfIndices=1)
Definition MeshElementContainer.h:370
void Reset()
Definition MeshElementContainer.h:392
Definition MeshElementContainer.h:175
friend bool operator==(const FConstIterator &Lhs, const FConstIterator &Rhs)
Definition MeshElementContainer.h:192
int32 operator*() const
Definition MeshElementContainer.h:187
friend bool operator!=(const FConstIterator &Lhs, const FConstIterator &Rhs)
Definition MeshElementContainer.h:197
FConstIterator(TConstSetBitIterator<> &&It)
Definition MeshElementContainer.h:177
FConstIterator & operator++()
Definition MeshElementContainer.h:181
Definition MeshElementContainer.h:168
FElementIDs(const TBitArray<> &InArray)
Definition MeshElementContainer.h:170
FConstIterator begin() const
Definition MeshElementContainer.h:212
FConstIterator CreateConstIterator() const
Definition MeshElementContainer.h:206
FConstIterator end() const
Definition MeshElementContainer.h:217
Definition MeshElementContainer.h:25
void Remove(const int32 Index)
Definition MeshElementContainer.h:110
MESHDESCRIPTION_API void Remap(const TSparseArray< int32 > &IndexRemap)
Definition MeshElementContainer.cpp:26
void Insert(const int32 Index)
Definition MeshElementContainer.h:85
FMeshElementContainer(FMeshElementContainer &&Other)
Definition MeshElementContainer.h:32
int32 Add()
Definition MeshElementContainer.h:65
void Reserve(const int32 Elements)
Definition MeshElementContainer.h:62
FMeshElementContainer(const FMeshElementContainer &)=default
FMeshElementContainer & operator=(FMeshElementContainer &&Other)
Definition MeshElementContainer.h:41
const FAttributesSetBase & GetAttributes() const
Definition MeshElementContainer.h:139
TBitArray BitArray
Definition MeshElementContainer.h:231
FAttributesSetBase & GetAttributes()
Definition MeshElementContainer.h:138
int32 GetFirstValidID() const
Definition MeshElementContainer.h:126
int32 NumHoles
Definition MeshElementContainer.h:237
bool IsValid(const int32 Index) const
Definition MeshElementContainer.h:132
int32 GetArraySize() const
Definition MeshElementContainer.h:123
void Reset(const int32 Elements=0)
Definition MeshElementContainer.h:54
FElementIDs GetElementIDs() const
Definition MeshElementContainer.h:227
MESHDESCRIPTION_API void Compact(TSparseArray< int32 > &OutIndexRemap)
Definition MeshElementContainer.cpp:7
FMeshElementContainer()=default
friend FArchive & operator<<(FArchive &Ar, FMeshElementContainer &Container)
Definition MeshElementContainer.h:148
FMeshElementContainer & operator=(const FMeshElementContainer &)=default
FAttributesSetBase Attributes
Definition MeshElementContainer.h:234
int32 Num() const
Definition MeshElementContainer.h:120
Definition MeshElementContainer.h:429
FMeshElementTypeWrapper & operator=(const FMeshElementTypeWrapper &Other)
Definition MeshElementContainer.h:446
FMeshElementTypeWrapper(const FMeshElementTypeWrapper &Other)
Definition MeshElementContainer.h:439
FMeshElementChannels * operator->()
Definition MeshElementContainer.h:464
const FMeshElementChannels & operator*() const
Definition MeshElementContainer.h:462
const FMeshElementChannels * operator->() const
Definition MeshElementContainer.h:461
FMeshElementChannels & operator*()
Definition MeshElementContainer.h:465
FMeshElementChannels * Get()
Definition MeshElementContainer.h:463
const FMeshElementChannels * Get() const
Definition MeshElementContainer.h:460
FMeshElementTypeWrapper(const int32 NumberOfChannels=1)
Definition MeshElementContainer.h:432
friend FArchive & operator<<(FArchive &Ar, FMeshElementTypeWrapper &Wrapper)
Definition MeshElementContainer.h:468
FMeshElementTypeWrapper & operator=(FMeshElementTypeWrapper &&)=default
FMeshElementTypeWrapper(FMeshElementTypeWrapper &&)=default
Definition MeshAttributeArray.h:1873
UE_FORCEINLINE_HINT int32 Num() const
Definition BitArray.h:1466
int32 Add(const bool Value)
Definition BitArray.h:615
void Empty(int32 ExpectedNumBits=0)
Definition BitArray.h:779
int32 Find(bool bValue) const
Definition BitArray.h:1084
int32 FindAndSetFirstZeroBit(int32 StartIndex=0)
Definition BitArray.h:1258
void SetNumUninitialized(int32 InNumBits)
Definition BitArray.h:849
FORCENOINLINE void SetRange(int32 Index, int32 NumBitsToSet, bool Value)
Definition BitArray.h:887
void Reserve(int32 Number)
Definition BitArray.h:800
Definition BitArray.h:1944
UE_FORCEINLINE_HINT int32 GetIndex() const
Definition BitArray.h:2011
Definition MeshElementContainer.h:307
friend bool operator==(const TConstIterator &Lhs, const TConstIterator &Rhs)
Definition MeshElementContainer.h:324
TConstIterator & operator++()
Definition MeshElementContainer.h:313
ElementIDType operator*() const
Definition MeshElementContainer.h:319
TConstIterator(TConstSetBitIterator<> &&It)
Definition MeshElementContainer.h:309
friend bool operator!=(const TConstIterator &Lhs, const TConstIterator &Rhs)
Definition MeshElementContainer.h:329
Definition MeshElementContainer.h:300
TConstIterator CreateConstIterator() const
Definition MeshElementContainer.h:338
TElementIDs(const TBitArray<> &InArray)
Definition MeshElementContainer.h:302
TConstIterator end() const
Definition MeshElementContainer.h:349
TConstIterator begin() const
Definition MeshElementContainer.h:344
Definition MeshElementContainer.h:246
ElementIDType Add()
Definition MeshElementContainer.h:249
ElementIDType GetFirstValidID() const
Definition MeshElementContainer.h:267
bool IsValid(const ElementIDType Index) const
Definition MeshElementContainer.h:273
void Remove(const ElementIDType Index)
Definition MeshElementContainer.h:261
friend FArchive & operator<<(FArchive &Ar, TMeshElementContainer &Container)
Definition MeshElementContainer.h:283
TAttributesSet< ElementIDType > & GetAttributes()
Definition MeshElementContainer.h:279
const TAttributesSet< ElementIDType > & GetAttributes() const
Definition MeshElementContainer.h:280
void Insert(const ElementIDType Index)
Definition MeshElementContainer.h:255
TElementIDs GetElementIDs() const
Definition MeshElementContainer.h:359
Definition SparseArray.h:524
Definition UniquePtr.h:107
UE_FORCEINLINE_HINT T * Get() const
Definition UniquePtr.h:324
U16 Index
Definition radfft.cpp:71