SoView2DArrowHeadSettings¶
-
InventorModule
¶ author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoView2D
definition view2d.def see also SoView2DMarkerEditor
keywords marker
,vector
Purpose¶
The module SoView2DArrowHeadSettings
allows to adjust settings for rendering arrow heads.
Parameter Fields¶
Field Index¶
End Angle Factor : Float |
Start Rendering Style : Enum |
End Direction : Enum |
Start Size : Float |
End Rendering Style : Enum |
Use End Settings For Start Arrow Head : Bool |
End Size : Float |
|
Length Threshold (pixel) (endDirectionAutomaticLengthThreshold) : Float |
|
Length Threshold (pixel) (startDirectionAutomaticLengthThreshold) : Float |
|
Start Angle Factor : Float |
|
Start Direction : Enum |
Visible Fields¶
Use End Settings For Start Arrow Head¶
-
name:
useEndSettingsForStartArrowHead
, type:
Bool
, default:
TRUE
¶ If checked, the settings for the end arrow head are used for the start arrow head.
End Angle Factor¶
-
name:
endAngleFactor
, type:
Float
, default:
1
¶ Sets an angle factor for the end arrow head.
End Rendering Style¶
-
name:
endRenderingStyle
, type:
Enum
, default:
RENDERING_STYLE_LINES
¶ Defines the rendering style for the end arrow head.
Values:
Title | Name | Description |
---|---|---|
Lines | RENDERING_STYLE_LINES | The arrow head is rendered as simple lines (open triangle). |
Triangle | RENDERING_STYLE_TRIANGLE | The arrow head is rendered as a closed triangle. |
Filled Triangle | RENDERING_STYLE_FILLED_TRIANGLE | The arrow head is rendered as a closed and filled triangle. |
None | RENDERING_STYLE_NONE | No arrow head is rendered. |
End Direction¶
-
name:
endDirection
, type:
Enum
, default:
DIRECTION_MODE_STANDARD
¶ Defines the direction mode of the end arrow head.
Note that the sign of the
End Angle Factor
can also be used to flip the direction of the arrow head.
Values:
Title | Name | Description |
---|---|---|
Standard | DIRECTION_MODE_STANDARD | Standard rendering. |
Reverse | DIRECTION_MODE_REVERSE | The direction is reversed. |
Automatic | DIRECTION_MODE_AUTOMATIC | The direction depends on the length of the vector. |
Length Threshold (pixel) (endDirectionAutomaticLengthThreshold)¶
-
name:
endDirectionAutomaticLengthThreshold
, type:
Float
, default:
10
¶ Sets a vector length threshold in pixel. If length of the vector is shorter than this threshold, the end arrow direction is reversed.
Start Size¶
-
name:
startSize
, type:
Float
, default:
10
, minimum:
0
¶ Sets the size of the start arrow head.
Start Angle Factor¶
-
name:
startAngleFactor
, type:
Float
, default:
1
¶ Sets an angle factor for the start arrow head.
Start Rendering Style¶
-
name:
startRenderingStyle
, type:
Enum
, default:
RENDERING_STYLE_LINES
¶ Defines the rendering style for the start arrow head.
Values:
Title | Name | Description |
---|---|---|
Lines | RENDERING_STYLE_LINES | The arrow head is rendered as simple lines (open triangle). |
Triangle | RENDERING_STYLE_TRIANGLE | The arrow head is rendered as a closed triangle. |
Filled Triangle | RENDERING_STYLE_FILLED_TRIANGLE | The arrow head is rendered as a closed and filled triangle. |
None | RENDERING_STYLE_NONE | No arrow head is rendered. |
Start Direction¶
-
name:
startDirection
, type:
Enum
, default:
DIRECTION_MODE_STANDARD
¶ Defines the direction mode of the start arrow head.
Note that the sign of the
Start Angle Factor
can also be used to flip the direction of the arrow head.
Values:
Title | Name | Description |
---|---|---|
Standard | DIRECTION_MODE_STANDARD | Standard rendering. |
Reverse | DIRECTION_MODE_REVERSE | The direction is reversed. |
Automatic | DIRECTION_MODE_AUTOMATIC | The direction depends on the length of the vector. |