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
The SbImageDataAccessorRegion type exposes the following members.
Name | Description | |
---|---|---|
GetExtent | Returns extent of the region in image space. | |
GetNumVoxel | Returns number of voxels contained in the region. | |
GetPosition | Returns position of the ith voxel in the region. | |
GetSize | Returns dimensions of the region. |
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.