SoDiagram2DRuler¶
-
InventorModule
¶ genre Diagram
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoDiagram2D
definition SoDiagram2D.def see also SoDiagram2D
inherits from SoDiagram2DInteractionExtension
keywords triangle
,vertical
,horizontal
Purpose¶
The module SoDiagram2DRuler
measures distances in a diagram interactively.
Usage¶
Grab the first or the second point with the mouse and move it to the desired position.
Parameter Fields¶
Field Index¶
Color1 : Color |
interactionProviderID : String |
Color2 : Color |
Reset : Trigger |
Cursor Shape : Enum |
X1 : Double |
Delta X : Double |
X2 : Double |
Delta Y : Double |
Y1 : Double |
Distance : Double |
Y2 : Double |
Drawing enabled : Bool |
|
Editing enabled : Bool |
Visible Fields¶
Drawing enabled¶
-
name:
isEnabled
, type:
Bool
, default:
TRUE
¶ If checked, the module draws the interactively set ruler.
see also SoDiagram2DExtension.isEnabled
Editing enabled¶
-
name:
isEditingEnabled
, type:
Bool
, default:
TRUE
¶ If checked, the module allows for an interactive setting of the ruler in the diagram.
X2¶
-
name:
x2
, type:
Double
, persistent:
no
¶ Shows the x-coordinate of the second point of the ruler.
Y2¶
-
name:
y2
, type:
Double
, persistent:
no
¶ Shows the y-coordinate of the second point of the ruler.
Delta X¶
-
name:
deltaX
, type:
Double
, persistent:
no
¶ Shows the x-distance in diagram space between the two points of the ruler.
Delta Y¶
-
name:
deltaY
, type:
Double
, persistent:
no
¶ Shows the y-distance in diagram space between the two points of the ruler.
Distance¶
-
name:
distance
, type:
Double
, persistent:
no
¶ Shows the distance in diagram space between the two points of the ruler.
Color1¶
-
name:
color1
, type:
Color
, default:
0.670000016689301 1 1
¶ Sets the color of the first point of the ruler.