Package skyview.geometry.sampler
Class Lanczos
- java.lang.Object
-
- skyview.geometry.Sampler
-
- skyview.geometry.sampler.Lanczos
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,Component
public class Lanczos extends Sampler
This class implements a nearest neighbor sampling scheme.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Lanczos()Create a three lobe lanczos sampler as a default width.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Get the description of this component.java.lang.StringgetName()Get the name of this component.voidsample(int pix)Sample a single pixelvoidsetOrder(int n)Create a Lanczos sample of specified width sampler The data will be set later.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:ComponentGet the name of this component.
-
getDescription
public java.lang.String getDescription()
Description copied from interface:ComponentGet the description of this component.
-
setOrder
public void setOrder(int n)
Create a Lanczos sample of specified width sampler The data will be set later.
-
-