#include <traceanalysislayer.h>
|
| | Channel () |
| | Initialize an independent visual channel with a continuous colour scheme and ratio/linear/automatic defaults.
|
| |
| QJsonObject | toJson () const |
| |
◆ Channel()
| openswmmvis::trace::Channel::Channel |
( |
| ) |
|
Initialize an independent visual channel with a continuous colour scheme and ratio/linear/automatic defaults.
- Note
- Raw public fields are unvalidated; sizes are logical pixels and numeric ranges use the selected field's units.
◆ fromJson()
| Channel openswmmvis::trace::Channel::fromJson |
( |
const QJsonObject & |
j | ) |
|
|
static |
- Parameters
-
| [in] | j | Permissive channel object; missing fields use defaults, sizes clamp to minimum0..80 and maximum0.1..80 pixels without ordering them. |
- Returns
- Owned channel. Present colors uses ClassificationScheme decoding; legacy classes/ramp/range fields migrate when colors is absent. Field/transform names and numeric range order are not validated.
◆ toJson()
| QJsonObject openswmmvis::trace::Channel::toJson |
( |
| ) |
const |
- Returns
- Owned complete channel/range/size/palette JSON without validation, file IO or notification.
◆ automatic
| bool openswmmvis::trace::Channel::automatic = true |
◆ colors
◆ field
| QString openswmmvis::trace::Channel::field = QStringLiteral("ratio") |
◆ maximum
| double openswmmvis::trace::Channel::maximum = 1 |
◆ maximumSize
| double openswmmvis::trace::Channel::maximumSize = 14 |
◆ minimum
| double openswmmvis::trace::Channel::minimum = 0 |
◆ minimumSize
| double openswmmvis::trace::Channel::minimumSize = 2 |
◆ proportional
| bool openswmmvis::trace::Channel::proportional = true |
◆ transform
| QString openswmmvis::trace::Channel::transform = QStringLiteral("linear") |
The documentation for this struct was generated from the following files: