DistanceFromXMarkerList

MLModule
genre Marker
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLDTF
definition MLDTF.def
see also DistanceTransform, EuclideanDistanceTransform, XMarkerListContainer
keywords Distance

Purpose

The module DistFromXMarkerList calculates the the distances between a provided spatial Position and the positions of the points of the inputXMarkerList.

It returns the index and the squared and euclidean distances of the nearest and farthest XMarker from the list.

Windows

Default Panel

../../../Modules/ML/MLDTF/mhelp/Images/Screenshots/DistanceFromXMarkerList._default.png

Input Fields

inputXMarkerList

name: inputXMarkerList, type: XMarkerList(MLBase)

The list of markers.

For accessing this object via scripting see the Scripting Reference: MLXMarkerListWrapper.

Parameter Fields

Visible Fields

Position

name: position, type: Vector3, default: 0 0 0, deprecated name: Position

Sets a position to which the shortest distance to all XMarkers is being calculated.

Squared Distance (minimumSquaredDistance)

name: minimumSquaredDistance, type: Double, persistent: no, deprecated name: Distance

The squared distance from the nearest XMarker to the Position.

Is set to -1 if inputXMarkerList is empty or not connected.

Euclidean Distance (minimumEuclideanDistance)

name: minimumEuclideanDistance, type: Double, persistent: no

The euclidean distance from the nearest XMarker to the Position.

Is set to -1 if inputXMarkerList is empty or not connected.

Index (indexMinimum)

name: indexMinimum, type: Integer, persistent: no, deprecated name: Idx

Shows the index of the XMarker that is nearest to the Position.

Is set to -1 if inputXMarkerList is empty or not connected.

Squared Distance (maximumSquaredDistance)

name: maximumSquaredDistance, type: Double, persistent: no, deprecated name: maximumDistance

The squared distance from the farthest XMarker to the Position.

Is set to -1 if inputXMarkerList is empty or not connected.

Euclidean Distance (maximumEuclideanDistance)

name: maximumEuclideanDistance, type: Double, persistent: no

The euclidean distance from the farthest XMarker to the Position.

Is set to -1 if inputXMarkerList is empty or not connected.

Index (indexMaximum)

name: indexMaximum, type: Integer, persistent: no, deprecated name: IdxMax

Shows the index of the XMarker that is farthest to the Position.

Is set to -1 if inputXMarkerList is empty or not connected.

Calculate Distance

name: calculateDistance, type: Trigger, deprecated name: CalcDistance

If pressed, the module calculates anew.