geotrellis.raster.op.local

IfElseCell

case class IfElseCell(r: Op[Raster], cond: (Int) ⇒ Boolean, trueValue: Int, falseValue: Int) extends Op1[Raster, Raster] with Product with Serializable

Set all values of output raster to one value or another based on whether a condition is true or false.

Linear Supertypes
Serializable, Serializable, Op1[Raster, Raster], Operation[Raster], Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. IfElseCell
  2. Serializable
  3. Serializable
  4. Op1
  5. Operation
  6. Product
  7. Equals
  8. AnyRef
  9. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IfElseCell(r: Op[Raster], cond: (Int) ⇒ Boolean, trueValue: Int, falseValue: Int)

Type Members

  1. type Args = List[Any]

    Definition Classes
    Operation
  2. type Steps = PartialFunction[Any, StepOutput[Raster]]

    Definition Classes
    Operation

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def _run(context: Context): StepOutput[Raster]

    Definition Classes
    Op1Operation
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def canEqual(arg0: Any): Boolean

    Definition Classes
    IfElseCell → Equals
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. val cond: (Int) ⇒ Boolean

  11. val debug: Boolean

    Definition Classes
    Operation
  12. def dispatch(dispatcher: ActorRef): DispatchedOperation[Raster]

    Definition Classes
    Operation
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    IfElseCell → Equals → AnyRef → Any
  15. val falseValue: Int

  16. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    IfElseCell → AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def name: String

    Return operation identified (class simple name).

    Return operation identified (class simple name).

    Definition Classes
    Operation
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. val nextSteps: Steps

    Definition Classes
    Op1Operation
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def productArity: Int

    Definition Classes
    IfElseCell → Product
  26. def productElement(arg0: Int): Any

    Definition Classes
    IfElseCell → Product
  27. def productIterator: Iterator[Any]

    Definition Classes
    Product
  28. def productPrefix: String

    Definition Classes
    IfElseCell → Product
  29. val r: Op[Raster]

  30. def run(context: Context): StepOutput[Raster]

    Execute this operation and return the result.

    Execute this operation and return the result.

    Definition Classes
    Operation
  31. def runAsync(args: Args): StepOutput[Raster]

    Definition Classes
    Operation
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def toString(): String

    Definition Classes
    IfElseCell → AnyRef → Any
  34. val trueValue: Int

  35. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  36. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  37. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Op1[Raster, Raster]

Inherited from Operation[Raster]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any