geotrellis.operation

DoCell

case class DoCell (r: Op[IntRaster], f: (Int) ⇒ Int) extends Op[IntRaster] with SimpleUnaryLocal with Product with Serializable

Perform a function on every cell in a raster.

For example,

val R = LoadFile(f)
val D = DoCell(R, x => x + 3 ) // add 3 to every cell in the raster

Linear Supertypes
Serializable, Serializable, SimpleUnaryLocal, UnaryLocal, LocalOperation, Operation[IntRaster], Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. DoCell
  2. Serializable
  3. Serializable
  4. SimpleUnaryLocal
  5. UnaryLocal
  6. LocalOperation
  7. Operation
  8. Product
  9. Equals
  10. AnyRef
  11. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DoCell (r: Op[IntRaster], f: (Int) ⇒ Int)

Type Members

  1. type Steps = PartialFunction[Any, StepOutput[IntRaster]]

    Definition Classes
    Operation

Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. def _run (context: Context): StepOutput[IntRaster]

    Definition Classes
    UnaryLocalOperation
  7. def asInstanceOf [T0] : T0

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

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

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

    Definition Classes
    Operation
  11. def dispatch (dispatcher: ActorRef): DispatchedOperation[IntRaster]

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

    Attributes
    final
    Definition Classes
    AnyRef
  13. def equals (arg0: Any): Boolean

    Definition Classes
    DoCell → Equals → AnyRef → Any
  14. val f : (Int) ⇒ Int

  15. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. val functionNextSteps : Steps

    Definition Classes
    SimpleUnaryLocalUnaryLocal
  17. def functionOps : List[Any]

    Definition Classes
    SimpleUnaryLocalUnaryLocal
  18. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  19. def getUnderlyingOp : Op[IntRaster]

    Definition Classes
    UnaryLocal
  20. def handleCell (z: Int): Int

    Definition Classes
    DoCellSimpleUnaryLocal
  21. def hashCode (): Int

    Definition Classes
    DoCell → AnyRef → Any
  22. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  23. def name : String

    Return operation identified (class simple name).

    Return operation identified (class simple name).

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

    Attributes
    final
    Definition Classes
    AnyRef
  25. val nextSteps : Steps

    Definition Classes
    UnaryLocalOperation
  26. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. def productArity : Int

    Definition Classes
    DoCell → Product
  29. def productElement (arg0: Int): Any

    Definition Classes
    DoCell → Product
  30. def productIterator : Iterator[Any]

    Definition Classes
    Product
  31. def productPrefix : String

    Definition Classes
    DoCell → Product
  32. val r : Op[IntRaster]

    Definition Classes
    DoCellUnaryLocal
  33. def run (context: Context): StepOutput[IntRaster]

    Execute this operation and return the result.

    Execute this operation and return the result.

    Definition Classes
    Operation
  34. def runAsync (args: Args): StepOutput[IntRaster]

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

    Attributes
    final
    Definition Classes
    AnyRef
  36. def toString (): String

    Definition Classes
    DoCell → AnyRef → Any
  37. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from SimpleUnaryLocal

Inherited from UnaryLocal

Inherited from LocalOperation

Inherited from Operation[IntRaster]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any