SbImageDataAccessorSetVoxel Method (Double, Int32, Int32, Int32, Int32, Int32) |
Set the value of voxel at specified coordinates.
Namespace: OIV.ImageVizAssembly: 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
)
Public Function SetVoxel (
value As Double,
x As Integer,
y As Integer,
z As Integer,
t As Integer,
c As Integer
) As Boolean
public:
bool SetVoxel(
double value,
int x,
int y,
int z,
int t,
int c
)
member SetVoxel :
value : float *
x : int *
y : int *
z : int *
t : int *
c : int -> bool
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:
Booleantrue if the voxel is written on image false otherwise
Remarks See Also