Class Spline

java.lang.Object
skyview.geometry.Sampler
skyview.geometry.sampler.Spline
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Component

public class Spline
extends Sampler
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getName

      public java.lang.String getName()
      Description copied from interface: Component
      Get the name of this component.
    • getDescription

      public java.lang.String getDescription()
      Description copied from interface: Component
      Get the description of this component.
    • setOrder

      public void setOrder​(int order)
      Set the order
      Overrides:
      setOrder in class Sampler
    • setInput

      public void setInput​(Image inImage)
      Construct a sample of a given degree. Probably should override the setImage functions and such since we don't handle 3-D images yet.
      Overrides:
      setInput in class Sampler
    • interpolatedValue

      public double interpolatedValue​(double x, double y)
    • sample

      public void sample​(int pix)
      Description copied from class: Sampler
      Find the value in the input data to put in the output data. The output array defined in a previous setOutput call is updated.
      Specified by:
      sample in class Sampler
      Parameters:
      pix - The index into the output array.