|
open_iA 2023.02
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
Functions | |
| void | addAttr (iAAttributes &attributes, QString const &name, iAValueType valueType, QVariant defaultValue, double min, double max) |
| iAAttributes | combineAttributesWithValues (iAAttributes const &attributes, QVariantMap const &values) |
| Merge the given values into the descriptors (returns new descriptors with the given values as default values) | |
| int | countAttributes (iAAttributes const &attributes, iAAttributeDescriptor::iAAttributeType type) |
| Count the attribute descriptors of the given type in the given collection. | |
| QSharedPointer< iAAttributes > | createAttributes (QTextStream &in) |
| Create a descriptor from a given text stream. | |
| QVariantMap | extractValues (iAAttributes const &attributes) |
| Extract just the values from the given descriptors into a map. | |
| int | findAttribute (iAAttributes const &attributes, QString const &name) |
| Find a descriptor with the given name and return its index. | |
| QVariantMap | joinValues (QVariantMap const &baseValues, QVariantMap const &newValues) |
| Merge the values from newValues into baseValues. | |
| void | setApplyingValues (QVariantMap &out, iAAttributes const &attributes, QVariantMap const &in) |
| In a given key/value map out, set values from another map in, for all keys that exist in the given attributes and the in map. | |
| void | storeAttributes (QTextStream &out, iAAttributes const &attributes) |
| Store the given descriptors in the given text stream. | |
| void addAttr | ( | iAAttributes & | attributes, |
| QString const & | name, | ||
| iAValueType | valueType, | ||
| QVariant | defaultValue, | ||
| double | min, | ||
| double | max | ||
| ) |
| iAAttributes combineAttributesWithValues | ( | iAAttributes const & | attributes, |
| QVariantMap const & | values | ||
| ) |
Merge the given values into the descriptors (returns new descriptors with the given values as default values)
| int countAttributes | ( | iAAttributes const & | attributes, |
| iAAttributeDescriptor::iAAttributeType | type | ||
| ) |
Count the attribute descriptors of the given type in the given collection.
| QSharedPointer< iAAttributes > createAttributes | ( | QTextStream & | in | ) |
Create a descriptor from a given text stream.
| QVariantMap extractValues | ( | iAAttributes const & | attributes | ) |
Extract just the values from the given descriptors into a map.
| int findAttribute | ( | iAAttributes const & | attributes, |
| QString const & | name | ||
| ) |
Find a descriptor with the given name and return its index.
| QVariantMap joinValues | ( | QVariantMap const & | baseValues, |
| QVariantMap const & | newValues | ||
| ) |
Merge the values from newValues into baseValues.
| void setApplyingValues | ( | QVariantMap & | out, |
| iAAttributes const & | attributes, | ||
| QVariantMap const & | in | ||
| ) |
In a given key/value map out, set values from another map in, for all keys that exist in the given attributes and the in map.
| out | the key/value map that is modified |
| attributes | list of possible attributes - only keys in out which have a corresponding entry in here will be set |
| in | the map of key/values used as input; any values existing in this map AND in attributes, will be set in out |
| void storeAttributes | ( | QTextStream & | out, |
| iAAttributes const & | attributes | ||
| ) |
Store the given descriptors in the given text stream.