MedicalHelperGetVolumeData Method |
Make an ImageViz data set available in VolumeViz.
Creates an SoVRImageDataReader to access the data and automatically sets
the SoVolumeData's 'tile size' to an optimal value. Note that this operation
makes a copy of the data set. It is not currently possible for ImageViz and
VolumeViz to share a data set.
You can use SoVRImageDataReader directly, but the resulting volume may be
slow to access if you do not set the tile size and the volume dimensions
are larger than the default tile dimension (64). Setting the tile size
allows VolumeViz to access the data as a single tile when the dimensions
are <= 512 or at least to access the data using a larger tile size (which
means a smaller number of tiles).
Namespace: OIV.Medical.HelpersAssembly: OIV.Medical (in OIV.Medical.dll) Version: 9.9.13.0.Release.908d87e0180ebfe7287e3e24da18328657f2aef7
Syntaxpublic static SoVolumeData GetVolumeData(
SoImageDataAdapter adapter
)
Public Shared Function GetVolumeData (
adapter As SoImageDataAdapter
) As SoVolumeData
public:
static SoVolumeData^ GetVolumeData(
SoImageDataAdapter^ adapter
)
static member GetVolumeData :
adapter : SoImageDataAdapter -> SoVolumeData
Parameters
- adapter
- Type: OIV.ImageViz.Nodes.ImagesSoImageDataAdapter
Return Value
Type:
SoVolumeData
See Also