SbImageDataAccessorGetVoxel Method (SbVec4i32) |
Returns voxel at specified position.
Namespace: OIV.ImageVizAssembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public SbImageDataVoxel GetVoxel(
SbVec4i32 pos
)
Public Function GetVoxel (
pos As SbVec4i32
) As SbImageDataVoxel
public:
SbImageDataVoxel^ GetVoxel(
SbVec4i32 pos
)
member GetVoxel :
pos : SbVec4i32 -> SbImageDataVoxel
Parameters
- pos
- Type: OIV.InventorSbVec4i32
Return Value
Type:
SbImageDataVoxelRemarks 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