SoView2DRuler¶
-
InventorModule
¶ genre View2D
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoView2D
definition view2d.def inherits from SoView2DExtension
Purpose¶
The module SoView2DRuler
displays a vertical and/or a horizontal ruler at the borders of the 2D scene of a SoView2D
Usage¶
The visibility of the horizontal and vertical ruler can be configured manually.
Details¶
The scale and units of the rulers depend on the zoom level of the image.
Tips¶
The vertical position can be configured to start at the top (for 3D US images) with the hidden field moveVerticalRulerToTop
.
Parameter Fields¶
Field Index¶
alt : Enum |
drawingOn : Bool |
needsValidVoxel : Bool |
button1 : Enum |
editingOn : Bool |
renderOnSlab : Bool |
button2 : Enum |
fixZOn : Bool |
selectionTolerance : Float |
button3 : Enum |
Font Size : Integer |
setEventHandled : Bool |
clipToSlice : Bool |
ignoreHandledEvents : Bool |
shift : Enum |
Color : Color |
interactionProviderID : String |
Show horizontal ruler : Bool |
control : Enum |
Margin (verticalRulerMarginRight) : Integer |
Show vertical ruler : Bool |
createNewMode : Bool |
Margin (horizontalRulerMarginBottom) : Integer |
wantsAllEvents : Bool |
createNewModeRequest : Trigger |
maskValid : Bool |
wantsKeyEvents : Bool |
cursorShape : Enum |
moveVerticalRulerToTop : Bool |
wantsMouseWheelEvents : Bool |
Visible Fields¶
Color¶
-
name:
color
, type:
Color
, default:
1 1 1
¶ Sets the color of the ruler.
see also SoView2DExtension.color
Show vertical ruler¶
-
name:
verticalRuler
, type:
Bool
, default:
TRUE
, deprecated name:
showVerticalRuler
¶ If checked, the vertical ruler is displayed.
Show horizontal ruler¶
-
name:
horizontalRuler
, type:
Bool
, default:
FALSE
, deprecated name:
showHorizontalRuler
¶ If checked, the horizontal ruler is displayed.
Margin (verticalRulerMarginRight)¶
-
name:
verticalRulerMarginRight
, type:
Integer
, default:
8
¶ Sets the margin of the vertical ruler to the viewer’s right border in pixels.