interactive labels
The interactive labels module allows the user to place formatted labels at probed locations within the viewer. The data displayed is the data at the probed location. Labels use an expression editor that supports variables derived from the probed data (coordinates, data name, value, and units) as well as external number and string inputs.
Each label can optionally have a leader line drawn from the probed point to the label origin. The labels can be exported to a .PT file for use in place text, with the leader lines written to an accompanying .ELF file.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Number Variable | Number | A value used as a variable in the expression. |
| Input | Input String Variable | String | A string used as a variable in the expression. |
| Output | Output Number Variable | Number | A value used as a variable in the expression. |
| Output | Output String Variable | String | A string used as a variable in the expression. |
| Output | Output Object | Renderable | A renderable object displaying the labels. |
Properties
| Property | Type | Description |
|---|---|---|
| Visible | Visibility | Controls the visibility of the object. Excluded prevents inclusion in supported exports. Locked makes the object always visible in supported exports. |
| Explode | Double | The explode factor to apply to each label based on its Explode ID. |
| Export File | File | Exports the current labels to a *.pt (EVS place text) file. This also creates an *.elf file to store the leader lines if Create Leader Lines is on. |
Label Settings
| Property | Type | Description |
|---|---|---|
| N1 | Double | A floating point value, passed in via the Number Variable port, for use as {N1} in the expressions. |
| S1 | String | A string value, passed in via the Input String Variable port, for use as {S1} in the expressions. |
| Create Leader Lines | Boolean | Creates a line from the probe point to the label origin. |
| Probe Action | Choice: None, Reset Position, Add Label | Changes the selected label’s origin, or adds a new label, at the probed location. Only available when the viewer is connected. |
| Control Expression | Expression | The expression used by all labels with a linked Expression value. Supports the variables {N1}, {S1}, {CoordinateX}, {CoordinateY}, {CoordinateZ}, {Name}, {Value}, and {Units}. The default is “Value = {Value:,.3f}”. |
| Labels | Interactive Labels | The list of placed labels and their individual settings. |