Packages

trait BufferTiles extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BufferTiles
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply[K, V <: CellGrid[Int]](seq: Seq[(K, V)], bufferSize: Int, layerBounds: TileBounds)(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) ⇒ CropMethods[V]): Seq[(K, BufferedTile[V])]

    Buffer the tiles of type V by a constant buffer size.

    Buffer the tiles of type V by a constant buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set RDD, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    seq

    The keyed tile collection.

    bufferSize

    Number of pixels to buffer the tile with. The tile will only be buffered by this amount on any side if there is an adjacent, abutting tile to contribute the border pixels.

    layerBounds

    The boundries of the layer to consider for border pixel contribution. This avoids creating border cells from valid tiles that would be used by keys outside of the bounds (and therefore unused).

  2. def apply[K, V <: CellGrid[Int]](seq: Seq[(K, V)], bufferSizesPerKey: Seq[(K, BufferSizes)])(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) ⇒ CropMethods[V]): Seq[(K, BufferedTile[V])]

    Buffer the tiles of type V by a dynamic buffer size.

    Buffer the tiles of type V by a dynamic buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set Collection, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    seq

    The keyed tile rdd.

    bufferSizesPerKey

    A Collection that holds the BufferSizes to use for each key.

  3. def apply[K, V <: CellGrid[Int]](seq: Seq[(K, V)], getBufferSizes: (K) ⇒ BufferSizes)(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) ⇒ CropMethods[V]): Seq[(K, BufferedTile[V])]

    Buffer the tiles of type V by a dynamic buffer size.

    Buffer the tiles of type V by a dynamic buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set Collection, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    seq

    The keyed tile rdd.

    getBufferSizes

    A function which returns the BufferSizes that should be used for a tile at this Key.

  4. def apply[K, V <: CellGrid[Int]](seq: Seq[(K, V)], bufferSize: Int)(implicit arg0: SpatialComponent[K], arg1: Stitcher[V], arg2: (V) ⇒ CropMethods[V]): Seq[(K, BufferedTile[V])]

    Buffer the tiles of type V by a constant buffer size.

    Buffer the tiles of type V by a constant buffer size.

    This function will return each of the tiles with a buffer added to them by the contributions of adjacent, abutting tiles.

    K

    The key of this tile set Collection, requiring a spatial component.

    V

    The tile type, requires a Stitcher[V] and implicit conversion to CropMethods[V]

    bufferSize

    Number of pixels to buffer the tile with. The tile will only be buffered by this amount on any side if there is an adjacent, abutting tile to contribute the border pixels.

  5. def bufferWithNeighbors[K, V <: CellGrid[Int]](seq: Seq[(K, Seq[(Direction, V)])])(implicit arg0: SpatialComponent[K], arg1: Stitcher[V]): Seq[(K, BufferedTile[V])]
  6. def collectWithTileNeighbors[K, V <: CellGrid[Int]](key: K, tile: V, includeKey: (SpatialKey) ⇒ Boolean, getBufferSizes: (SpatialKey) ⇒ BufferSizes)(implicit arg0: SpatialComponent[K], arg1: (V) ⇒ CropMethods[V]): Seq[(K, (Direction, V))]

    Collects tile neighbors by slicing the neighboring tiles to the given buffer size