Click or drag to resize
SbImageDataAccessorGetVoxel Method (SbVec4i32)

Returns voxel at specified position.

Namespace: OIV.ImageViz
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SbImageDataVoxel GetVoxel(
	SbVec4i32 pos
)

Parameters

pos
Type: OIV.InventorSbVec4i32

Return Value

Type: SbImageDataVoxel
Remarks

pos[0], pos[1] and pos[2] refer to width, height and depth of image. Pos[3] refers to timestep. Any request outside of the image will return 0. If the specified channel is not in image channel range, 0 will be returned.

See Also