SoView2DVectorFieldView¶
- InventorModule¶
genre
author
package
dll
definition
see also
inherits from
keywords
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¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 rendered.
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.