Click or drag to resize
SbImageDataAccessorRegionGetSize Method

Returns dimensions of the region.

Namespace: OIV.ImageViz
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
SbVec4i32 GetSize()

Return Value

Type: SbVec4i32
Remarks

If the region represents a slice or a plane, getDimension will return (width, height, 1, 1), with width * height = getNumVoxel(). The difference with getExtent() is that, for an oblique plane for example, getExtent() will return the bounding box of the plane, whereas getSize() will return a 2D space.

See Also