BellFilter
, BoxFilter
, BSplineFilter
, HermiteFilter
, Lanczos3Filter
, MitchellFilter
, TriangleFilter
public abstract class ResampleFilter extends Object
Resample
operation.Modifier and Type | Field | Description |
---|---|---|
private float |
samplingRadius |
Constructor | Description |
---|---|
ResampleFilter() |
This empty constructor sets the sampling radius to the
recommended sampling radius as provided by
getRecommendedSamplingRadius() . |
Modifier and Type | Method | Description |
---|---|---|
abstract float |
apply(float value) |
Returns the weight of the sample at the distance given
by the argument value.
|
abstract String |
getName() |
Return the name of this filter.
|
abstract float |
getRecommendedSamplingRadius() |
Returns a recommendation for the sampling radius to
be used with this filter.
|
float |
getSamplingRadius() |
Returns the sampling radius of this object.
|
void |
setSamplingRadius(float newValue) |
Sets the sampling radius to a new value.
|
public ResampleFilter()
getRecommendedSamplingRadius()
.public abstract float apply(float value)
public abstract String getName()
public abstract float getRecommendedSamplingRadius()
setSamplingRadius(float)
.public float getSamplingRadius()
public void setSamplingRadius(float newValue)
getRecommendedSamplingRadius()
.newValue
- new sampling radius to be used with this object