GVRPickResultInfo¶
-
MLModule
¶ genre Octree
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLGVR
definition MLGVR.def see also SoGVRVolumeRenderer
,SoGVRPickResult
,GVRPickResultToCurve
keywords octree
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.
Input Fields¶
inPickResult¶
-
name:
inPickResult
, type:
GVRPickResult(MLBase)
¶ The GVRPickResult Base object which can be optained from a
SoGVRPickResult
.
Parameter Fields¶
Field Index¶
availableVolumeNames : String |
Ray End Position : Vector3 |
Voxel Tag Value : Integer |
Current Voxel : Integer |
Ray Start Position : Vector3 |
Voxel World Position : Vector3 |
isValid : Bool |
Voxel Alpha : Float |
|
maxVoxel : Integer |
Voxel Color : Color |
|
Pick Alpha Threshold : Float |
Voxel Inside Mask : Bool |
|
Pick Mode : Enum |
Voxel Internal Intensity : Integer |
|
Pick Volume Name : String |
Voxel Mask Value : Integer |
|
Ray Direction : Vector3 |
Voxel Original Value : Double |
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 Voxel
might 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.