Click or drag to resize
SbImageDataAccessorRegionGetPosition Method

Returns position of the ith voxel in the region.

Namespace: OIV.ImageViz
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
SbVec4i32 GetPosition(
	ulong i
)

Parameters

i
Type: SystemUInt64

Return Value

Type: SbVec4i32
Remarks

ex: If it is a line, 0 is the begining of the line, then 1, 2, 3, ... represent voxels accross the line.

Throws out of range exception if i >= OIV.ImageViz.SbImageDataAccessor.Region.GetNumVoxel()

See Also