Click or drag to resize
SbImageDataAccessorSetVoxel Method (Double, Int32, Int32, Int32, Int32, Int32)

Set the value of voxel at specified coordinates.

Namespace: OIV.ImageViz
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public bool SetVoxel(
	double value,
	int x,
	int y,
	int z,
	int t,
	int c
)

Parameters

value
Type: SystemDouble

to set one component at specified position

x
Type: SystemInt32

column coordinate

y
Type: SystemInt32

row coordinate

z
Type: SystemInt32

depth coordinate. Default is 0. Useful for 2D images.

t
Type: SystemInt32

time coordinate. Default is 0.

c
Type: SystemInt32

component number. Default is 0.

Return Value

Type: Boolean

true if the voxel is written on image false otherwise

Remarks

See Also