public interface SLAlgorithmModel
Modifier and Type | Method and Description |
---|---|
SLPanel |
getDisplayPanel()
A panel which shows results, chi distributions etc.
|
javax.media.j3d.Appearance |
getHighlightAppearance()
If the symbol is selected it changes appearance to this.
|
java.lang.String |
getName()
Algorithm name
|
javax.media.j3d.Appearance |
getNormalAppearance()
The normal appearance of the 3D localisation symbol.
|
PamSymbol |
getPlotSymbol(int iResult)
Simple 2D symbol for the map and results table
|
javax.media.j3d.TransformGroup |
getPlotSymbol3D(SLResult stat)
The 3D symbol which represents results on the DialogMap3DSL.
|
java.lang.String |
getToolTipText()
Tip for different algorithms - usually brief description.
|
boolean |
hasParameters()
Specifies if the algorithm has a settings dialog
|
boolean |
isIndependent()
Called whenever a localiser will deal itself with multiple time delays.
|
boolean |
isSelected()
Check whether the algorithm is selected
|
boolean |
parametersDialog()
Opens a settings dialog if the 'settings' button on the algorithm panel is selected.
|
java.util.ArrayList<SLResult> |
runModel()
Run model.
|
void |
setHighlightAppearance(LocShape3D locShape)
Set the highlighted appearance of a locShape.Note usually this will just be using getHighlightAppearance() functionality, however more complicated shapes may want to modify this function.
|
void |
setNormalAppearance(LocShape3D locShape)
Set the normal appearance of the locShape.
|
void |
setSelected(boolean selected)
Called whenever an algorithm is selected or deselected.
|
boolean |
stop()
Called to stop algorithm calculations
|
void |
update(int updateType)
Called whenever updates are called in other panels is changed.
|
java.lang.String getName()
java.lang.String getToolTipText()
boolean isSelected()
boolean hasParameters()
boolean parametersDialog()
java.util.ArrayList<SLResult> runModel()
pamDetection- the current detection selected in the control panel. tdSel- the current selected time delay on the map, loclaisationVisualisation and maybe the localisationInformation panels. detectionType- this is an integer flag which is datablock specific and is passed to the AbstractDetectionMatch class-usually specifies which corresponding detections to calculate time delays from. For example, 'detectiontype' in clickDetectionMatch refers to events, classified species and a combination of the two. For whistles this may refer to whistle classification etc- tdSel refers to which time delay to select. Abstractdetectionmatch creates an array of possible time delays for a given detection. Using these three bits of info use the detections subclass of AbstractDetectionMatch to calc time delays and loclaise.
SLPanel getDisplayPanel()
PamSymbol getPlotSymbol(int iResult)
iResult
- javax.media.j3d.TransformGroup getPlotSymbol3D(SLResult stat)
stat
- javax.media.j3d.Appearance getNormalAppearance()
javax.media.j3d.Appearance getHighlightAppearance()
void setSelected(boolean selected)
selected
- void setNormalAppearance(LocShape3D locShape)
locShape
- void setHighlightAppearance(LocShape3D locShape)
locShape
- void update(int updateType)
boolean isIndependent()
boolean stop()