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.

Windows

Default Panel

../../../Modules/Inventor/SoView2D/mhelp/Images/Screenshots/SoView2DArrowHeadSettings._default.png

Output Fields

outArrowHeadSettings

name: outArrowHeadSettings, type: ArrowHeadSettings(MLBase)

self (hidden)

name: self, type: SoNode

Parameter Fields

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 Size

name: endSize, type: Float, default: 10, minimum: 0

Sets the size of the end 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.

Length Threshold (pixel) (startDirectionAutomaticLengthThreshold)

name: startDirectionAutomaticLengthThreshold, type: Float, default: 10

Sets a vector length threshold in pixel. If length of the vector is shorter than this threshold, the start arrow direction is reversed.