DistanceLine2D3D¶
-
MacroModule
¶ genre Measurement
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition Measurement.def keywords measurement
Purpose¶
This module allows interactive measurement of distances in 2D whereas the distance is rendered in the 3D scene with a distance line (this a line with arrows) and the distance as number and unit synchronously.
Interaction in 2D goes through defining two points Start Pos
and End Pos
within the
slices, whereas each of the points may be moved also.
Interaction¶
Consecutive clicks set the start and the end position.
Output Fields¶
Parameter Fields¶
Field Index¶
Color : Color |
Line Length : Float |
counter : Integer |
mousePressed : Bool |
Display name : Bool |
Start Pos : Vector3 |
Display unit : Bool |
Status : String |
End Pos : Vector3 |
Tool Name : String |
Interaction Mode : Enum |
Unit : Enum |
Keyboard Increment : Float |
|
Line Interrupt Distance : Float |
Visible Fields¶
Line Interrupt Distance¶
-
name:
minDistance
, type:
Float
, default:
10
¶ Interrupt of the distance line to render extent and unit in 3D.
Keyboard Increment¶
-
name:
keyboardIncrement
, type:
Float
, default:
0.0099999998
¶ Step size to move an endpoint by the keyboard (does not work?)
Unit¶
-
name:
unit
, type:
Enum
, default:
mm
¶ Defines a length unit to render.
Values:
Title | Name |
---|---|
mm | mm |
cm | cm |
m | m |
Display unit¶
-
name:
unitFlag
, type:
Bool
, default:
FALSE
¶ If checked, a length unit is rendered in 3D.
Interaction Mode¶
-
name:
interactionMode
, type:
Enum
, default:
INTERACTION_DIRECT_SELECT
¶ Moving the tool with his dragger or by picking (does not work?)
Values:
Title | Name | Deprecated Name |
---|---|---|
Interaction Direct Select | INTERACTION_DIRECT_SELECT | directSelect |