public static class SbImageDataAccessor.SubVolumeRegion extends Inventor implements SbImageDataAccessor.Region
Region
representing a 3D box.
Voxels are ordered line by line, slice by slice. 1st voxel is in corner (minX, minY, minZ). 2nd voxel is in (minX+1, minY, minZ). Last voxel is in (maxX, maxY, maxZ)Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SubVolumeRegion(SbBox3i32 subVolume)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SbBox4i32 |
getExtent()
Returns extent of region.
|
long |
getNumVoxel()
Returns number of voxels contained in the region.
|
SbVec4i32 |
getPosition(long i)
Returns position of the ith voxel of the region.
|
SbVec4i32 |
getSize()
Returns the dimensions of the region.
|
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SubVolumeRegion(SbBox3i32 subVolume)
public SbVec4i32 getPosition(long i)
Throws out of range exception if i >= getNumVoxel()
getPosition
in interface SbImageDataAccessor.Region
public long getNumVoxel()
getNumVoxel
in interface SbImageDataAccessor.Region
public SbBox4i32 getExtent()
SbBox3i32
given in the constructor.getExtent
in interface SbImageDataAccessor.Region
public SbVec4i32 getSize()
SbBox3i32
given in constructor.getSize
in interface SbImageDataAccessor.Region
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com