DistFromXMarkerList

MLModule
genre Marker
status stable
author Stephan Zidowitz
package MeVisLab/Standard
dll MLDTF
definition MLDTF.def
see also DistanceTransform, EuclideanDTF, XMarkerListContainer
keywords XMarker, Distance

Purpose

The module DistFromXMarkerList calculates the the squared distances between a provided spatial position and the positions of the points of the XMarkerList.

It returns the index of the nearest XMarker from the list and the minimal squared distance between the provided coordinates and the nearest XMarker.

Windows

Default Panel

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

Input Fields

inputXMarkerList

name: inputXMarkerList, type: MLBase

Parameter Fields

Field Index

Calc Distance: Trigger
Distance: Float
Idx: Integer
Idx Max: Integer
Maximum Distance: Float
Position: Vector3

Visible Fields

Position

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

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

Distance

name: Distance, type: Float, persistent: no

Shows the shortest squared distance from a XMarker to the Position.

Idx

name: Idx, type: Integer, persistent: no

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

Maximum Distance

name: maximumDistance, type: Float, persistent: no

Shows the maximum distance of the Position to a XMarker.

Idx Max

name: IdxMax, type: Integer, persistent: no

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

Calc Distance

name: CalcDistance, type: Trigger

If pressed, the module calculates anew.