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