public static interface SbImageDataAccessor.Region
A region is immutable once created (no set method). This avoids unwanted border effects in a multi threaded environment.
Modifier and Type | Method and Description |
---|---|
SbBox4i32 |
getExtent()
Returns extent of the region in image space.
|
long |
getNumVoxel()
Returns number of voxels contained in the region.
|
SbVec4i32 |
getPosition(long i)
Returns position of the ith voxel in the region.
|
SbVec4i32 |
getSize()
Returns dimensions of the region.
|
SbVec4i32 getPosition(long i)
Throws out of range exception if i >= getNumVoxel()
SbBox4i32 getExtent()
SbVec4i32 getSize()
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.long getNumVoxel()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com