Package detectionPlotFX.clickTrainDDPlot
Class WaterfallSpecPlot<D extends DetectionGroupDataUnit>
java.lang.Object
detectionPlotFX.plots.FFTPlot<D>
detectionPlotFX.plots.RawFFTPlot<D>
detectionPlotFX.clickTrainDDPlot.WaterfallSpecPlot<D>
- Type Parameters:
 D- - the super detection type
- All Implemented Interfaces:
 DetectionPlot<D>
Waterfall spectrogram plot for super detections detections which have sub detections
 that can provide FFT data.
- Author:
 - Jamie Macaulay
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class detectionPlotFX.plots.RawFFTPlot
RawFFTPlot.FreqTimeProjector, RawFFTPlot.SimpleFFTDataBlock, RawFFTPlot.SimpleFFTDataUnit - 
Field Summary
Fields inherited from class detectionPlotFX.plots.RawFFTPlot
lastData, reloadImage, reloadRaw, simpleFFTBlock, thFields inherited from class detectionPlotFX.plots.FFTPlot
detectionPlotDisplay, fftParams, spectrogramColours, timeFreqProjectorFields inherited from interface detectionPlotFX.layout.DetectionPlot
SCROLLPANE_DRAW, STANDARD_DRAW - 
Constructor Summary
ConstructorsConstructorDescriptionWaterfallSpecPlot(DetectionPlotDisplay displayPlot, DetectionPlotProjector projector)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected FFTSettingsPaneCreate the FFT settings pane.getFFTdata(PamDataUnit dataUnit, int fftLen, int channel) Get the FFT data for a data unit.voidpaintDetections(D detection, javafx.scene.canvas.GraphicsContext graphicsContext, javafx.scene.shape.Rectangle windowRect, DetectionPlotProjector projector) Paint the detection over the FFT.voidpaintPlot(D ctDataUnit, javafx.scene.canvas.GraphicsContext graphicsContext, javafx.scene.shape.Rectangle rectangle, DetectionPlotProjector projector, int flag) Plot the relevent data from a detection.protected voidpaintSpecImage(javafx.scene.canvas.GraphicsContext graphicsContext, javafx.scene.shape.Rectangle windowRect, DetectionPlotProjector projector) Paint the image.voidsetupAxis(D pamDetection, double sR, DetectionPlotProjector projector) Setup the axis.Methods inherited from class detectionPlotFX.plots.RawFFTPlot
checkSettingsChange, getFFTDataBlock, getName, getProjector, getRawDataOrder, getScrollStart, getSpectrogram, getSpectrogram, loadDataUnitImage, loadRawData, reDrawLastUnit, repaintSpectrogram, setFFTParams, setRawDataOrder, settingsChanged, setUpTimeAxisMethods inherited from class detectionPlotFX.plots.FFTPlot
createPlotParams, drawClipSpectrogram, enableTimeSpinner, getFFTParams, getSettingsPane, isUseKHz, setupFreqAxis, setupPlot 
- 
Constructor Details
- 
WaterfallSpecPlot
 
 - 
 - 
Method Details
- 
paintPlot
public void paintPlot(D ctDataUnit, javafx.scene.canvas.GraphicsContext graphicsContext, javafx.scene.shape.Rectangle rectangle, DetectionPlotProjector projector, int flag) Description copied from interface:DetectionPlotPlot the relevent data from a detection.- Specified by:
 paintPlotin interfaceDetectionPlot<D extends DetectionGroupDataUnit>- Overrides:
 paintPlotin classRawFFTPlot<D extends DetectionGroupDataUnit>- Parameters:
 ctDataUnit- - the data of every channel. e.g. might be a waveform with each point representing a sample.graphicsContext- - the graphics handle to draw on.
 - 
paintSpecImage
protected void paintSpecImage(javafx.scene.canvas.GraphicsContext graphicsContext, javafx.scene.shape.Rectangle windowRect, DetectionPlotProjector projector) Description copied from class:RawFFTPlotPaint the image.- Overrides:
 paintSpecImagein classRawFFTPlot<D extends DetectionGroupDataUnit>- Parameters:
 graphicsContext- - the graphicsContext
 - 
setupAxis
Description copied from interface:DetectionPlotSetup the axis. This is called before paintPlot. Ensures axis are correct values- Specified by:
 setupAxisin interfaceDetectionPlot<D extends DetectionGroupDataUnit>- Overrides:
 setupAxisin classRawFFTPlot<D extends DetectionGroupDataUnit>- Parameters:
 pamDetection- - the data of every channel. e.g. might be a waveform with each point representing a sample.sR- - the sample rate. Primarily used to convert bins into time values.
 - 
createSettingsPane
Description copied from class:FFTPlotCreate the FFT settings pane.- Overrides:
 createSettingsPanein classFFTPlot<D extends DetectionGroupDataUnit>- Returns:
 - the FFT settings pane.
 
 - 
getFFTdata
Get the FFT data for a data unit.- Parameters:
 dataUnit- - the data unit to extract FFT data fromfftLen- - the desired fft length.
 - 
paintDetections
public void paintDetections(D detection, javafx.scene.canvas.GraphicsContext graphicsContext, javafx.scene.shape.Rectangle windowRect, DetectionPlotProjector projector) Description copied from class:RawFFTPlotPaint the detection over the FFT.- Specified by:
 paintDetectionsin classRawFFTPlot<D extends DetectionGroupDataUnit>- Parameters:
 graphicsContext- - the graphics handlewindowRect- - the window rectangle in pixels
 
 -