SoVolumeMaskEditSubVolume Method (SbBox3i32, SoBufferObject) |
Replace the contents of a subvolume with the given data.
Namespace: OIV.VolumeViz.Nodes
Returns 0 if successful.
The subvolume is specified in voxel/cell coordinates.
The buffer size (in bytes) must match the subvolume size (in bytes) exactly.
Only an OIV.VolumeViz.Nodes.SoVolumeMask with data size of 1 (ie. byte or unsigned byte) can be edited. This implies that dataType of userData must be byte or unsigned byte.
warning : userData must be an OIV.LDM.Tiles.SoCpuBufferBitSet.
Call OIV.VolumeViz.Nodes.SoVolumeData.StartEditing(System.Int32@) before calling this method.