Purpose

The module GVRVolumeToImage allows to access the image data of a GVRVolume on any octree resolution (full size, half size, quarter size, etc.).

Windows

Default Panel

../../../Modules/ML/MLGVR/mhelp/Images/Screenshots/GVRVolumeToImage._default.png

Input Fields

inVolume

name: inVolume, type: GVRVolume(MLBase)

The input GVRVolume, e.g. from GVRVolumeLoad or GVRImageToVolume.

Output Fields

output0

name: output0, type: Image

ML image of the selected octree resolution.

outHistogram

name: outHistogram, type: CurveData(MLBase)

Outputs a Histogram that can be used e.g. in a SoLUTEditor or a SoDiagram2D, the histogram is only given if the data is not rescaled compared to the original min/max values, otherwise it will be NULL.

For accessing this object via scripting see the Scripting Reference: MLCurveDataWrapper.

Parameter Fields

Field Index

Automatic Node Height: Bool
isValid: Bool
Limit: Integer
maxDepth: Integer
Node Height: Integer
outputImageType: Enum

Visible Fields

Node Height

name: nodeHeight, type: Integer, default: 0, minimum: 0, maximum: :field:`maxDepth`

Sets the octree resolution that is given in output0.

A value of 0 means the full resolution, 1 means half, 2 means quarter, etc.

Automatic Node Height

name: automaticNodeHeight, type: Bool, default: FALSE

If checked, the node height is automatically set to a value so that the Limit is not exceeded.

Limit

name: limit, type: Integer, default: 100

Sets the maximum output image memory consumption in MB.

Hidden Fields

isValid

name: isValid, type: Bool, default: FALSE

maxDepth

name: maxDepth, type: Integer, default: 0

outputImageType

name: outputImageType, type: Enum, default: ImageData

Values:

Title Name
Image Data ImageData
Gradient Data GradientData