visual3d:documentation:pipeline:metric_commands:metric_explicit
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:metric_commands:metric_explicit [2024/06/19 12:51] – sgranger | visual3d:documentation:pipeline:metric_commands:metric_explicit [2025/09/18 17:13] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{{{{{this command creates a metric signal explicitly. | + | ====== Metric Explicit ====== |
- | |< | + | ====Overview==== |
- | previous | + | The **Metric Explicit** command creates a metric signal explicitly. This allows for the creation of a new signal without input or reference data, unlike other metric commands. Previous |
- | ====== example ====== | + | ====Pipeline Command==== |
- | this example will create a metric signal with 3 component values of 1, 2, 3. the resulting signal will be named **new_signal** and be located in the **offset** folder. | + | The pipeline code for this command is as follows, it can be found in the **Pipeline Workshop** under **Metric**. |
- | |< | + | < |
+ | Metric_Explicit | ||
+ | /RESULT_METRIC_NAME= | ||
+ | ! /RESULT_METRIC_FOLDER= | ||
+ | /METRIC_VALUE= | ||
+ | </ | ||
- | ===== result ===== | + | ====Command Parameters==== |
- | event_explicit_exampleresult.jpg | + | The following table shows the command parameters seen above and their descriptions: |
- | ===== expressions ===== | + | |**RESULT_METRIC_NAME**|**The name of the result signal**| |
+ | |**RESULT_METRIC_FOLDER**|**The name of the result signal folder**| | ||
+ | |**METRIC_VALUE**|**Value of signal components**| | ||
- | in early implementations of this command the values in metric_value were a list of components you wanted the metric explicitly set to (see example above), and expressions were not allowed. | + | ====Dialog==== |
- | in version 6 metric_value | + | The command |
- | for example, | + | {{: |
- | **metric_explicit** | ||
- | ! / | ||
- | / | ||
- | / | ||
- | **;** | ||
- | **metric_explicit** | ||
- | ! / | ||
- | / | ||
- | / | ||
- | **;** | ||
- | the processing results for the second command are: | ||
- | metric name : metric:: | + | The dialog box allows you to assign values to the command |
- | metric expression : | + | |
- | metric value : 1.000000 , 1.000000 ; | + | |
- | the second | + | |
- | **metric_explicit** | + | ===== Example ===== |
- | ! /result_metric_folder=processed | + | |
- | /result_metric_name=test | + | This example will create a metric signal with 3 component values of 1, 2, 3. The resulting signal will be named **NEW_SIGNAL** and be located in the **OFFSET** folder. |
- | /metric_value=[[visual3d:documentation:pipeline:expressions:overview#pipeline_parameters_using_.2b_as_delimiter|add]](metric::processed::x,1) | + | |
- | **;** | + | < |
- | the processing results for the third command are: | + | Metric_Explicit |
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | | ||
+ | |||
+ | ==== Result ==== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ==== Expressions ==== | ||
+ | |||
+ | In early implementations of this command the values in Metric_Value were a list of components you wanted the metric explicitly set to (see example above), and expressions were not allowed. | ||
+ | |||
+ | In version 6 Metric_Value can be an expression, but this may lead to some confusion. | ||
+ | |||
+ | For example, | ||
+ | |||
+ | < | ||
+ | Metric_Explicit | ||
+ | ! /RESULT_METRIC_FOLDER=PROCESSED | ||
+ | /RESULT_METRIC_NAME=X | ||
+ | /METRIC_VALUE=1 | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Metric_Explicit | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | The processing results for the second command are: | ||
+ | |||
+ | Metric Name : METRIC:: | ||
+ | Metric Expression : | ||
+ | Metric Value : 1.000000 , 1.000000 ; | ||
+ | The second command be re-written as follows: | ||
+ | |||
+ | Metric_Explicit\\ | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ;\\ | ||
+ | |||
+ | The processing results for the third command are: | ||
+ | |||
+ | Metric Name : METRIC:: | ||
+ | Metric Expression : | ||
+ | Metric Value : 2.000000 ; | ||
- | metric name : metric:: | ||
- | metric expression : | ||
- | metric value : 2.000000 ; | ||
- | }}}}}} |
visual3d/documentation/pipeline/metric_commands/metric_explicit.1718801479.txt.gz · Last modified: 2024/06/19 12:51 by sgranger