Click or drag to resize
SbImageDataAccessorSubVolumeRegionGetPosition Method

Returns position of the ith voxel of the region.

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

Parameters

i
Type: SystemUInt64

Return Value

Type: SbVec4i32

Implements

SbImageDataAccessorRegionGetPosition(UInt64)
Remarks

ie. getPosition(0) returns the lower left corner of box given in constructor.

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

See Also