public class IntType extends GenericIntType<IntType>
| Constructor and Description |
|---|
IntType() |
IntType(DirectAccessContainer<IntType,? extends IntAccess> intStorage) |
IntType(int value) |
| Modifier and Type | Method and Description |
|---|---|
IntType |
copy()
|
IntType[] |
createArray1D(int size1)
Creates a 1d array of the generic
Type |
IntType[][] |
createArray2D(int size1,
int size2)
Creates a 2d array of the generic
Type |
IntType[][][] |
createArray3D(int size1,
int size2,
int size3)
Creates a 3d array of the generic
Type |
DirectAccessContainer<IntType,? extends IntAccess> |
createSuitableDirectAccessContainer(DirectAccessContainerFactory storageFactory,
int[] dim)
The
Type creates the DirectAccessContainer used for storing image data; based on the given storage strategy and its size. |
IntType |
createVariable()
Creates a new
Type which can only store one value. |
IntType |
duplicateTypeOnSameDirectAccessContainer()
Creates a new
Type which stores in the same physical array. |
int |
get() |
int |
getInteger() |
long |
getIntegerLong() |
double |
getMaxValue() |
double |
getMinValue() |
void |
set(int b) |
void |
setInteger(int f) |
void |
setInteger(long f) |
add, compareTo, dec, div, getValue, inc, mul, mul, mul, set, setOne, setValue, setZero, sub, toString, updateContainergetDefaultDisplay, getMinIncrement, getRealDouble, getRealFloat, setReal, setRealdecIndex, decIndex, getComplexDouble, getComplexFloat, getEntitiesPerPixel, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, incIndex, incIndex, setComplex, setComplex, updateIndexcomplexConjugate, getPreferredRealPrecision, setComplexNumber, setComplexNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcomplexConjugate, getComplexDouble, getComplexFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, getPreferredRealPrecision, setComplex, setComplex, setComplexNumber, setComplexNumberdecIndex, decIndex, getEntitiesPerPixel, getIndex, incIndex, incIndex, updateIndexpublic IntType(DirectAccessContainer<IntType,? extends IntAccess> intStorage)
public IntType(int value)
public IntType()
public DirectAccessContainer<IntType,? extends IntAccess> createSuitableDirectAccessContainer(DirectAccessContainerFactory storageFactory, int[] dim)
TypeType creates the DirectAccessContainer used for storing image data; based on the given storage strategy and its size. It
basically only decides here which BasicType it uses (float, int, byte, bit, ...) and how many entities per pixel it needs
(e.g. 2 floats per pixel for a complex number). This enables the separation of Image and the basic types.storageFactory - - Which storage strategy is useddim - - the dimensionsType knowns the BasicType it contains.public IntType duplicateTypeOnSameDirectAccessContainer()
TypeType which stores in the same physical array. This is only used internally.Type instance working on the same DirectAccessContainerpublic int get()
public void set(int b)
public int getInteger()
public long getIntegerLong()
public void setInteger(int f)
public void setInteger(long f)
public double getMaxValue()
public double getMinValue()
public IntType[] createArray1D(int size1)
TypeTypesize1 - - the size of the arraypublic IntType[][] createArray2D(int size1, int size2)
TypeTypesize1 - - the size of the arraysize2 - - the size of the arraypublic IntType[][][] createArray3D(int size1, int size2, int size3)
TypeTypesize1 - - the size of the arraysize2 - - the size of the arraysize3 - - the size of the arraypublic IntType createVariable()
TypeType which can only store one value.Type instanceCopyright © 2015–2021 Fiji. All rights reserved.