Package detectionPlotFX.rawDDPlot
Class RawHolderFFTPlot
- All Implemented Interfaces:
 DetectionPlot<PamDataUnit>
Plots the FFT of stored acoustic data.
- Author:
 - Jamie Macaulay
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class detectionPlotFX.plots.FFTPlot
FFTPlot.SimpleFFTDataUnit - 
Field Summary
Fields inherited from class detectionPlotFX.plots.FFTPlot
detectionPlotDisplay, fftParams, lastData, spectrogramColours, timeFreqProjectorFields inherited from interface detectionPlotFX.layout.DetectionPlot
SCROLLPANE_DRAW, STANDARD_DRAW - 
Constructor Summary
ConstructorsConstructorDescriptionRawHolderFFTPlot(DetectionPlotDisplay displayPlot, DetectionPlotProjector projector)  - 
Method Summary
Modifier and TypeMethodDescriptiondouble[][]getSpectrogram(PamDataUnit pamDetection, int fftLen, int fftHop, int windowType) Get the spectrogram image from the data unit.voidpaintDetections(PamDataUnit detection, javafx.scene.canvas.GraphicsContext graphicsContext, javafx.scene.shape.Rectangle windowRect, DetectionPlotProjector projector) Paint the detection over the FFT.voidpaintPlot(PamDataUnit data, javafx.scene.canvas.GraphicsContext gc, javafx.scene.shape.Rectangle rectangle, DetectionPlotProjector projector, int flag) Plot the relevent data from a detection.Methods inherited from class detectionPlotFX.plots.FFTPlot
createPlotParams, createSettingsPane, drawClipSpectrogram, enableTimeSpinner, getFFTParams, getName, getSettingsPane, isUseKHz, reDrawLastUnit, setFFTParams, settingsChanged, setupAxis, setupFreqAxis, setupPlot, setUpTimeAxis 
- 
Constructor Details
- 
RawHolderFFTPlot
 
 - 
 - 
Method Details
- 
paintDetections
public void paintDetections(PamDataUnit detection, javafx.scene.canvas.GraphicsContext graphicsContext, javafx.scene.shape.Rectangle windowRect, DetectionPlotProjector projector) Description copied from class:FFTPlotPaint the detection over the FFT.- Specified by:
 paintDetectionsin classFFTPlot<PamDataUnit>- Parameters:
 graphicsContext- - the graphics handlewindowRect- - the window rectangle in pixels
 - 
getSpectrogram
Description copied from class:FFTPlotGet the spectrogram image from the data unit.- Specified by:
 getSpectrogramin classFFTPlot<PamDataUnit>- Parameters:
 pamDetection- - the spectrogram image.- Returns:
 - the spectrogram image.
 
 - 
paintPlot
public void paintPlot(PamDataUnit data, javafx.scene.canvas.GraphicsContext gc, javafx.scene.shape.Rectangle rectangle, DetectionPlotProjector projector, int flag) Description copied from interface:DetectionPlotPlot the relevent data from a detection.- Specified by:
 paintPlotin interfaceDetectionPlot<PamDataUnit>- Overrides:
 paintPlotin classFFTPlot<PamDataUnit>- Parameters:
 data- - the data of every channel. e.g. might be a waveform with each point representing a sample.gc- - the graphics handle to draw on.
 
 -