17 #ifndef POLYGONVERTEXATTRIBUTEARRAY_H
18 #define POLYGONVERTEXATTRIBUTEARRAY_H
124 #endif // POLYGONVERTEXATTRIBUTEARRAY_H
Class storing the values in a vertex attribute array, instantiable from QML.
Definition: PolygonVertexAttributeArray.h:35
void setValuesFromBase64Binary(const QString &base64Str)
Sets valuesAsBase64Binary.
void setName(const QString &value)
Sets name.
QString getValuesAsBase64Binary() const
Returns valuesAsBase64Binary.
const QList< float > & getValues() const
Returns values as a QList of floats.
Definition: PolygonVertexAttributeArray.h:82
QString name
Name of the attribute represented by this array, mapping it to the corresponding attribute in the Sha...
Definition: PolygonVertexAttributeArray.h:41
QVariantList getValuesAsVariantList() const
Returns values as a QVariantList.
QString valuesAsBase64Binary
List of floats contained in this array, encoded as a base64 string.
Definition: PolygonVertexAttributeArray.h:62
PolygonVertexAttributeArray(QObject *parent=nullptr)
Construct a PolygonVertexAttributeArray.
void nameChanged()
Emitted when name changes.
const QString & getName() const
Returns name.
Definition: PolygonVertexAttributeArray.h:73
void setValues(const QList< float > &values)
Sets values from a QList of floats.
void setValuesFromVariantList(const QVariantList &variants)
Sets values from a QVariantList.
QVariantList values
List of floats contained in this array, as a QVariantList.
Definition: PolygonVertexAttributeArray.h:46
void valuesChanged()
Emitted when values changes.