
public class ModulusFilter extends AbstractFilter
| Modifier and Type | Field and Description |
|---|---|
(package private) float |
modulus |
(package private) float[] |
sample |
private float[] |
zeroValue |
sampleSize, source| Constructor and Description |
|---|
ModulusFilter(SampleProvider source,
float[] zeroValue,
float modulus) |
| Modifier and Type | Method and Description |
|---|---|
void |
fetchSample(float[] sample,
int offset)
Fetches a sample from a sensors or filter.
|
sampleSizepublic ModulusFilter(SampleProvider source, float[] zeroValue, float modulus)
public void fetchSample(float[] sample,
int offset)
SampleProviderfetchSample in interface SampleProviderfetchSample in class AbstractFiltersample - The array to store the sample in.offset - The elements of the sample are stored in the array starting at the offset position.