Package detectionPlotFX.plots
Class RawFFTPlot.FreqTimeProjector
java.lang.Object
PamView.GeneralProjector<PamCoordinate>
dataPlotsFX.projector.TimeProjectorFX
detectionPlotFX.plots.RawFFTPlot.FreqTimeProjector
- Enclosing class:
RawFFTPlot<D extends PamDataUnit>
Simple wrapper class for to make the DetectionPlotProjector into a TimeProjectorFX. This is
because the spectrogram needs a time projector.
- Author:
- Jamie Macaulay
-
Nested Class Summary
Nested classes/interfaces inherited from class PamView.GeneralProjector
GeneralProjector.ParameterType, GeneralProjector.ParameterUnits
-
Field Summary
Fields inherited from class PamView.GeneralProjector
NPARAMETERS
-
Constructor Summary
ConstructorDescriptionFreqTimeProjector
(DetectionPlotProjector projector) Constructor for the freq time projector. -
Method Summary
Modifier and TypeMethodDescriptiongetCoord3d
(double d1, double d2, double d3) Function ultimately used by a PamDataBlock to convert it's own data, in whatever form that is in into screen coordinates.getCoord3d
(PamCoordinate dataObject) Same as getCoordinate3d but using the generic typegetDataPosition
(PamCoordinate screenPosition) Do the exact opposite of getCoord3d and turn a screen position back into a data coordinate (e.g.Get the time axisMethods inherited from class dataPlotsFX.projector.TimeProjectorFX
getGraphTimePixels, getTimePix, getVisibleTime, setTimeAxis
Methods inherited from class PamView.GeneralProjector
addHoverData, addHoverData, addHoverData, addHoverData, addHoverData, addHoverData, clearHoverList, findClosestDataUnitIndex, findClosestDataUnitIndex, getDataSelector, getHoverDataList, getHoverDataSynchroniser, getHoveredDataUnit, getHoverText, getHoverText, getMouseHoverAdapter, getPamSymbolChooser, getParameterTypes, getParameterUnits, getParmeterType, getParmeterUnits, getProjectorDrawingOptions, isViewer, setDataSelector, setPamSymbolChooser, setParmeterType, setParmeterUnits, setProjectorDrawingOptions
-
Constructor Details
-
FreqTimeProjector
Constructor for the freq time projector.
-
-
Method Details
-
getTimeAxis
Description copied from class:TimeProjectorFX
Get the time axis- Overrides:
getTimeAxis
in classTimeProjectorFX
-
getCoord3d
Description copied from class:GeneralProjector
Function ultimately used by a PamDataBlock to convert it's own data, in whatever form that is in into screen coordinates.- Specified by:
getCoord3d
in classGeneralProjector<PamCoordinate>
- Parameters:
d1
- d2 and d3 are data representing whatever is appropriate for the concrete instance of the projector (e.g. Latitude, Longitude, depth, Time Frequency, etc)- Returns:
- A 3 dimensional coordinate (realistically z is never currently used)
-
getCoord3d
Description copied from class:GeneralProjector
Same as getCoordinate3d but using the generic type- Specified by:
getCoord3d
in classGeneralProjector<PamCoordinate>
- Parameters:
dataObject
- object extending PamCoordinate- Returns:
- 3d coordinate.
-
getDataPosition
Description copied from class:GeneralProjector
Do the exact opposite of getCoord3d and turn a screen position back into a data coordinate (e.g. a time / freq, a lat long, etc)/.- Specified by:
getDataPosition
in classGeneralProjector<PamCoordinate>
- Parameters:
screenPosition
- screen position- Returns:
- data object.
-