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.void
sample
(int index) Use the primary unless we get a NaNvoid
setBounds
(int[] bounds) Set the bounds of the output image that may be asked for.void
Set the input image for the samplingvoid
Set the output image for the samplingvoid
setTransform
(Transformer transform) Set the transformation information.
-
Field Details
-
-
backup
-
combo
-
-
Constructor Details
-
Combo
public Combo()
-
-
Method Details
-
getName
Description copied from interface:Component
Get the name of this component. -
getDescription
Description copied from interface:Component
Get 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:
setTransform
in classSampler
- Parameters:
transform
- The transformer object.
-