| genre | Octree |
| status | stable |
| author | Florian Link |
| package | MeVisLab/Standard |
| dll | MLGVR |
| definition | MLGVR.def |
| see also | SoGVRVolumeRenderer, SoGVRPickResult, GVRPickResultToCurve |
| keywords | GVR, octree |
The module GVRPickResultInfo allows to get detailed information about the pick result of a SoGVRPickResult module.
It allows to introspect all volume voxel profiles along a casted ray including extra parameters as the colors of the voxels, the originalValue, the mask/tag volume, etc.
It currently supports picking by alpha threshold, minimum intensity and maximum intensity along the ray, both on the main volume or on secondary/tranformed volumes. Future versions could also implement more advanced picking modes.
The voxels along the ray can be iterated using the currentVoxel field, so it is possible to use scripting to find specific values along the ray.
The GVRPickResult base object which can be optained from a SoGVRPickResult.
| 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 |
Sets a name of a volume and uses the main volume if no name is given.
Set this to the name of a secondary/tranformed volume to see the curves of that volume
Shows the world start position of the ray (starting on the hit bounding box of the volume, truncated by clipping planes if clipping is on).
Shows the world end position of the ray (ending on the hit bounding box of the volume, truncated by clipping planes if clipping is on).
Shows the normalized world direction of the ray.
Defines the picking mode that is used.
Depending on this mode, the value of Current Voxel might be changed.
Values:
| Title | Name |
|---|---|
| Alpha Threshold | AlphaThreshold |
| Minimum Intensity | MinimumIntensity |
| Maximum Intensity | MaximumIntensity |
Sets the index of a voxel along the pick ray.
On an interactive pick, this field is set to the index of the voxel which meets the picking criteria and is updated when they are changed.
By manually setting this index, an iteration along the picking ray can be performed.
Shows the value of the current voxel.
Shows the LUT color of the current voxel.
Shows the LUT alpha value of the current voxel.
Shows the internal intensity value of the current voxel.
Shows the mask value of the current voxel.
Shows the tag value of the current voxel.