![]() |
COLNEO Pro 1.0
|
Data Structures | |
| class | PropertyType |
| class | PropertyTypeKey |
Enumerations | |
| enum class | eDataType { } |
| enum class | eDomain : uint32_t { } |
| enum | eObjectStatus { None = 0 , Visible = 1 << 0 , Selected = 1 << 1 , Wired = 1 << 2 , Locked = 1 << 3 } |
| enum | ModificationFlag : uint8_t { Properties = 1 << 0 , Structure = 1 << 1 , Geometry = 1 << 2 , All = Properties | Structure | Geometry } |
| enum class | PersistenceStatus : uint32_t |
| enum class | TreeModelType : uint8_t |
Functions | |
| QString | contentTypeToString (TreeModelType type) |
| QString | formatVariantByDataType (QVariant &value, eDataType dataType, QLocale &locale, char format='g', int precision=15) |
| QString | modificationFlagsToString (ModificationFlags mflags, bool translated, QChar &sep=QChar('|')) |
| QString | persistenceStatusToString (PersistenceStatus status, bool translated) |
| bool | setVariantFromString (QVariant &variant, QString &value, eDataType dataType, QLocale &locale) |
Generic Object Model.
|
strong |
Available data types.
|
strong |
| enum eObjectStatus |
| enum ModificationFlag : uint8_t |
Flags indicating the types of modifications an object has undergone. These flags can be combined using bitwise OR to represent multiple changes simultaneously.
gom.h
| Enumerator | |
|---|---|
| Properties | Simple property changes (e.g. values) |
| Structure | Structural changes (e.g. hierarchy) |
| Geometry | Geometric changes (e.g. mesh) |
|
strong |
gom.h
|
strong |
Identifies type of a tree model.
Could be Models (object structure), SmartSets or Viewpoints.
| QString contentTypeToString | ( | TreeModelType | type | ) |
Converts element of enum TreeModelType to a string.
| QString formatVariantByDataType | ( | QVariant & | value, |
| eDataType | dataType, | ||
| QLocale & | locale, | ||
| char | format = 'g', | ||
| int | precision = 15 ) |
Replacement for the build-in QVariant::toString() method which does not take locale settings into account.
| value | |
| dataType | |
| locale | |
| format | 'f' or 'g' |
| precision |
| QString modificationFlagsToString | ( | ModificationFlags | mflags, |
| bool | translated, | ||
| QChar & | sep = QChar('|') ) |
Converts modifcation flags to a string.
| mflags | combination of Modification flag |
| translated | |
| sep | Seperating character (combinations) |
| QString persistenceStatusToString | ( | PersistenceStatus | status, |
| bool | translated ) |
Converts persistence status to a string.
| status | |
| translated |
| bool setVariantFromString | ( | QVariant & | variant, |
| QString & | value, | ||
| eDataType | dataType, | ||
| QLocale & | locale ) |
| variant | |
| value | |
| dataType | |
| locale |