Click or drag to resize
SoVolumeDataEditBoxes Method

Replace all voxels in the region defined by a list of boxes with the specified value.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public override int EditBoxes(
	IList<SbVec3i32> boxCenters,
	int boxSize,
	double newValue
)

Parameters

boxCenters
Type: System.Collections.GenericIListSbVec3i32
boxSize
Type: SystemInt32
newValue
Type: SystemDouble

Return Value

Type: Int32
Remarks

boxCenter and boxSize are defined in ijk (voxel) space.

Call OIV.VolumeViz.Nodes.SoVolumeData.StartEditing(System.Int32@) before calling this method. Returns 0 if successful.

See Also