Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Interface ncsa.horizon.util.MoveableVolume

Implementing Classes:
AdjustableSegment, AdjustableSlice

public abstract interface MoveableVolume
an interface for mutable Volume objects whose origin can be changed


Method Summary
void setOrigin(int[] pos)
          set the origin of this Volume to a position given by an array of integers.
void setOrigin(int idx, int pos)
          set one component of the origin of this Volume to a given position along a given axis
void setOrigin(double[] pos)
          set the origin of this Volume to a fractional position given by an array of integers.
void setOrigin(int idx, double pos)
          set one component of the origin of this Volume to a given position along a given axis
void setOrigin(Voxel vox)
          set the origin of this volume to the position of a given Voxel
 

Method Detail

setOrigin

public void setOrigin(int[] pos)
set the origin of this Volume to a position given by an array of integers.

setOrigin

public void setOrigin(int idx,
                      int pos)
set one component of the origin of this Volume to a given position along a given axis

setOrigin

public void setOrigin(double[] pos)
              throws PositionOutOfBoundsException
set the origin of this Volume to a fractional position given by an array of integers.
Throws:
PositionOutOfRangeException - if the position is out of range

setOrigin

public void setOrigin(int idx,
                      double pos)
              throws PositionOutOfBoundsException
set one component of the origin of this Volume to a given position along a given axis
Throws:
PositionOutOfRangeException - if the position is out of range

setOrigin

public void setOrigin(Voxel vox)
set the origin of this volume to the position of a given Voxel

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD