geotrellis.raster

RasterData

trait RasterData extends Serializable

RasterData provides access and update to the grid data of a raster.

Designed to be a near drop-in replacement for Array in many cases.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RasterData
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def alloc(cols: Int, rows: Int): MutableRasterData

  2. abstract def apply(i: Int): Int

  3. abstract def applyDouble(i: Int): Double

  4. abstract def cols: Int

  5. abstract def copy: RasterData

  6. abstract def force: RasterData

  7. abstract def getType: RasterType

  8. abstract def length: Int

  9. abstract def mutable(): MutableRasterData

  10. abstract def rows: Int

  11. abstract def toArrayByte: Array[Byte]

  12. abstract def warp(current: RasterExtent, target: RasterExtent): RasterData

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def combine(other: RasterData)(f: (Int, Int) ⇒ Int): RasterData

    Combine two RasterData's cells into new cells using the given integer function.

    Combine two RasterData's cells into new cells using the given integer function. For every (x,y) cell coordinate, get each RasterData's integer value, map them to a new value, and assign it to the output's (x,y) cell.

  9. def combineDouble(other: RasterData)(f: (Double, Double) ⇒ Double): RasterData

    Combine two RasterData's cells into new cells using the given double function.

    Combine two RasterData's cells into new cells using the given double function. For every (x,y) cell coordinate, get each RasterData's double value, map them to a new value, and assign it to the output's (x,y) cell.

  10. def convert(typ: RasterType): RasterData

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(other: Any): Boolean

    Definition Classes
    RasterData → AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def foreach(f: (Int) ⇒ Unit): Unit

    For every cell in the given raster, run the given integer function.

    For every cell in the given raster, run the given integer function.

    The order of the traversal from the lowest to highest columns, across each row, but this should probably not be relied upon. In the future we'd like to be able to parallelize foreach.

  15. def foreachDouble(f: (Double) ⇒ Unit): Unit

    For every cell in the given raster, run the given double function.

    For every cell in the given raster, run the given double function.

    The order of the traversal from the lowest to highest columns, across each row, but this should probably not be relied upon. In the future we'd like to be able to parallelize foreach.

  16. def get(col: Int, row: Int): Int

  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def getDouble(col: Int, row: Int): Double

  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. def isFloat: Boolean

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def isLazy: Boolean

  23. def lengthLong: Int

  24. def map(f: (Int) ⇒ Int): RasterData

    Map each cell in the given raster to a new one, using the given function.

  25. def mapDouble(f: (Double) ⇒ Double): RasterData

    Map each cell in the given raster to a new one, using the given function.

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

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

    Definition Classes
    AnyRef
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toArray: Array[Int]

  31. def toArrayDouble: Array[Double]

  32. def toList: List[Int]

  33. def toListDouble: List[Double]

  34. def toString(): String

    Definition Classes
    AnyRef → Any
  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( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped