|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgeometry.Index2D
geometry.Index3D
public class Index3D
A voxel's index in the 3D array.
The voxels might be no unit voxels. As a result, coordinates and index in the original image might differ from each other. Thus, both coordinates (for example used for distance calculations) and index (used for example for distance map lookups) are needed and stored with each skeleton node
| Field Summary | |
|---|---|
private int |
zindex
the index in depth dimension |
| Constructor Summary | |
|---|---|
Index3D(int xindex,
int yindex,
int zindex)
Setting x, y, and z index. |
|
| Method Summary | |
|---|---|
int |
getZ()
get z index |
void |
setZ(int z)
set z index |
| Methods inherited from class geometry.Index2D |
|---|
getX, getY, setX, setY |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int zindex
| Constructor Detail |
|---|
public Index3D(int xindex,
int yindex,
int zindex)
xindex - the index in width dimensionyindex - the index in height dimensionzindex - the index in depth dimension| Method Detail |
|---|
public int getZ()
Index
getZ in interface IndexgetZ in class Index2Dpublic void setZ(int z)
Index
setZ in interface IndexsetZ in class Index2D
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||