Package skyview.geometry.sampler
Class Combo
java.lang.Object
skyview.geometry.Sampler
skyview.geometry.sampler.Combo
- All Implemented Interfaces:
Serializable,Cloneable,Component
This class uses two samplers. The default sampler is
used but whenever a NaN is returned, the backup sampler is tried.
Normally the default sampler will a high order sampler
and the backup sampler will be simpler.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description of this component.getName()Get the name of this component.voidsample(int index) Use the primary unless we get a NaNvoidsetBounds(int[] bounds) Set the bounds of the output image that may be asked for.voidSet the input image for the samplingvoidSet the output image for the samplingvoidsetTransform(Transformer transform) Set the transformation information.
-
Field Details
-
-
backup
-
combo
-
-
Constructor Details
-
Combo
public Combo()
-
-
Method Details
-
getName
Description copied from interface:ComponentGet the name of this component. -
getDescription
Description copied from interface:ComponentGet the description of this component. -
sample
public void sample(int index) Use the primary unless we get a NaN -
setInput
Set the input image for the sampling -
setBounds
public void setBounds(int[] bounds) Set the bounds of the output image that may be asked for. -
setOutput
Set the output image for the sampling -
setTransform
Set the transformation information.- Overrides:
setTransformin classSampler- Parameters:
transform- The transformer object.
-