Package

com.kodekutters.czml

czmlCore

Permalink

package czmlCore

The Cesium CZML language as described in the following references:

https://github.com/AnalyticalGraphicsInc/cesium/wiki/CZML-Structure https://github.com/AnalyticalGraphicsInc/cesium/wiki/CZML-Content https://github.com/AnalyticalGraphicsInc/cesium/wiki/CZML-Guide

CZML is a JSON schema for describing a time-dynamic graphical scene, primarily for display in a web browser running Cesium. It describes lines, points, billboards (markers), models and other graphical primitives, and specifies how they change with time.

This package implements all core czml supporting elements but not the czmlProperties.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. czmlCore
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class BooleanInterval(interval: Option[String] = None, boolean: Option[Boolean]) extends Product with Serializable

    Permalink

    describes a boolean interval, i.e.

    describes a boolean interval, i.e. a time interval and an associated boolean value

  2. case class Cartesian(coordinates: Seq[Coordinate]) extends Product with Serializable

    Permalink

    A sequence of three dimensional Cartesian coordinates specified as [X, Y, Z].

    A sequence of three dimensional Cartesian coordinates specified as [X, Y, Z]. If the array has three elements, the position is constant. If it has four or more elements, they are time-tagged samples arranged as [Time, X, Y, Z, Time, X, Y, Z, Time, X, Y, Z, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

  3. case class Cartesian2D(coordinates: Seq[Coordinate2D]) extends Product with Serializable

    Permalink

    A list of 2D Cartesian [X, Y] in viewport coordinates in pixels, where X is pixels to the right and Y is pixels up.

    A list of 2D Cartesian [X, Y] in viewport coordinates in pixels, where X is pixels to the right and Y is pixels up. If the array has two elements, the pixel offset is constant. If it has three or more elements, they are time-tagged samples arranged as [Time, X, Y, Time, X, Y, Time, X, Y, ...], where _Time_ is an ISO 8601 date and time string or seconds since epoch.

  4. case class CartesianVelocity(velocities: Seq[Velocity]) extends Product with Serializable

    Permalink

    A list of Velocities consisting of three dimensional Cartesian coordinates and their derivatives specified as [X, Y, Z, vX, vY, vZ].

    A list of Velocities consisting of three dimensional Cartesian coordinates and their derivatives specified as [X, Y, Z, vX, vY, vZ]. If the array has six elements, the position is constant. If it has seven or more elements, they are time-tagged samples arranged as [Time, X, Y, Z, vX, vY, vZ, Time, X, Y, Z, vX, vY, vZ, Time, X, Y, Z, vX, vY, vZ, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

  5. case class Cartographic[T](coordinates: Seq[LngLatAlt[T]])(implicit evidence$12: scala.reflect.api.JavaUniverse.TypeTag[T]) extends Product with Serializable

    Permalink

    A list of geodetic, WGS84 positions using longitude, latitude, and height components.

    A list of geodetic, WGS84 positions using longitude, latitude, and height components. The positions represented as a WGS 84 Cartographic [Longitude, Latitude, Height] where longitude and latitude are in degrees or radians depending on the type parameter [T] (DEGREE or RADIAN), and height is in meters. If the array has three elements, the position is constant. If it has four or more elements, they are time-tagged samples arranged as [Time, Longitude, Latitude, Height, Time, Longitude, Latitude, Height, ...], where Time is an ISO 8601 date and time string or seconds since "epoch".

  6. case class ColorProperty(values: Option[Array[CzmlColor]]) extends Product with Serializable

    Permalink

    A color property represented as an array of color objects

    A color property represented as an array of color objects

    values

    the array of Colors

  7. case class Coordinate(t: Option[TimeValue] = None, x: Double, y: Double, z: Double) extends Product with Serializable

    Permalink

    a 3d cartesian coordinate that can have an optional time component.

  8. case class Coordinate2D(t: Option[TimeValue] = None, x: Double, y: Double) extends Product with Serializable

    Permalink

    a 2d cartesian coordinate that can have an optional time component.

  9. case class CzmlBoolean(value: Either[Boolean, Array[BooleanInterval]]) extends Product with Serializable

    Permalink

    a generic boolean property that can be a simple boolean or an array of boolean intervals

    a generic boolean property that can be a simple boolean or an array of boolean intervals

    value

    could be a simple boolean or an array of BooleanInterval

  10. case class CzmlCartesian2(cartesian2: Option[Cartesian2D] = None, interval: Option[String] = None, reference: Option[String] = None, timeFields: Option[Interpolatable] = None) extends Product with Serializable

    Permalink

    Describes a 2d Cartesian property which can optionally vary over time.

    Describes a 2d Cartesian property which can optionally vary over time. Typically used for pixelOffset of a billboard or grid lineOffset, lineCount and lineThickness

    cartesian2

    The Cartesian2D [X, Y] in meters. If the array has two elements, the cartesian is constant. If it has three or more elements, they are time-tagged samples arranged as [Time, X, Y, Time, X, Y, Time, X, Y, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

    interval

    Time interval

    reference

    A reference property.

    timeFields

    the time interpolatable part of this property

  11. case class CzmlColor(rgba: Option[RgbaList] = None, rgbaf: Option[RgbafList] = None, interval: Option[String] = None, reference: Option[String] = None, timeFields: Option[Interpolatable] = None) extends Product with Serializable

    Permalink

    Defines a color property.

    Defines a color property. The color can optionally vary over time.

    rgba

    A color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0-255. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

    rgbaf

    The color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0.0-1.0. If the array has four elements, the color is constant. If it has five or more elements, they are time-tagged samples arranged as [Time, Red, Green, Blue, Alpha, Time, Red, Green, Blue, Alpha, ...], where Time is an ISO 8601 date and time string or seconds since epoch.

    interval

    the interval property

    reference

    a reference property

    timeFields

    the time interpolatable part of this property

  12. case class CzmlNumber(number: Option[Any] = None, interval: Option[String] = None, reference: Option[String] = None, timeFields: Option[Interpolatable] = None) extends Product with Serializable

    Permalink

    A generic number that can be timed and is interpolatable.

    A generic number that can be timed and is interpolatable.

    Note: if epoch is defined "number" becomes an array of doubles. if epoch is not defined, then "number" becomes either an array of timed values (see TimedNumbers) or a single double value.

    number

    the number that depends on epoch

    interval

    the time interval value

    reference

    a reference property

    timeFields

    the time interpolatable part of this property

  13. case class CzmlPosition(referenceFrame: Option[String] = None, cartesian: Option[Cartesian] = None, cartographicRadians: Option[Cartographic[RADIAN]] = None, cartographicDegrees: Option[Cartographic[DEGREE]] = None, cartesianVelocity: Option[CartesianVelocity] = None, interval: Option[String] = None, reference: Option[String] = None, timeFields: Option[Interpolatable] = None) extends Product with Serializable

    Permalink

    The position of the object in the world.

    The position of the object in the world. The position has no direct visual representation, but it is used to locate billboards, labels, and other primitives attached to the object. It is also used for the scale of a NodeTransformation

    referenceFrame

    the reference frame

    cartesian

    the cartesian position

    cartographicRadians

    the radian position

    cartographicDegrees

    the degree position

    cartesianVelocity

    the cartesian velocity

    interval

    the interval property

    reference

    a reference property

    timeFields

    the time interpolatable part of this property

  14. sealed trait DEGREE extends AnyRef

    Permalink

    represents the geographic coordinate degree "type"

  15. case class Description(string: Option[String] = None, reference: Option[String] = None) extends Product with Serializable

    Permalink

    An HTML description of the object.

    An HTML description of the object.

    string

    The string value

    reference

    A reference property.

  16. case class Directions(spherical: Option[ArrayBuffer[Double]] = None, unitSpherical: Option[ArrayBuffer[Double]] = None, cartesian: Option[ArrayBuffer[Double]] = None, unitCartesian: Option[ArrayBuffer[Double]] = None) extends Product with Serializable

    Permalink

    The list of directions defining the pyramid.

  17. case class Font(font: Option[String] = None, reference: Option[String] = None) extends Product with Serializable

    Permalink

    a font

  18. case class Grid(color: Option[ColorProperty] = None, cellAlpha: Option[Number] = None, lineCount: Option[CzmlCartesian2] = None, lineThickness: Option[CzmlCartesian2] = None, lineOffset: Option[CzmlCartesian2] = None) extends Product with Serializable

    Permalink

    Fills a surface with a grid.

    Fills a surface with a grid.

    color

    The color of the surface.

    cellAlpha

    Alpha value for the space between grid lines. This will be combined with the color alpha.

    lineCount

    The number of grid lines along each axis.

    lineThickness

    The thickness of grid lines along each axis, in pixels.

    lineOffset

    The offset of grid lines along each axis, as a percentage from 0 to 1.

  19. sealed trait HORIZONTAL extends AnyRef

    Permalink

    represents the horizontal origin "type"

  20. case class Image(image: Option[ImageUri] = None, color: Option[CzmlColor] = None, transparent: Option[Boolean] = None, repeat: Option[CzmlCartesian2] = None) extends Product with Serializable

    Permalink

    Fills the surface with an image.

    Fills the surface with an image. Used in Material

    image

    The image to display on the surface.

    color

    The color of the image. This color value is multiplied with the image to produce the final color.

    transparent

    Whether or not the image has transparency.

    repeat

    The number of times the image repeats along each axis.

  21. case class ImageUri(uri: Option[String] = None, reference: Option[String] = None) extends Product with Serializable

    Permalink

    The image displayed on the billboard, expressed as a URL.

    The image displayed on the billboard, expressed as a URL. For broadest client compatibility, the URL should be accessible via Cross-Origin Resource Sharing (CORS). The URL may also be a data URI.

    uri

    A URI value. The URI can optionally vary with time.

    reference

    A reference property.

  22. case class Interpolatable(epoch: Option[String] = None, nextTime: Option[TimeValue] = None, previousTime: Option[TimeValue] = None, interpolationAlgorithm: Option[String] = None, interpolationDegree: Option[Int] = None, forwardExtrapolationType: Option[String] = None, forwardExtrapolationDuration: Option[Double] = None, backwardExtrapolationType: Option[String] = None, backwardExtrapolationDuration: Option[Double] = None) extends Product with Serializable

    Permalink

    The base for a property whose value may be determined by interpolating over the provided time-tagged samples.

    The base for a property whose value may be determined by interpolating over the provided time-tagged samples. // *

    epoch

    Specifies the epoch to use for times specifies as seconds since an epoch.

    nextTime

    The time of the next sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

    previousTime

    The time of the previous sample within this interval, specified as either an ISO 8601 date and time string or as seconds since epoch. This property is used to determine if there is a gap between samples specified in different packets.

    interpolationAlgorithm

    specifies the algorithm to use to interpolate a value at a different time from the provided data

    interpolationDegree

    specifies the degree of the polynomial to use for interpolation

    forwardExtrapolationType

    the type of extrapolation to perform when a value is requested at a time after any available samples.

    forwardExtrapolationDuration

    the amount of time to extrapolate backward before the property becomes undefined. A value of 0 will extrapolate forever.

    backwardExtrapolationType

    the type of extrapolation to perform when a value is requested at a time before any available samples.

    backwardExtrapolationDuration

    the amount of time to extrapolate backward before the property becomes undefined. A value of 0 will extrapolate forever.

  23. case class LineMaterial(solidColor: Option[SolidColor] = None, polylineOutline: Option[PolylineOutline] = None, polylineGlow: Option[PolylineGlow] = None) extends Product with Serializable

    Permalink

    material used by a line such as a Path or a Polyline

    material used by a line such as a Path or a Polyline

    solidColor

    Fills the surface with a solid color, which may be translucent.

    polylineOutline

    Colors the line with a color and outline.

    polylineGlow

    Colors the line with a glowing color.

  24. case class LngLatAlt[T](t: Option[TimeValue] = None, lng: Double, lat: Double, alt: Double)(implicit evidence$1: scala.reflect.api.JavaUniverse.TypeTag[T]) extends Product with Serializable

    Permalink

    A timed geographic coordinate (time,long,lat,alt) coordinate.

    A timed geographic coordinate (time,long,lat,alt) coordinate. The optional time value is either a String or a Double wrapped in a TimeValue object. The geographic coordinate values can represent either degrees or radians depending on the type parameter [T], either DEGREE or RADIAN.

  25. case class Material(solidColor: Option[SolidColor] = None, image: Option[Image] = None, grid: Option[Grid] = None, stripe: Option[Stripe] = None) extends Product with Serializable

    Permalink

    The material to use to fill the ellipse.

    The material to use to fill the ellipse.

    solidColor

    fill the surface with a solid color, which may be translucent.

    image

    fill the surface with an image

    grid

    fill the surface with a gird

    stripe

    fill the surface with a stripe

  26. case class NodeTransformation(scale: Option[CzmlCartesian] = None, translation: Option[CzmlCartesian] = None, rotation: Option[Orientation] = None) extends Product with Serializable

    Permalink

    Transformations to apply to a particular node in a 3D model

    Transformations to apply to a particular node in a 3D model

    scale

    Defines an scaling factor which can optionally vary over time.

    translation

    Defines an translational offset which can optionally vary over time

  27. case class NodeTransformations(nodes: ListMap[String, NodeTransformation]) extends Product with Serializable

    Permalink

    Defines a mapping of node names to node transformations

    Defines a mapping of node names to node transformations

    nodes

    the map of node names and node transformations

  28. case class Number(values: Option[Array[CzmlNumber]]) extends Product with Serializable

    Permalink

    A number property consisting of a possible list of CzmlNumber

    A number property consisting of a possible list of CzmlNumber

    values

    the list of CzmlNumbers

  29. case class Origin[T](origin: Option[String] = None, reference: Option[String] = None)(implicit evidence$27: scala.reflect.api.JavaUniverse.TypeTag[T]) extends Product with Serializable

    Permalink

    The origin of the billboard or label.

    The origin of the billboard or label.

    T

    the origin type/direction, either HORIZONTAL or VERTICAL

    origin

    the origin value, one of "LEFT", "CENTER", "RIGHT", "BOTTOM", "TOP"

    reference

    a reference property

  30. case class PolylineGlow(color: Option[ColorProperty] = None, glowPower: Option[Number] = None) extends Product with Serializable

    Permalink

    Colors the line with a glowing color.

    Colors the line with a glowing color.

    color

    the color of glow

    glowPower

    the strenght of the glow

  31. case class PolylineOutline(color: Option[ColorProperty] = None, outlineColor: Option[ColorProperty] = None, outlineWidth: Option[Number] = None) extends Product with Serializable

    Permalink

    Colors the line with a color and outline.

    Colors the line with a color and outline.

    color

    of the line

    outlineColor

    color

    outlineWidth

    with of the outline

  32. case class PortionToDisplay(portionToDisplay: Option[String] = None, reference: Option[String] = None) extends Product with Serializable

    Permalink

    Indicates what part of a sensor should be displayed.

    Indicates what part of a sensor should be displayed.

    portionToDisplay

    "COMPLETE", "BELOW_ELLIPSOID_HORIZON", "ABOVE_ELLIPSOID_HORIZON"

    reference

    A reference property

  33. case class Position(referenceFrame: Option[String] = None, cartesian: Option[Cartesian] = None, cartographicRadians: Option[Array[Double]] = None, cartographicDegrees: Option[Array[Double]] = None, references: Option[Array[String]] = None, interval: Option[String] = None) extends Product with Serializable

    Permalink

    A non-timed/non-interpolatable value position, typically used to define a geometry, such as: Polyline, Wall and Polygon

  34. case class Positions(values: Option[Array[Position]]) extends Product with Serializable

    Permalink

    A property for an array of Position, typically used to define a geometry, such as: Polyline, Wall and Polygon

    A property for an array of Position, typically used to define a geometry, such as: Polyline, Wall and Polygon

    values

    the array of Position

  35. sealed trait RADIAN extends AnyRef

    Permalink

    represents the geographic coordinate radian "type"

  36. case class Rgba(t: Option[TimeValue] = None, r: Int, g: Int, b: Int, a: Int) extends Product with Serializable

    Permalink

    A color specified as an array of color components [Red, Green, Blue, Alpha] where each component is in the range 0-255.

  37. case class RgbaList(values: Seq[Rgba]) extends Product with Serializable

    Permalink

    A list of Rgba colors.

  38. case class Rgbaf(t: Option[TimeValue] = None, r: Float, g: Float, b: Float, a: Float) extends Product with Serializable

    Permalink

    The color specified as an array of color components [Red, Green, Blue, Alpha] where each component is a float in the range 0.0-1.0.

  39. case class RgbafList(values: Seq[Rgbaf]) extends Product with Serializable

    Permalink

    A list of Rgbaf colors.

  40. case class SolidColor(color: Option[ColorProperty] = None) extends Product with Serializable

    Permalink

    Fills the surface with a solid color, which may be translucent.

    Fills the surface with a solid color, which may be translucent.

    color

    the color to fill the surface with

  41. case class StringInterval(interval: Option[String] = None, string: Option[String]) extends Product with Serializable

    Permalink

    describes a string value with a possible time interval for use in Text

  42. case class Stripe(orientation: Option[StripeOrientation] = None, evenColor: Option[ColorProperty] = None, oddColor: Option[ColorProperty] = None, offset: Option[Number] = None, repeat: Option[Number] = None) extends Product with Serializable

    Permalink

    to fill a surface with alternating colors.

    to fill a surface with alternating colors.

    orientation

    "HORIZONTAL" or "VERTICAL"

    evenColor

    the even stripe color

    oddColor

    the odd stripe color

    offset

    The value indicating where in the pattern to begin drawing; with 0.0 being the beginning of the even color, 1.0 the beginning of the odd color, 2.0 being the even color again, and any multiple or fractional values being in between.

    repeat

    The number of time the stripes repeat.

  43. case class StripeOrientation(stripeOrientation: Option[String] = None, reference: Option[String] = None) extends Product with Serializable

    Permalink

    represents the orientation of the stripes, either "HORIZONTAL" or "VERTICAL"

    represents the orientation of the stripes, either "HORIZONTAL" or "VERTICAL"

    stripeOrientation

    "HORIZONTAL" or "VERTICAL"

    reference

    a reference property

  44. case class Style(labelStyle: Option[String] = None, reference: Option[String] = None) extends Product with Serializable

    Permalink

    The style of a label.

    The style of a label.

    labelStyle

    "FILL", "OUTLINE", and "FILL_AND_OUTLINE"

    reference

    A reference property

  45. case class Text(string: Either[String, Array[StringInterval]], reference: Option[String] = None) extends Product with Serializable

    Permalink

    a text property for a Label, can include a "interval"

    a text property for a Label, can include a "interval"

    string

    either a simple string for the text or an array of (interval,string)

    reference

    a reference property

  46. case class TimeInterval(value: String) extends Product with Serializable

    Permalink

    a time interval representation consisting of a start and stop components.

    a time interval representation consisting of a start and stop components.

    With its implicit conversion, you can use TimeInterval methods on appropriate Strings, e.g.

    "2012-08-04T16:00:00Z/2012-08-04T18:00:00Z".start will return "2012-08-04T16:00:00Z"

    "2012-08-04T16:00:00Z/2012-08-04T18:00:00Z".startLocalDateTime will return 2012-08-04T16:00

    value

    the full time interval as a string

  47. case class TimeValue(value: Either[String, Double]) extends Product with Serializable

    Permalink

    representing time as a String or a Double

    representing time as a String or a Double

    value

    the time value

  48. case class TimedDouble(t: Option[String] = None, v: Double) extends Product with Serializable

    Permalink

    a time and double value pair

    a time and double value pair

    t

    the time component

    v

    the value component

  49. case class TimedNumbers(values: Seq[TimedDouble]) extends Product with Serializable

    Permalink

    represents a sequence of TimedDouble objects or a single instance of TimedDouble.

    represents a sequence of TimedDouble objects or a single instance of TimedDouble.

    values

    a sequence of TimedDouble objects.

  50. sealed trait VERTICAL extends AnyRef

    Permalink

    represents the vertical origin "type"

  51. case class Velocity(t: Option[TimeValue] = None, x: Double, y: Double, z: Double, vx: Double, vy: Double, vz: Double) extends Product with Serializable

    Permalink

    A timed velocity element.

  52. case class WsenDegrees(wsenDegrees: Array[Double]) extends Product with Serializable

    Permalink

    an array of west south, east north degrees coordinates for a rectangle

Value Members

  1. object BooleanInterval extends Serializable

    Permalink
  2. object Cartesian extends Serializable

    Permalink
  3. object Cartesian2D extends Serializable

    Permalink
  4. object CartesianVelocity extends Serializable

    Permalink
  5. object Cartographic extends Serializable

    Permalink
  6. object ColorProperty extends Serializable

    Permalink
  7. object Coordinate extends Serializable

    Permalink
  8. object Coordinate2D extends Serializable

    Permalink
  9. object CzmlBoolean extends Serializable

    Permalink
  10. object CzmlCartesian2 extends Serializable

    Permalink
  11. object CzmlColor extends Serializable

    Permalink
  12. object CzmlNumber extends Serializable

    Permalink
  13. object CzmlPosition extends Serializable

    Permalink
  14. object Description extends Serializable

    Permalink
  15. object Directions extends Serializable

    Permalink
  16. object Font extends Serializable

    Permalink
  17. object Grid extends Serializable

    Permalink
  18. object Image extends Serializable

    Permalink
  19. object ImageUri extends Serializable

    Permalink
  20. object Interpolatable extends Serializable

    Permalink
  21. object LineMaterial extends Serializable

    Permalink
  22. object LngLatAlt extends Serializable

    Permalink
  23. object Material extends Serializable

    Permalink
  24. object NodeTransformation extends Serializable

    Permalink
  25. object NodeTransformations extends Serializable

    Permalink
  26. object Number extends Serializable

    Permalink
  27. object Origin extends Serializable

    Permalink
  28. object PolylineGlow extends Serializable

    Permalink
  29. object PolylineOutline extends Serializable

    Permalink
  30. object PortionToDisplay extends Serializable

    Permalink
  31. object Position extends Serializable

    Permalink
  32. object Positions extends Serializable

    Permalink
  33. object Rgba extends Serializable

    Permalink
  34. object RgbaList extends Serializable

    Permalink
  35. object Rgbaf extends Serializable

    Permalink
  36. object RgbafList extends Serializable

    Permalink
  37. object SolidColor extends Serializable

    Permalink
  38. object StringInterval extends Serializable

    Permalink
  39. object Stripe extends Serializable

    Permalink
  40. object StripeOrientation extends Serializable

    Permalink
  41. object Style extends Serializable

    Permalink
  42. object Text extends Serializable

    Permalink
  43. object TimeInterval extends Serializable

    Permalink
  44. object TimeValue extends Serializable

    Permalink
  45. object TimedDouble extends Serializable

    Permalink
  46. object TimedNumbers extends Serializable

    Permalink
  47. object Velocity extends Serializable

    Permalink
  48. object WsenDegrees extends Serializable

    Permalink
  49. val logger: Logger

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped