public static class Dimension4D.Float extends Dimension4D
Dimension4D.Double, Dimension4D.Float, Dimension4D.Integer
Modifier and Type | Field and Description |
---|---|
float |
sizeT |
float |
sizeX |
float |
sizeY |
float |
sizeZ |
Constructor and Description |
---|
Dimension4D.Float() |
Dimension4D.Float(float[] sizeXYZT) |
Dimension4D.Float(float sizeX,
float sizeY,
float sizeZ,
float sizeT) |
Modifier and Type | Method and Description |
---|---|
double |
getSizeT()
Returns the size of the T dimension in double precision.
|
double |
getSizeX()
Returns the size of the X dimension in double precision.
|
double |
getSizeY()
Returns the size of the Y dimension in double precision.
|
double |
getSizeZ()
Returns the size of the Z dimension in double precision.
|
boolean |
isInfiniteT()
Returns
true if the T dimension should be considered as infinite. |
boolean |
isInfiniteX()
Returns
true if the X dimension should be considered as infinite. |
boolean |
isInfiniteY()
Returns
true if the Y dimension should be considered as infinite. |
boolean |
isInfiniteZ()
Returns
true if the Z dimension should be considered as infinite. |
void |
setSize(double sizeX,
double sizeY,
double sizeZ,
double sizeT)
Sets the size of this
Dimension4D object. |
void |
setSizeT(double value)
Sets the size of the T dimension of this
Dimension4D in double
precision. |
void |
setSizeX(double value)
Sets the size of the X dimension of this
Dimension4D in double
precision. |
void |
setSizeY(double value)
Sets the size of the Y dimension of this
Dimension4D in double
precision. |
void |
setSizeZ(double value)
Sets the size of the Z dimension of this
Dimension4D in double
precision. |
java.awt.geom.Dimension2D |
toDimension2D()
Convert to 2D dimension.
|
Dimension3D |
toDimension3D()
Convert to 3D dimension.
|
public float sizeX
public float sizeY
public float sizeZ
public float sizeT
public Dimension4D.Float(float sizeX, float sizeY, float sizeZ, float sizeT)
public Dimension4D.Float(float[] sizeXYZT)
public Dimension4D.Float()
public double getSizeX()
Dimension4D
getSizeX
in class Dimension4D
public double getSizeY()
Dimension4D
getSizeY
in class Dimension4D
public double getSizeZ()
Dimension4D
getSizeZ
in class Dimension4D
public double getSizeT()
Dimension4D
getSizeT
in class Dimension4D
public void setSizeX(double value)
Dimension4D
Dimension4D
in double
precision.setSizeX
in class Dimension4D
public void setSizeY(double value)
Dimension4D
Dimension4D
in double
precision.setSizeY
in class Dimension4D
public void setSizeZ(double value)
Dimension4D
Dimension4D
in double
precision.setSizeZ
in class Dimension4D
public void setSizeT(double value)
Dimension4D
Dimension4D
in double
precision.setSizeT
in class Dimension4D
public void setSize(double sizeX, double sizeY, double sizeZ, double sizeT)
Dimension4D
Dimension4D
object.setSize
in class Dimension4D
sizeX
- the new size for the X dimensionsizeY
- the new size for the Y dimensionsizeZ
- the new size for the Z dimensionsizeT
- the new size for the T dimensionpublic boolean isInfiniteX()
Dimension4D
true
if the X dimension should be considered as infinite.isInfiniteX
in class Dimension4D
public boolean isInfiniteY()
Dimension4D
true
if the Y dimension should be considered as infinite.isInfiniteY
in class Dimension4D
public boolean isInfiniteZ()
Dimension4D
true
if the Z dimension should be considered as infinite.isInfiniteZ
in class Dimension4D
public boolean isInfiniteT()
Dimension4D
true
if the T dimension should be considered as infinite.isInfiniteT
in class Dimension4D
public java.awt.geom.Dimension2D toDimension2D()
Dimension4D
toDimension2D
in class Dimension4D
public Dimension3D toDimension3D()
Dimension4D
toDimension3D
in class Dimension4D