file
Duplicate.hFunction Magnum::
Namespaces
- namespace Magnum
- Root namespace.
- namespace Magnum::MeshTools
- Mesh tools.
Functions
-
template<class IndexType, class T>auto duplicate(const Containers::
StridedArrayView1D<const IndexType>& indices, const Containers:: StridedArrayView1D<const T>& data) -> Containers::Array<T> new in 2019.10 - Duplicate data using given index array.
-
template<class T>auto duplicate(const std::
vector<UnsignedInt>& indices, const std:: vector<T>& data) -> std:: vector<T> deprecated in 2020.06 - Duplicate data using given index array.
-
template<class IndexType, class T>void duplicateInto(const Containers::
StridedArrayView1D<const IndexType>& indices, const Containers:: StridedArrayView1D<const T>& data, const Containers:: StridedArrayView1D<T>& out) new in 2019.10 - Duplicate data using an index array into given output array.
-
void duplicateInto(const Containers::
StridedArrayView1D<const UnsignedInt>& indices, const Containers:: StridedArrayView2D<const char>& data, const Containers:: StridedArrayView2D<char>& out) new in 2020.06 - Duplicate type-erased data using an index array into given output array.
-
void duplicateInto(const Containers::
StridedArrayView1D<const UnsignedShort>& indices, const Containers:: StridedArrayView2D<const char>& data, const Containers:: StridedArrayView2D<char>& out) new in 2020.06 -
void duplicateInto(const Containers::
StridedArrayView1D<const UnsignedByte>& indices, const Containers:: StridedArrayView2D<const char>& data, const Containers:: StridedArrayView2D<char>& out) new in 2020.06 -
void duplicateInto(const Containers::
StridedArrayView2D<const char>& indices, const Containers:: StridedArrayView2D<const char>& data, const Containers:: StridedArrayView2D<char>& out) new in 2020.06 - Duplicate type-erased data using a type-erased index array into given output array.
- auto duplicate(const Trade::MeshData& mesh, Containers::ArrayView<const Trade::MeshAttributeData> extra = {}) -> Trade::MeshData new in 2020.06
- Duplicate indexed mesh data.
-
auto duplicate(const Trade::MeshData& mesh,
std::
initializer_list<Trade::MeshAttributeData> extra) -> Trade::MeshData new in 2020.06