public class DirectDrawProjector extends GeneralProjector
Unlike the SpectroramProjector, which maps pixels 1:1, this projector needs the scales of the display since it draws directly onto the AWT component.
SpectrogramProjector
GeneralProjector.ParameterType, GeneralProjector.ParameterUnits
NPARAMETERS
Constructor and Description |
---|
DirectDrawProjector(SpectrogramDisplay spectrogramDisplay,
int panelId) |
Modifier and Type | Method and Description |
---|---|
Coordinate3d |
getCoord3d(double timeMillis,
double freqHz,
double d3)
Function ultimately used by a PamDataBlock to convert it's own data, in
whatever form that is in into screen coordinates.
|
int |
getDisplayHeight() |
int |
getDisplayWidth() |
int |
getPanelId() |
SpectrogramDisplay |
getSpectrogramDisplay() |
addHoverData, addHoverData, clearHoverList, findClosestDataUnitIndex, findClosestDataUnitIndex, getHoveredDataUnit, getHoverText, getMouseHoverAdapter, getParmeterType, getParmeterUnits, isViewer, setParmeterType, setParmeterUnits
public DirectDrawProjector(SpectrogramDisplay spectrogramDisplay, int panelId)
public Coordinate3d getCoord3d(double timeMillis, double freqHz, double d3)
GeneralProjector
getCoord3d
in class GeneralProjector
timeMillis
- d2 and d3 are data representing whatever is appropriate for
the concrete instance of the projector (e.g. Latitude,
Longitude, depth, Time Frequency, etc)public SpectrogramDisplay getSpectrogramDisplay()
public int getDisplayHeight()
public int getDisplayWidth()
public int getPanelId()