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, SetOne, SetZero, Sub<T>, ValueEquals<T>, Type<T>
Direct Known Subclasses:
ARGBDoubleType, NativeARGBDoubleType

public abstract class AbstractARGBDoubleType<T extends AbstractARGBDoubleType<T>> extends Object implements NumericType<T>
Author:
Stephan Saalfeld
  • Constructor Details

    • AbstractARGBDoubleType

      public AbstractARGBDoubleType()
  • Method Details

    • 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: Type
      Sets the value of another Type.
      Specified by:
      set in interface Type<T extends AbstractARGBDoubleType<T>>
      Parameters:
      c - the new value
    • add

      public void add(T c)
      Specified by:
      add in interface Add<T extends AbstractARGBDoubleType<T>>
    • sub

      public void sub(T c)
      Specified by:
      sub in interface Sub<T extends AbstractARGBDoubleType<T>>
    • mul

      public void mul(T c)
      Specified by:
      mul in interface Mul<T extends AbstractARGBDoubleType<T>>
    • div

      public void div(T c)
      Specified by:
      div in interface Div<T extends AbstractARGBDoubleType<T>>
    • setZero

      public void setZero()
      Specified by:
      setZero in interface SetZero
    • setOne

      public void setOne()
      Specified by:
      setOne in interface SetOne
    • mul

      public void mul(float c)
      Specified by:
      mul in interface MulFloatingPoint
    • mul

      public void mul(double c)
      Specified by:
      mul in interface MulFloatingPoint
    • toARGBInt

      public int toARGBInt()
      Create and integer packed representation of this ARGB value. Crop
    • valueEquals

      public boolean valueEquals(T t)
      Specified by:
      valueEquals in interface ValueEquals<T extends AbstractARGBDoubleType<T>>