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/07/17 15:42] – removed sgranger | visual3d:documentation:pipeline:metric_commands:metric_explicit [2024/09/20 14:10] (current) – [Expressions] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Metric Explicit ====== | ||
+ | |||
+ | This command creates a metric signal explicitly. | ||
+ | |||
+ | < | ||
+ | Metric_Explicit | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Previous versions of Visual3D labeled this command Explicit_Metric | ||
+ | |||
+ | ===== Example ===== | ||
+ | |||
+ | 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_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 | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | 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 ; | ||
+ | |||
visual3d/documentation/pipeline/metric_commands/metric_explicit.1721230949.txt.gz · Last modified: 2024/07/17 15:42 by sgranger