public class ShortLongAccessType extends GenericShortLongAccessType<ShortLongAccessType>
dataAccess, img| Constructor and Description |
|---|
ShortLongAccessType() |
ShortLongAccessType(NativeLongAccessImg<?,? extends ShortLongAccess> img) |
ShortLongAccessType(short value) |
ShortLongAccessType(ShortLongAccess access) |
| Modifier and Type | Method and Description |
|---|---|
ShortLongAccessType |
copy()
|
NativeLongAccessImg<ShortLongAccessType,? extends ShortLongAccess> |
createSuitableNativeImg(NativeLongAccessImgFactory<ShortLongAccessType> storageFactory,
long[] dim)
The
NativeLongAccessType creates the NativeLongAccessImg
used for storing image data; based on the given storage strategy and its
size. |
ShortLongAccessType |
createVariable()
Creates a new
Type variable which can only store one value. |
ShortLongAccessType |
duplicateTypeOnSameNativeImg()
Creates a new
NativeType which stores in the same physical array. |
short |
get() |
BigInteger |
getBigInteger() |
int |
getInteger() |
long |
getIntegerLong() |
double |
getMaxValue() |
double |
getMinValue() |
NativeLongAccessTypeFactory<ShortLongAccessType,?> |
getNativeLongAccessTypeFactory() |
void |
set(short b) |
void |
setBigInteger(BigInteger b) |
void |
setInteger(int f) |
void |
setInteger(long f) |
add, compareTo, dec, decIndex, decIndex, div, getBitsPerPixel, getEntitiesPerPixel, getIndexLong, getValue, hashCode, inc, incIndex, incIndex, mul, mul, mul, set, setOne, setValue, setZero, sub, toString, updateContainer, updateIndex, valueEqualsequals, getMinIncrement, getRealDouble, getRealFloat, setReal, setRealgetImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, pow, pow, setImaginary, setImaginarycomplexConjugate, setComplexNumber, setComplexNumberclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomplexConjugate, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setComplexNumber, setComplexNumber, setImaginary, setImaginarypowpublic ShortLongAccessType(NativeLongAccessImg<?,? extends ShortLongAccess> img)
public ShortLongAccessType(short value)
public ShortLongAccessType(ShortLongAccess access)
public ShortLongAccessType()
public NativeLongAccessImg<ShortLongAccessType,? extends ShortLongAccess> createSuitableNativeImg(NativeLongAccessImgFactory<ShortLongAccessType> storageFactory, long[] dim)
NativeLongAccessTypeNativeLongAccessType creates the NativeLongAccessImg
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
containers and the basic types.storageFactory - which storage strategy is useddim - the dimensionsNativeLongAccessImg where only the
Type knows the BasicType it contains.public ShortLongAccessType duplicateTypeOnSameNativeImg()
NativeLongAccessTypeNativeType which stores in the same physical array.
This is only used internally.NativeType instance working on the same
NativeImgpublic short get()
public void set(short b)
public int getInteger()
public long getIntegerLong()
public BigInteger getBigInteger()
public void setInteger(int f)
public void setInteger(long f)
public void setBigInteger(BigInteger b)
public double getMaxValue()
public double getMinValue()
public ShortLongAccessType createVariable()
TypeType variable which can only store one value.Type variablepublic ShortLongAccessType copy()
TypeType variablepublic NativeLongAccessTypeFactory<ShortLongAccessType,?> getNativeLongAccessTypeFactory()
Copyright © 2015–2022 ImgLib2. All rights reserved.