SoView2DVectorFieldView
-
InventorModule
-
Purpose
The module SoView2DVectorFieldView overlays an image with vector data (vec2 or vec3) as vector glyphs.
Details
The visualized vectors consist of a midpoint, the vector itself and an arrow tip.
The midpoint can be considered the starting point of the vector and it is placed in the midpoint of a voxel.
The vector part reflects the length and direction of the image value vector. Note that by the optional normalization the length is set to 1 for each vector and the vector's length can additionally be scaled by a single factor.
The arrow tip consists of a triangle at the end tip of the vector, emphasizing the direction of the vector.
If the vector parts are not displayed in fixed mode, all the width and length parameters are evaluated as percent of visible voxel sizes.
Windows
Default Panel
Output Fields
self
-
name: self, type: SoNode
Parameter Fields
Visible Fields
Midpoint Size
-
name: midpointSize, type: Float, default: 0.059999999
Sets the radius of the center point.
Vector Width
-
name: vectorWidth, type: Float, default: 0.1
Sets the width of the vectors.
Vector Length
-
name: vectorLength, type: Float, default: 1
Set the length of the vectors.
Vector Min Length
-
name: vectorMinLength, type: Float, default: 0
Sets the minimum length a vector requires to be drawn.
Midpoint Segments
-
name: midpointSegments, type: Integer, default: 10
Sets the number of segments of the individual midpoints.
Midpoint fixed width
-
name: midpointAbsoluteSize, type: Bool, default: FALSE
If checked, an absolute value is used for the midpoint size.
Vector fixed width
-
name: vectorAbsoluteSize, type: Bool, default: TRUE
If checked, the vector width is set to 1 voxel.
Vector Color
-
name: vectorColor, type: Color, default: 1 0 0
Sets the color of the individual vectors.
Midpoint Color
-
name: midpointColor, type: Color, default: 1 1 1
Sets the color of the center points.
Step Width
-
name: stepWidth, type: Integer, default: 1, minimum: 1
Sets the step distance between shown vectors.
Draw Arrow Tips
-
name: drawArrowTips, type: Bool, default: FALSE
If checked, arrow tips are drawn.
Arrow Tip Color
-
name: arrowTipColor, type: Color, default: 0 1 0
Sets the color of the arrow tips.
Arrow Tip Width
-
name: arrowTipWidth, type: Float, default: 0.2
Sets the width of the arrow tips.
Arrow Tip Height
-
name: arrowTipHeight, type: Float, default: 0.2
Sets the height of the arrow tips.
Normalize Vectors
-
name: normalizeVectors, type: Bool, default: TRUE
If checked, all vectors are normalized.
Use Comps2And3
-
name: useComps2And3, type: Bool, default: FALSE
If checked, the components 2 and 3 are used as x and y components for the vectors.
Hidden Fields
drawingOn
-
name: drawingOn, type: Bool, default: TRUE
editingOn
-
name: editingOn, type: Bool, default: TRUE
maskValid
-
name: maskValid, type: Bool, default: FALSE
fixZOn
-
name: fixZOn, type: Bool, default: TRUE
color
-
name: color, type: Color, default: 1 1 1
selectionTolerance
-
name: selectionTolerance, type: Float, default: 4
needsValidVoxel
-
name: needsValidVoxel, type: Bool, default: TRUE
shift
-
name: shift, type: Enum, default: IGNORED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
control
-
name: control, type: Enum, default: IGNORED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
alt
-
name: alt, type: Enum, default: IGNORED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
wantsAllEvents
-
name: wantsAllEvents, type: Bool, default: FALSE
wantsKeyEvents
-
name: wantsKeyEvents, type: Bool, default: FALSE
wantsMouseWheelEvents
-
name: wantsMouseWheelEvents, type: Bool, default: FALSE
setEventHandled
-
name: setEventHandled, type: Bool, default: FALSE
ignoreHandledEvents
-
name: ignoreHandledEvents, type: Bool, default: FALSE
createNewMode
-
name: createNewMode, type: Bool, default: FALSE
createNewModeRequest
-
name: createNewModeRequest, type: Trigger
renderOnSlab
-
name: renderOnSlab, type: Bool, default: FALSE
clipToSlice
-
name: clipToSlice, type: Bool, default: FALSE
cursorShape
-
name: cursorShape, type: Enum, default: UNDEFINED_CURSOR
Values:
Title |
Name |
Undefined Cursor |
UNDEFINED_CURSOR |
Default Cursor |
DEFAULT_CURSOR |
Forbidden Cursor |
FORBIDDEN_CURSOR |
Pointing Hand Cursor |
POINTING_HAND_CURSOR |
Open Hand Cursor |
OPEN_HAND_CURSOR |
Closed Hand Cursor |
CLOSED_HAND_CURSOR |
Move All Cursor |
MOVE_ALL_CURSOR |
Move Hori Cursor |
MOVE_HORI_CURSOR |
Move Vert Cursor |
MOVE_VERT_CURSOR |
Move Fdiag Cursor |
MOVE_FDIAG_CURSOR |
Move Bdiag Cursor |
MOVE_BDIAG_CURSOR |
Move Inout Cursor |
MOVE_INOUT_CURSOR |
Rotate X Cursor |
ROTATE_X_CURSOR |
Rotate Y Cursor |
ROTATE_Y_CURSOR |
Rotate Z Cursor |
ROTATE_Z_CURSOR |
Rotate Xy Cursor |
ROTATE_XY_CURSOR |
Zoom Cursor |
ZOOM_CURSOR |
Zoom In Cursor |
ZOOM_IN_CURSOR |
Zoom Out Cursor |
ZOOM_OUT_CURSOR |
Cross Cursor |
CROSS_CURSOR |
Cross Plus Cursor |
CROSS_PLUS_CURSOR |
Cross Minus Cursor |
CROSS_MINUS_CURSOR |
Cross Move Cursor |
CROSS_MOVE_CURSOR |
Cross Rotate Cursor |
CROSS_ROTATE_CURSOR |
Cross Rect Cursor |
CROSS_RECT_CURSOR |
Cross Oval Cursor |
CROSS_OVAL_CURSOR |
Cross Vector Cursor |
CROSS_VECTOR_CURSOR |
Cross Freeform Cursor |
CROSS_FREEFORM_CURSOR |
Cross Point Cursor |
CROSS_POINT_CURSOR |
Cross Line Cursor |
CROSS_LINE_CURSOR |
Cross Curve Cursor |
CROSS_CURVE_CURSOR |
Cross Polyline Cursor |
CROSS_POLYLINE_CURSOR |
Cross Polygon Cursor |
CROSS_POLYGON_CURSOR |
Cross Fill Cursor |
CROSS_FILL_CURSOR |
Cross Link Cursor |
CROSS_LINK_CURSOR |
Cross 0 Cursor |
CROSS_0_CURSOR |
Cross 1 Cursor |
CROSS_1_CURSOR |
Cross 2 Cursor |
CROSS_2_CURSOR |
Cross 3 Cursor |
CROSS_3_CURSOR |
Lut Cursor |
LUT_CURSOR |
Slicing Cursor |
SLICING_CURSOR |
Cross 4 Cursor |
CROSS_4_CURSOR |
Cross 5 Cursor |
CROSS_5_CURSOR |
Cross 6 Cursor |
CROSS_6_CURSOR |
Cross 7 Cursor |
CROSS_7_CURSOR |
Cross 8 Cursor |
CROSS_8_CURSOR |
Cross 9 Cursor |
CROSS_9_CURSOR |
Lut 1 Cursor |
LUT_1_CURSOR |
Lut 2 Cursor |
LUT_2_CURSOR |
Lut 3 Cursor |
LUT_3_CURSOR |