Package group3dlocaliser.grids
Class Grid3D
java.lang.Object
group3dlocaliser.grids.Grid3D
- All Implemented Interfaces:
PamSettings,SettingsNameProvider
- Direct Known Subclasses:
SphericalGrid
3D grid for localisation. These will come in many shapes and sizes,
Rectangular, spherical, cylindrical, etc.
- Author:
- dg50
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PamController.PamSettings
getSettingsReference, getSettingsVersion, restoreSettings
-
Constructor Details
-
Grid3D
- Parameters:
grid3dParams-
-
-
Method Details
-
getGridName
- Returns:
- A descriptive name for the grid.
-
getTotalPoints
public abstract int getTotalPoints()Get the total number of points in the grid.- Returns:
- number of grid points
-
resetGrid
public abstract void resetGrid()Reset the grid so that the next call to getNextPoint will return the first grid point again. -
getNextPoint
Get the next point in the grid. Will return null when it's complete.- Returns:
- next grid point
-
getUnitName
- Specified by:
getUnitNamein interfaceSettingsNameProvider- Returns:
- A Name specific to this instance of the particular class, e.g. Sperm whale detector, Beaked whale detector, etc.
-
getUnitType
- Specified by:
getUnitTypein interfacePamSettings- Returns:
- A Name specific to the type, e.g. Click detector
-