gustaf.helpers.data#

gustaf/gustaf/helpers/data.py.

Helps helpee to manage data. Some useful data structures.

Functions

make_tracked_array(array[, dtype, copy])

Motivated by nice implementations of trimesh (see LICENSE.txt).

Classes

ComputedData(helpee, **_kwargs)

ComputedMeshData(helpee, **_kwargs)

A class to hold computed-mesh-data.

DataHolder(helpee)

TrackedArray

numpy array object that keeps mirroring inplace changes to the source.

Unique2DFloats(values, ids, inverse, ...)

namedtuple to hold unique information of float type arrays.

Unique2DIntegers(values, ids, inverse, counts)

namedtuple to hold unique information of integer type arrays.

VertexData(helpee)

Minimal manager for vertex data.