geometry
Interface Index

All Known Implementing Classes:
Index2D, Index3D

public interface Index

A pixel's/voxel's index in the 2D/3D array.

The pixels/voxel might be no unit pixels/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


Method Summary
 int getX()
          get x index
 int getY()
          get y index
 int getZ()
          get z index
 void setX(int x)
          set x index
 void setY(int y)
          set y index
 void setZ(int z)
          set z index
 

Method Detail

getX

int getX()
get x index

Returns:
x

setX

void setX(int x)
set x index

Parameters:
x -

getY

int getY()
get y index

Returns:
y

setY

void setY(int y)
set y index

Parameters:
y -

getZ

int getZ()
get z index

Returns:
z

setZ

void setZ(int z)
set z index

Parameters:
z -