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 for adjusting settings for rendering arrowheads.

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 arrowhead are used for the start arrowhead.

End Size

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

Sets the size of the end arrowhead.

End Angle Factor

name: endAngleFactor, type: Float, default: 1

Sets an angle factor for the end arrowhead.

End Rendering Style

name: endRenderingStyle, type: Enum, default: RENDERING_STYLE_LINES

Defines the rendering style for the end arrowhead.

Values:

Title Name Description
Lines RENDERING_STYLE_LINES The arrowhead is rendered as simple lines (open triangle).
Triangle RENDERING_STYLE_TRIANGLE The arrowhead is rendered as a closed triangle.
Filled Triangle RENDERING_STYLE_FILLED_TRIANGLE The arrowhead is rendered as a closed and filled triangle.
None RENDERING_STYLE_NONE No arrowhead is rendered.

End Direction

name: endDirection, type: Enum, default: DIRECTION_MODE_STANDARD

Defines the direction mode of the end arrowhead.

Note that the sign of the End Angle Factor can also be used to flip the direction of the arrowhead.

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 pixels. 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 arrowhead.

Start Angle Factor

name: startAngleFactor, type: Float, default: 1

Sets an angle factor for the start arrowhead.

Start Rendering Style

name: startRenderingStyle, type: Enum, default: RENDERING_STYLE_LINES

Defines the rendering style for the start arrowhead.

Values:

Title Name Description
Lines RENDERING_STYLE_LINES The arrowhead is rendered as simple lines (open triangle).
Triangle RENDERING_STYLE_TRIANGLE The arrowhead is rendered as a closed triangle.
Filled Triangle RENDERING_STYLE_FILLED_TRIANGLE The arrowhead is rendered as a closed and filled triangle.
None RENDERING_STYLE_NONE No arrowhead is rendered.

Start Direction

name: startDirection, type: Enum, default: DIRECTION_MODE_STANDARD

Defines the direction mode of the start arrowhead.

Note that the sign of the Start Angle Factor can also be used to flip the direction of the arrowhead.

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 pixels. If length of the vector is shorter than this threshold, the start arrow direction is reversed.