io.loader.load3D
Class Index2Coordinates
java.lang.Object
io.loader.load3D.Index2Coordinates
public class Index2Coordinates
- extends java.lang.Object
As the voxels in the input data are not always square, the index in the 3D
cube has to be used to calculate the real coordinates based on the voxels'
dimensions.
|
Method Summary |
static Coordinates3D |
createCoordinates(int xindex,
int yindex,
int zindex,
double widthDim,
double heightDim,
double depthDim)
As the voxels are not square, we have to calculate the real coordinates
for each voxel here. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Index2Coordinates
public Index2Coordinates()
createCoordinates
public static Coordinates3D createCoordinates(int xindex,
int yindex,
int zindex,
double widthDim,
double heightDim,
double depthDim)
- As the voxels are not square, we have to calculate the real coordinates
for each voxel here.
- Parameters:
xindex - the x index in the 3D volumeyindex - the y index in the 3D volumezindex - the z index in the 3D volume
- Returns:
- the real coordinates