public abstract class RealTypeImpl<T extends RealTypeImpl<T>> extends ComplexTypeImpl<T> implements RealType<T>
| Constructor and Description |
|---|
RealTypeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T c) |
int |
compareTo(T c) |
void |
dec() |
void |
decIndex()
Decreases the array index,
this is called by the
Cursors which iterate over the image. |
void |
decIndex(int decrement)
Decreases the index by increment steps,
this is called by the
Cursors which iterate over the image. |
void |
div(T c) |
double |
getComplexDouble() |
float |
getComplexFloat() |
Display<T> |
getDefaultDisplay(Image<T> image)
|
int |
getEntitiesPerPixel() |
double |
getPhaseDouble() |
float |
getPhaseFloat() |
double |
getPowerDouble() |
float |
getPowerFloat() |
void |
inc() |
void |
incIndex()
Increases the array index,
this is called by the
Cursors which iterate over the image. |
void |
incIndex(int increment)
Increases the index by increment steps,
this is called by the
Cursors which iterate over the image. |
void |
mul(double c) |
void |
mul(float c) |
void |
mul(T c) |
void |
set(T c)
Sets the value of another
Type. |
void |
setComplex(double complex) |
void |
setComplex(float complex) |
void |
setOne() |
void |
setZero() |
void |
sub(T c) |
String |
toString() |
void |
updateIndex(int index)
Set the array position of the
Type. |
complexConjugate, getPreferredRealPrecision, setComplexNumber, setComplexNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMaxValue, getMinIncrement, getMinValuecomplexConjugate, getPreferredRealPrecision, getRealDouble, getRealFloat, setComplexNumber, setComplexNumber, setReal, setRealcopy, createArray1D, createArray2D, createArray3D, createSuitableDirectAccessContainer, createVariable, duplicateTypeOnSameDirectAccessContainer, getIndex, updateContainerpublic int getEntitiesPerPixel()
getEntitiesPerPixel in interface Type<T extends RealTypeImpl<T>>getEntitiesPerPixel in class ComplexTypeImpl<T extends RealTypeImpl<T>>public Display<T> getDefaultDisplay(Image<T> image)
TypeType creates the default Display for displaying the image contents. Only Type can do this as in Image
the Type is only a Generic. Later the user can create its own Displays if wanted.
This could be basically a static function.getDefaultDisplay in interface Type<T extends RealTypeImpl<T>>getDefaultDisplay in class ComplexTypeImpl<T extends RealTypeImpl<T>>image - - the image to create the Display forDisplaypublic float getComplexFloat()
getComplexFloat in interface ComplexType<T extends RealTypeImpl<T>>public double getComplexDouble()
getComplexDouble in interface ComplexType<T extends RealTypeImpl<T>>public void setComplex(float complex)
setComplex in interface ComplexType<T extends RealTypeImpl<T>>public void setComplex(double complex)
setComplex in interface ComplexType<T extends RealTypeImpl<T>>public void inc()
inc in interface RealType<T extends RealTypeImpl<T>>public void dec()
dec in interface RealType<T extends RealTypeImpl<T>>public void set(T c)
TypeType.set in interface Type<T extends RealTypeImpl<T>>set in class ComplexTypeImpl<T extends RealTypeImpl<T>>c - - the new valuepublic void mul(float c)
mul in interface NumericType<T extends RealTypeImpl<T>>mul in class ComplexTypeImpl<T extends RealTypeImpl<T>>public void mul(double c)
mul in interface NumericType<T extends RealTypeImpl<T>>mul in class ComplexTypeImpl<T extends RealTypeImpl<T>>public void add(T c)
add in interface NumericType<T extends RealTypeImpl<T>>add in class ComplexTypeImpl<T extends RealTypeImpl<T>>public void div(T c)
div in interface NumericType<T extends RealTypeImpl<T>>div in class ComplexTypeImpl<T extends RealTypeImpl<T>>public void mul(T c)
mul in interface NumericType<T extends RealTypeImpl<T>>mul in class ComplexTypeImpl<T extends RealTypeImpl<T>>public void sub(T c)
sub in interface NumericType<T extends RealTypeImpl<T>>sub in class ComplexTypeImpl<T extends RealTypeImpl<T>>public void setZero()
setZero in interface NumericType<T extends RealTypeImpl<T>>setZero in class ComplexTypeImpl<T extends RealTypeImpl<T>>public void setOne()
setOne in interface NumericType<T extends RealTypeImpl<T>>setOne in class ComplexTypeImpl<T extends RealTypeImpl<T>>public int compareTo(T c)
compareTo in interface Comparable<T extends RealTypeImpl<T>>public float getPowerFloat()
getPowerFloat in interface ComplexType<T extends RealTypeImpl<T>>getPowerFloat in class ComplexTypeImpl<T extends RealTypeImpl<T>>public double getPowerDouble()
getPowerDouble in interface ComplexType<T extends RealTypeImpl<T>>getPowerDouble in class ComplexTypeImpl<T extends RealTypeImpl<T>>public float getPhaseFloat()
getPhaseFloat in interface ComplexType<T extends RealTypeImpl<T>>getPhaseFloat in class ComplexTypeImpl<T extends RealTypeImpl<T>>public double getPhaseDouble()
getPhaseDouble in interface ComplexType<T extends RealTypeImpl<T>>getPhaseDouble in class ComplexTypeImpl<T extends RealTypeImpl<T>>public void updateIndex(int index)
TypeType.updateIndex in interface Type<T extends RealTypeImpl<T>>updateIndex in class ComplexTypeImpl<T extends RealTypeImpl<T>>index - - index valuepublic void incIndex()
TypeCursors which iterate over the image.incIndex in interface Type<T extends RealTypeImpl<T>>incIndex in class ComplexTypeImpl<T extends RealTypeImpl<T>>public void incIndex(int increment)
TypeCursors which iterate over the image.incIndex in interface Type<T extends RealTypeImpl<T>>incIndex in class ComplexTypeImpl<T extends RealTypeImpl<T>>increment - - how many stepspublic void decIndex()
TypeCursors which iterate over the image.decIndex in interface Type<T extends RealTypeImpl<T>>decIndex in class ComplexTypeImpl<T extends RealTypeImpl<T>>public void decIndex(int decrement)
TypeCursors which iterate over the image.decIndex in interface Type<T extends RealTypeImpl<T>>decIndex in class ComplexTypeImpl<T extends RealTypeImpl<T>>public String toString()
toString in class ComplexTypeImpl<T extends RealTypeImpl<T>>Copyright © 2015–2021 Fiji. All rights reserved.