Click or drag to resize
SbImageDataAccessorRegion Interface

A region must be an ordered set with a first voxel and for each voxel a next voxel, else we cannot associate a buffer to this region.

Namespace: OIV.ImageViz
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public interface Region

The SbImageDataAccessorRegion type exposes the following members.

Methods
  NameDescription
Public methodGetExtent

Returns extent of the region in image space.

Public methodGetNumVoxel

Returns number of voxels contained in the region.

Public methodGetPosition

Returns position of the ith voxel in the region.

Public methodGetSize

Returns dimensions of the region.

Top
Remarks

A region DOES NOT depend on any image. It is a subspace of Z4 (signed integer). It can be described with floating values (ex. A plane defined by its equation) but the space it represents is always discretized. For a plane, it represents voxels intersecting the plane.

A region is immutable once created (no set method). This avoids unwanted border effects in a multi threaded environment.

See Also