Purpose

This module extrapolates a line of markers on both ends.

Usage

Connect an XMarkerlist containing a line of XMarkers and press Update.

Details

The input list must contain at least two markers. The positions of the extrapolated markers are calculated from the two first (resp. last) markers on each end.

Marker order in the list and spatially must be the same for extrapolated positions to be useful. C, T and U position as well as the type are copied from the first (resp. last) marker. All new markers have a zero vector.

To process a marker list with multiple lines (e.g., on different slices), separate the lines first and merge them afterwards.

Windows

Default Panel

../../../Projects/MarkerInfrastructure/ExtrapolateXMarkers/Modules/mhelp/Images/Screenshots/ExtrapolateXMarkersLinear._default.png

Input Fields

inMarkerList

name: inMarkerList, type: MLBase

A marker list with at least two markers.

Output Fields

outMarkerList

name: outMarkerList, type: MLBase

A copy of the input marker list containing the input markers and the extrapolated markers.

Parameter Fields

Field Index

[]: Trigger Status Message: String
Clear: Trigger Update: Trigger
doNotClearOnFailedUpdate: Bool  
Has Valid Output: Bool  
Number to Add After End: Integer  
Number to Add in Front: Integer  
On Input Change Behavior: Enum  
Status Code: Enum  

Visible Fields

Update

name: update, type: Trigger

Initiates update of all output field values.

Clear

name: clear, type: Trigger

Clears all output field values to a clean initial state.

On Input Change Behavior

name: onInputChangeBehavior, type: Enum, default: Clear, deprecated name: shouldAutoUpdate,shouldUpdateAutomatically

Declares how the module should react if a value of an input field changes.

Values:

Title Name Deprecated Name
Update Update TRUE
Clear Clear FALSE

Status Code

name: statusCode, type: Enum, persistent: no

Reflects module’s status (successful or failed computations) as one of some predefined enumeration values.

Values:

Title Name
Ok Ok
Invalid input object Invalid input object
Invalid input parameter Invalid input parameter
Internal error Internal error

Status Message

name: statusMessage, type: String, persistent: no

Gives additional, detailed information about status code as human-readable message.

Has Valid Output

name: hasValidOutput, type: Bool, persistent: no

Indicates validity of output field values (success of computation).

[]

name: updateDone, type: Trigger, persistent: no

Notifies that an update was performed (Check status interface fields to identify success or failure).

Number to Add in Front

name: inNumberOfMarkersToAddInFront, type: Integer, default: 0

Number of markers to add before the first input marker.

Number to Add After End

name: inNumberOfMarkersToAddAfterEnd, type: Integer, default: 0

Number of markers to add after the last input marker.

Hidden Fields

doNotClearOnFailedUpdate

name: doNotClearOnFailedUpdate, type: Bool, persistent: no

Prevents automated clear after update failed. This does not affect status fields. It enables the developer to analyze module’s state after failure.