| Overview | Package | Class | Tree | Deprecated | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
java.lang.Object
|
+--ncsa.horizon.util.VolumeTransform
|
+--ncsa.horizon.util.AdjustableVolumeTransform
| Fields inherited from class ncsa.horizon.util.VolumeTransform | |
| inax, onax, transdat | |
| Constructor Summary | |
| AdjustableVolumeTransform()
create a VolumeTransform that does a null transform between spaces of up to 2 dimensions |
|
| AdjustableVolumeTransform(int nax)
create a VolumeTransform that does a null transform between spaces of up to a given number of dimensions |
|
| AdjustableVolumeTransform(int inputNaxes,
int outputNaxes)
create a VolumeTransform that does a null transform between spaces of a differing number number of dimensions |
|
| AdjustableVolumeTransform(Volume in,
Volume out)
create the transform that will convert a given input Volume to a given output Volume. |
|
| AdjustableVolumeTransform(int inputNaxes,
int outputNaxes,
double[] trans,
double[] scale,
int[] order)
create a transform given a translation, scale, and axis order. |
|
| Method Summary | |
| void | setAxisReordering(int[] order)
set the axis reordering to be applied to input Volumes |
| void | setScaling(double[] s)
set the scaling to be applied to input Volume's |
| void | setScaling(int axis,
double s)
set the scaling to be applied to input Volumes |
| void | setTranslation(double[] t)
set the translation to be applied to input Volume's |
| void | setTranslation(int axis,
double t)
set the translation to be applied to input Volume's |
| Methods inherited from class ncsa.horizon.util.VolumeTransform | |
| clone, getAxisReordering, getInputNaxes, getMonitor, getOutputNaxes, getScaling, getScaling, getTranslation, getTranslation, isMutable, transform, transform, transform, transform, untransform, untransform, untransform, untransform | |
| Methods inherited from class java.lang.Object | |
| clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait | |
| Constructor Detail |
public AdjustableVolumeTransform()
public AdjustableVolumeTransform(int nax)
public AdjustableVolumeTransform(int inputNaxes,
int outputNaxes)
public AdjustableVolumeTransform(Volume in,
Volume out)
public AdjustableVolumeTransform(int inputNaxes,
int outputNaxes,
double[] trans,
double[] scale,
int[] order)
throws java.lang.IllegalArgumentException,
java.lang.ArrayIndexOutOfBoundsException
inputNaxes
- the number of axes in the input space
outputNaxes
- the number of axes in the input space
trans
- the translation vector
scale
- the scaling vector
order
- the axis reordering| Method Detail |
public void setTranslation(double[] t)
public void setTranslation(int axis,
double t)
public void setScaling(double[] s)
public void setScaling(int axis,
double s)
public void setAxisReordering(int[] order)
| Overview | Package | Class | Tree | Deprecated | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||