SoVolumeMaskEditSubVolume Method (SbBox3i32, Double) |
Replace the contents of a subvolume with the specified value.
Namespace: OIV.VolumeViz.Nodes
Returns 0 if successful.
The subvolume is specified in voxel/cell coordinates.
Only an OIV.VolumeViz.Nodes.SoVolumeMask with data size of 1 (ie. byte or unsigned byte) can be edited.
All zero values are set to zero and all non-zero values are set to 1.
Call OIV.VolumeViz.Nodes.SoVolumeData.StartEditing(System.Int32@) before calling this method.