Class ncsa.horizon.coordinates.systems.LinearCoordinateSystem
All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.horizon.coordinates.systems.LinearCoordinateSystem
java.lang.Object
|
+----java.util.Observable
|
+----ncsa.horizon.coordinates.CoordinateSystem
|
+----ncsa.horizon.coordinates.systems.LinearCoordinateSystem
- public class LinearCoordinateSystem
- extends CoordinateSystem
a description of a world coordinate system made up of any number of
simple linear axes.
-
LinearCoordinateSystem(int)
- construct a coordinate system with the specified number of
linear axes.
-
LinearCoordinateSystem(int, Metadata)
- construct a coordinate system with the specified number of axes
and described by the specified set of Metadata.
-
LinearCoordinateSystem(int, Metadata, double[], double[], double[], double[], String[])
- create a LinearCoordinateSystem object specifying all internal
data.
-
LinearCoordinateSystem(Metadata)
- construct a coordinate system described by the specified set of
Metadata.
LinearCoordinateSystem
public LinearCoordinateSystem(int naxes)
- construct a coordinate system with the specified number of
linear axes.
LinearCoordinateSystem
public LinearCoordinateSystem(int naxes,
Metadata md) throws IllegalTransformException
- construct a coordinate system with the specified number of axes
and described by the specified set of Metadata. The Metadata
is examined to determine the paramters of the system, including
which of the axes define the spherical portion of the system.
LinearCoordinateSystem
public LinearCoordinateSystem(Metadata md) throws IllegalTransformException
- construct a coordinate system described by the specified set of
Metadata. The Metadata is examined to determine the paramters
of the system, including which of the axes define the spherical
portion of the system.
LinearCoordinateSystem
public LinearCoordinateSystem(int naxes,
Metadata md,
double refpos[],
double refoff[],
double refval[],
double stepsz[],
String names[]) throws IllegalTransformException
- create a LinearCoordinateSystem object specifying all internal
data. Missing values in the input array are set to default
values.
- Parameters:
- naxes - the maximum number of axes this transform can
operate on
- md - metadata describing the coordinate system; data
in this list are overridden by the other data
given in this constructor
- refpos - the position in the "input" system (the system
forward() transforms from) that is equal to the
the refval position. Default equals 0.
- refval - the position in the "output" system (the system
forward() transforms to) that is equal to the
the refpos position. Default equals 0.
- refoff - An extra offset that gets added to the reference
position. Default equals 0;
- stepsz - the size of a voxel of the "output" system (the
system that forward() transforms to) in units of
the "input" system
- names - names to assign to transformed axes. A null element
of null array means do not reassign name. These
values only affect the behavior of getMetadata();
- Throws: IllegalTransformException
- if the parameters do not define
a valid transformation.
All Packages Class Hierarchy This Package Previous Next Index