User Tools

Site Tools


visual3d:documentation:pipeline:metric_commands:metric_explicit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:documentation:pipeline:metric_commands:metric_explicit [2024/06/18 13:31] sgrangervisual3d: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. This command creates a metric signal explicitly.
  
-|<code>\\ Metric_Explicit\\ /RESULT_METRIC_NAME=              Name of the resulting signal\\ ! /RESULT_METRIC_FOLDER=PROCESSED Name of the resulting folder\\ /METRIC_VALUE=                    Component Value(s)\\ ;\\ </code>  |  {{Event_Explicit.jpg{{/images/thumb/b/bd/Event_Explicit.jpg/500px-Event_Explicit.jpg?500x287}}|+<code> 
 +Metric_Explicit 
 +/RESULT_METRIC_NAME=              Name of the resulting signal 
 +! /RESULT_METRIC_FOLDER=PROCESSED Name of the resulting folder 
 +/METRIC_VALUE=                    Component Value(s); 
 +</code>   
 + 
 +{{:Event_Explicit.jpg}}
  
 Previous versions of Visual3D labeled this command Explicit_Metric Previous versions of Visual3D labeled this command Explicit_Metric
  
-====== Example ======+===== 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. 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.
  
-|<code>\\ Metric_Explicit\\ /RESULT_METRIC_NAME= NEW_SIGNAL\\ /RESULT_METRIC_FOLDER= OFFSET\\ /METRIC_VALUE= 1+2+3\\ ;\\ </code>   {{Event_Explicit_example.jpg{{/images/thumb/7/75/Event_Explicit_example.jpg/500px-Event_Explicit_example.jpg?500x285}}|+<code> 
 +Metric_Explicit 
 +/RESULT_METRIC_NAME= NEW_SIGNAL 
 +/RESULT_METRIC_FOLDER= OFFSET 
 +/METRIC_VALUE= 1+2+3; 
 +</code> 
  
-===== Result =====+ {{:Event_Explicit_example.jpg}}
  
-{{Event_Explicit_exampleresult.jpg{{/images/thumb/c/cc/Event_Explicit_exampleresult.jpg/500px-Event_Explicit_exampleresult.jpg?500x270}}+==== Result ====
  
-===== Expressions =====+{{:Event_Explicit_exampleresult.jpg}} 
 + 
 +==== 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 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.
Line 23: Line 39:
 For example, For example,
  
-**Metric_Explicit**+<code> 
 +Metric_Explicit
 ! /RESULT_METRIC_FOLDER=PROCESSED ! /RESULT_METRIC_FOLDER=PROCESSED
 /RESULT_METRIC_NAME=X /RESULT_METRIC_NAME=X
 /METRIC_VALUE=1 /METRIC_VALUE=1
-**;** +
-**Metric_Explicit**+</code> 
 + 
 +<code> 
 +Metric_Explicit
 ! /RESULT_METRIC_FOLDER=PROCESSED ! /RESULT_METRIC_FOLDER=PROCESSED
 /RESULT_METRIC_NAME=TEST /RESULT_METRIC_NAME=TEST
 /METRIC_VALUE=METRIC::PROCESSED::X+1 /METRIC_VALUE=METRIC::PROCESSED::X+1
-**;**+; 
 +</code> 
 The processing results for the second command are: The processing results for the second command are:
  
-Metric Name : METRIC::PROCESSED::TEST +Metric Name : METRIC::PROCESSED::TEST\\ 
-Metric Expression : VECTOR(METRIC::PROCESSED::X,1) +Metric Expression : VECTOR(METRIC::PROCESSED::X,1)\\ 
-Metric Value : 1.000000 , 1.000000 ;+Metric Value : 1.000000 , 1.000000 ;\\
 The second command be re-written as follows: The second command be re-written as follows:
  
-**Metric_Explicit** +Metric_Explicit\\ 
-! /RESULT_METRIC_FOLDER=PROCESSED +! /RESULT_METRIC_FOLDER=PROCESSED\\ 
-/RESULT_METRIC_NAME=TEST +/RESULT_METRIC_NAME=TEST\\ 
-/METRIC_VALUE=[[Visual3D:Documentation:Pipeline:Expressions:Overview#Pipeline_parameters_using_.2B_as_delimiter|Add]](METRIC::PROCESSED::X,1) +/METRIC_VALUE=[[Visual3D:Documentation:Pipeline:Expressions:Expressions_Overview#Pipeline_parameters_using_.2B_as_delimiter|Add]](METRIC::PROCESSED::X,1)\\ 
-**;**+;\\ 
 The processing results for the third command are: The processing results for the third command are:
  
-Metric Name : METRIC::PROCESSED::TEST +Metric Name : METRIC::PROCESSED::TEST\\ 
-Metric Expression : Add(METRIC::PROCESSED::X,1) +Metric Expression : Add(METRIC::PROCESSED::X,1)\\ 
-Metric Value : 2.000000 ;+Metric Value : 2.000000 ;\\
  
  
visual3d/documentation/pipeline/metric_commands/metric_explicit.1718717515.txt.gz · Last modified: 2024/06/18 13:31 by sgranger