geotrellis.geometry.rasterizer

Rasterizer

object Rasterizer extends AnyRef

This object takes polygons and values and draws them into a given raster or array of data.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Rasterizer
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Type Members

  1. trait CompoundIntercept extends Intercept

    These intercepts are combinations of the previous ones.

  2. trait CompoundInterceptRange extends InterceptRange

  3. trait Intercept extends AnyRef

  4. case class InterceptEHorizontal (startx: Int, x: Int) extends CompoundInterceptRange with Product with Serializable

  5. case class InterceptEnd (x: Int) extends Intercept with Product with Serializable

  6. case class InterceptFlow (x: Int) extends Intercept with Product with Serializable

    These intercept case classes directly map to a single GridLine intersecting the row we're interested in.

  7. case class InterceptFlowHorizontal (startx: Int, x: Int) extends CompoundInterceptRange with Product with Serializable

  8. case class InterceptHinge (x: Int) extends CompoundIntercept with Product with Serializable

  9. case class InterceptHorizontal (startx: Int, x: Int) extends InterceptRange with Product with Serializable

  10. trait InterceptRange extends Intercept

  11. case class InterceptSHorizontal (startx: Int, x: Int) extends CompoundInterceptRange with Product with Serializable

  12. case class InterceptSpike (x: Int) extends CompoundIntercept with Product with Serializable

  13. case class InterceptSpikeHorizontal (startx: Int, x: Int) extends CompoundInterceptRange with Product with Serializable

  14. case class InterceptStart (x: Int) extends Intercept with Product with Serializable

  15. case class Region (x1: Int, x2: Int, f: (Int) ⇒ Int) extends Product with Serializable

    Regions represent areas of the raster where we want to draw our polygon.

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. val DBG : Int

  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def combineIntercepts (intercepts: Array[Intercept]): ArrayBuffer[Intercept]

    Process an array of intercepts, creating synthetic intercepts out of the relevant combinatios of simple intercepts.

    Process an array of intercepts, creating synthetic intercepts out of the relevant combinatios of simple intercepts.

    Examples: Start + End -> Hinge Start + Start -> Spike Start + Horizontal + Start -> HorizontalSpike

  10. def createIntercepts (row: Int, limit: Int, group: ArrayBuffer[GridLine]): ArrayBuffer[Intercept]

    Given a row of interest and the lines we know will intersect it, constructs an array of intercepts which fully cross our row.

    Given a row of interest and the lines we know will intersect it, constructs an array of intercepts which fully cross our row. This involves creating synthetic intercepts where necessary.

  11. def createRegions (row: Int, f: (Int) ⇒ Int, intercepts2: ArrayBuffer[Intercept]): Array[Region]

    Given a row, a function, and an array of intercepts, create regions wherever the polygon is visible on this row.

  12. def eq (arg0: AnyRef): Boolean

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  16. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  18. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  19. def notify (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef
  21. def rasterize (cols: Int, rows: Int, polygons: Array[GridPolygon], fs: Array[(Int) ⇒ Int], data: RasterData): Unit

    draw an array of polygons (with corresponding values) into an integer array with the dimensions: cols x rows.

  22. def rasterize (raster: IntRaster, polygons: Array[GridPolygon], fs: Array[(Int) ⇒ Int]): Unit

  23. def rasterize (raster: IntRaster, polygons: Array[GridPolygon], values: Array[Int]): Unit

    draw an array of polygons (with corresponding values) into raster.

  24. def rasterize (raster: IntRaster, polygons: Array[Polygon], fs: Array[(Int) ⇒ Int]): Unit

  25. def rasterize (raster: IntRaster, polygons: Array[Polygon]): Unit

    quantize an array of polygons based on a raster's extent, and then draw them into the provided raster.

  26. def regionCombine (ranges: ArrayBuffer[Region], layer: Array[Region]): Unit

    add a new layer to our final set of ranges (splitting ranges where they intersect with existing ranges).

  27. def synchronized [T0] (arg0: ⇒ T0): T0

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

    Definition Classes
    AnyRef → Any
  29. def tokenSplit (older: Region, added: Region): (Option[Region], Option[Region])

    in the case where an old and new range intersect, we need to modify the new range (either chopping off part of it or splitting it) to hide the part which is "covered up" by the old range.

  30. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any