Package clickDetector
Class BTProjector
java.lang.Object
PamView.GeneralProjector
clickDetector.BTProjector
-
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
-
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.getParmeterType
(int iDim) Returns the parameter type for a specific data type required by Coordinate3dgetParmeterUnits
(int iDim) Returns the prameter unit for a specific data type required by Coordinate3dMethods inherited from class PamView.GeneralProjector
addHoverData, addHoverData, addHoverData, addHoverData, addHoverData, addHoverData, clearHoverList, findClosestDataUnitIndex, findClosestDataUnitIndex, getDataSelector, getHoverDataList, getHoverDataSynchroniser, getHoveredDataUnit, getHoverText, getHoverText, getMouseHoverAdapter, getPamSymbolChooser, getProjectorDrawingOptions, isViewer, setDataSelector, setPamSymbolChooser, setParmeterType, setParmeterUnits, setProjectorDrawingOptions
-
Constructor Details
-
BTProjector
- Parameters:
btDisplay
-
-
-
Method Details
-
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
- 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
- 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
- Parameters:
screenPosition
- screen position- Returns:
- data object.
-
getParmeterType
Description copied from class:GeneralProjector
Returns the parameter type for a specific data type required by Coordinate3d- Overrides:
getParmeterType
in classGeneralProjector
- Parameters:
iDim
- Dimension number (0 - 2)- Returns:
- enum ParameterType
-
getParameterTypes
- Overrides:
getParameterTypes
in classGeneralProjector
- Returns:
- the full list of parameter types.
-
getParmeterUnits
Description copied from class:GeneralProjector
Returns the prameter unit for a specific data type required by Coordinate3d- Overrides:
getParmeterUnits
in classGeneralProjector
- Parameters:
iDim
- Dimension number (0 - 2)- Returns:
- enum ParameterUnit
-
getParameterUnits
- Overrides:
getParameterUnits
in classGeneralProjector
- Returns:
- full list of parameter units.
-