Package net.imglib2.type.numeric
Class AbstractARGBDoubleType<T extends AbstractARGBDoubleType<T>>
- java.lang.Object
-
- net.imglib2.type.numeric.AbstractARGBDoubleType<T>
-
- All Implemented Interfaces:
NumericType<T>,Add<T>,Div<T>,Mul<T>,MulFloatingPoint,Pow<T>,PowFloatingPoint,SetOne,SetZero,Sub<T>,ValueEquals<T>,Type<T>
- Direct Known Subclasses:
ARGBDoubleType,NativeARGBDoubleType
public abstract class AbstractARGBDoubleType<T extends AbstractARGBDoubleType<T>> extends java.lang.Object implements NumericType<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractARGBDoubleType()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidadd(T c)voiddiv(T c)booleanequals(java.lang.Object obj)abstract doublegetA()abstract doublegetB()abstract doublegetG()abstract doublegetR()inthashCode()voidmul(double c)voidmul(float c)voidmul(T c)voidpow(double power)voidpow(T c)voidset(double a, double r, double g, double b)voidset(T c)Sets the value of anotherType.abstract voidsetA(double a)abstract voidsetB(double b)abstract voidsetG(double g)voidsetOne()abstract voidsetR(double r)voidsetZero()voidsub(T c)inttoARGBInt()Create and integer packed representation of this ARGB value.booleanvalueEquals(T t)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.imglib2.type.Type
copy, createVariable
-
-
-
-
Method Detail
-
getA
public abstract double getA()
-
getR
public abstract double getR()
-
getG
public abstract double getG()
-
getB
public abstract double getB()
-
setA
public abstract void setA(double a)
-
setR
public abstract void setR(double r)
-
setG
public abstract void setG(double g)
-
setB
public abstract void setB(double b)
-
set
public void set(double a, double r, double g, double b)
-
set
public void set(T c)
Description copied from interface:TypeSets the value of anotherType.- Specified by:
setin interfaceType<T extends AbstractARGBDoubleType<T>>- Parameters:
c- the new value
-
pow
public void pow(double power)
- Specified by:
powin interfacePowFloatingPoint
-
mul
public void mul(float c)
- Specified by:
mulin interfaceMulFloatingPoint
-
mul
public void mul(double c)
- Specified by:
mulin interfaceMulFloatingPoint
-
toARGBInt
public int toARGBInt()
Create and integer packed representation of this ARGB value. Crop
-
valueEquals
public boolean valueEquals(T t)
- Specified by:
valueEqualsin interfaceValueEquals<T extends AbstractARGBDoubleType<T>>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-