Click or drag to resize
SbImageDataAccessorRegionGetSize Method

Returns dimensions of the region.

Namespace: OIV.ImageViz
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 10.12.3.0 (10.12.3.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 = OIV.ImageViz.SbImageDataAccessor.Region.GetNumVoxel(). The difference with OIV.ImageViz.SbImageDataAccessor.Region.GetExtent() is that, for an oblique plane for example, OIV.ImageViz.SbImageDataAccessor.Region.GetExtent() will return the bounding box of the plane, whereas OIV.ImageViz.SbImageDataAccessor.Region.GetSize() will return a 2D space.

See Also