visual3d:documentation:pipeline:expressions:reserved_names
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:expressions:reserved_names [2024/07/03 17:28] – removed sgranger | visual3d:documentation:pipeline:expressions:reserved_names [2025/03/10 11:40] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Reserved Names ====== | ||
+ | |||
+ | Visual3D Reserved Names | ||
+ | |||
+ | ==== Contents ==== | ||
+ | |||
+ | |||
+ | |||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[#NAN|2 NAN]] | ||
+ | * [[#isNAN|3 isNAN]] | ||
+ | * [[# | ||
+ | |||
+ | |||
+ | ==== CURRENT_SIGNAL ==== | ||
+ | |||
+ | Used to refer to a specific signal with a simple syntax | ||
+ | Compute the length of one signal. | ||
+ | |||
+ | The legacy syntax is: | ||
+ | |||
+ | **Evaluate_Expression** | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | The legacy syntax can get complicated if [[Visual3D: | ||
+ | |||
+ | ! Create a pipeline parameter containing the marker name | ||
+ | **Set_Pipeline_Parameter** | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | **Evaluate_Expression** | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | This gets even more complicate if the folder is also a pipeline parameter. | ||
+ | |||
+ | An alternative is the following | ||
+ | |||
+ | **Evaluate_Expression** | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | \\ | ||
+ | |||
+ | |||
+ | == Used to allow multiple signals to be specified in an expression == | ||
+ | |||
+ | Compute the length of TARGETS RFT1, RFT2, and RFT3 in the ORIGINAL folder | ||
+ | |||
+ | The legacy implementation requires a [[Visual3D: | ||
+ | |||
+ | [[Visual3D: | ||
+ | / | ||
+ | /Items= RFT1+RFT2+RFT3 | ||
+ | **;** | ||
+ | **Evaluate_Expression** | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | End_For_Each | ||
+ | / | ||
+ | **;** | ||
+ | Using CURRENT_SIGNAL | ||
+ | |||
+ | **Evaluate_Expression** | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | \\ | ||
+ | |||
+ | |||
+ | == Used to Specifying all signals of a given TYPE == | ||
+ | |||
+ | Compute the length of all TARGETS in the ORIGINAL folder | ||
+ | |||
+ | The legacy implementation requires a [[Visual3D: | ||
+ | |||
+ | [[Visual3D: | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | [[Visual3D: | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | **Evaluate_Expression** | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | End_For_Each | ||
+ | / | ||
+ | **;** | ||
+ | Using CURRENT_SIGNAL | ||
+ | |||
+ | **Evaluate_Expression** | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | \\ | ||
+ | |||
+ | |||
+ | == APPLY_AS_SUFFIX_TO_SIGNAL_NAME == | ||
+ | |||
+ | If **APPLY_AS_SUFFIX_TO_SIGNAL_NAME** is **true**, OR RESULT_NAMES.size() == SIGNAL_NAMES.size() | ||
+ | |||
+ | Compute the length of all TARGETS in the ORIGINAL folder | ||
+ | |||
+ | **Evaluate_Expression** | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | Compute the length of Two TARGETS (RFT1 and RFT2) in the ORIGINAL folder | ||
+ | |||
+ | **Evaluate_Expression** | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | Compute a Best_Plane_Fit for multiple signals at each frame of data | ||
+ | |||
+ | **Evaluate_Expression** | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | \\ | ||
+ | If **APPLY_AS_SUFFIX_TO_SIGNAL_NAME** is **false**, AND RESULT_NAMES.size() == 1 | ||
+ | |||
+ | Compute the length of one TARGET (TARGET:: | ||
+ | |||
+ | **Evaluate_Expression** | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | ==== NAN ==== | ||
+ | |||
+ | NAN is a reserved string used to designate "Not a Number" | ||
+ | |||
+ | Visual3D commands refer to [[Visual3D: | ||
+ | |||
+ | For example, the expression 1/0 results in NAN | ||
+ | ==== isNAN ==== | ||
+ | |||
+ | isNAN(expression) tests values against NAN - If the number is NAN the result is 1, otherwise the result is 0 | ||
+ | |||
+ | [Set_Pipeline_Parameter_From_Expression] | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | ::NAN_TEST = 1 | ||
+ | [Set_Pipeline_Parameter_From_Expression] | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | ::NAN_TEST = 1 | ||
+ | Returns " | ||
+ | |||
+ | [Set_Pipeline_Parameter_From_Expression] | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | ::NAN_TEST = 0 | ||
+ | Example: Set negative values to NO_DATA | ||
+ | |||
+ | If the z-component of the LELB signal is below 0 set the frame to NO_DATA | ||
+ | |||
+ | **Evaluate_Expression** | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | **;** | ||
+ | |||
+ | ==== ORIGIN ==== | ||
+ | |||
+ | Internally Visual3D specifies the location ORIGIN and the string cannot be used for a TARGET or a LANDMARK | ||
+ | |||
visual3d/documentation/pipeline/expressions/reserved_names.1720027698.txt.gz · Last modified: 2024/07/03 17:28 by sgranger