GVRPickResultInfo¶
- MLModule¶
genre
author
package
dll
definition
see also
keywords
Purpose¶
The module GVRPickResultInfo allows for receiving detailed information about the pick result of a SoGVRPickResult module.
It allows for the introspection of all volume voxel profiles along a cast ray, including additional parameters such as the colors of the voxels, the Voxel Original Value, or the mask/tag volume, among others.
It currently supports picking by alpha threshold, minimum intensity, and maximum intensity along the ray, both on the main volume or on secondary/transformed volumes.
The voxels along the ray can be iterated using the Current Voxel field, so it is possible to use scripting to find specific values along the ray.
Windows¶
Default Panel¶
Input Fields¶
inPickResult¶
- name: inPickResult, type: GVRPickResult(MLBase)¶
The GVRPickResult Base object which can be optained from a
SoGVRPickResult.
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
Pick Volume Name¶
- name: pickVolumeName, type: String¶
Sets a name of a volume and uses the main volume if no name is given.
Set this to the name of a secondary/transformed volume to see the curves of that volume.
Ray Start Position¶
- name: rayStartPosition, type: Vector3, persistent: no¶
Shows the world start position of the ray.
The ray starts on the hit bounding box of the volume that is truncated by clipping planes if clipping is on.
Ray End Position¶
- name: rayEndPosition, type: Vector3, persistent: no¶
Shows the world end position of the ray.
The ray ends on the hit bounding box of the volume that is truncated by clipping planes if clipping is on.
Ray Direction¶
- name: rayDirection, type: Vector3, persistent: no¶
Shows the normalized world direction of the ray.
Pick Mode¶
- name: pickMode, type: Enum, default: AlphaThreshold¶
Defines the picking mode.
Depending on this mode, the value of
Current Voxelmight be changed.
Values:
Title |
Name |
|---|---|
Alpha Threshold |
AlphaThreshold |
Minimum Intensity |
MinimumIntensity |
Maximum Intensity |
MaximumIntensity |
Pick Alpha Threshold¶
Current Voxel¶
- name: currentVoxel, type: Integer, default: 0, minimum: -1, maximum: :field:`maxVoxel`¶
Sets the index of a voxel along the pick ray.
On an interactive pick, this field is set to the index of the voxel that meets the picking criteria and updates when the criteria change.
By manually setting this index, an iteration along the picking ray can be performed.
Voxel Original Value¶
- name: voxelOriginalValue, type: Double, persistent: no¶
Shows the value of the current voxel.
Voxel Color¶
- name: voxelColor, type: Color, persistent: no¶
Shows the LUT color of the current voxel.
Voxel Alpha¶
- name: voxelAlpha, type: Float, persistent: no¶
Shows the LUT alpha value of the current voxel.
Voxel Internal Intensity¶
- name: voxelInternalIntensity, type: Integer, persistent: no¶
Shows the internal intensity value of the current voxel.
Voxel Mask Value¶
- name: voxelMaskValue, type: Integer, persistent: no¶
Shows the mask value of the current voxel.
Voxel Tag Value¶
- name: voxelTagValue, type: Integer, persistent: no¶
Shows the tag value of the current voxel.
Voxel Inside Mask¶
- name: voxelInsideMask, type: Bool, persistent: no¶
Shows whether the current voxel is inside the mask.
Voxel World Position¶
- name: voxelWorldPosition, type: Vector3, persistent: no¶
Shows the world position of the current voxel.