Package qupath.lib.objects.hierarchy
Interface TMAGrid
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultTMAGrid
Interface defining a (rectangular) TMA grid.
- Author:
- Pete Bankhead
-
Method Summary
Modifier and TypeMethodDescriptionint
Number of cores along the vertical axis of the grid.int
Number of cores along the horizontal axis of the grid.getTMACore
(int row, int col) Get the TMACoreObject for a specified grid location.getTMACore
(String coreName) Retrieve a TMA core based upon its name.Get an unmodifiable list of all TMA core objects.int
nCores()
Total number of cores in the TMA grid.
-
Method Details
-
nCores
int nCores()Total number of cores in the TMA grid.- Returns:
-
getGridWidth
int getGridWidth()Number of cores along the horizontal axis of the grid.- Returns:
-
getGridHeight
int getGridHeight()Number of cores along the vertical axis of the grid.- Returns:
-
getTMACore
Retrieve a TMA core based upon its name.The behavior is undefined if multiple cores have the same name.
- Parameters:
coreName
-- Returns:
-
getTMACore
Get the TMACoreObject for a specified grid location.- Parameters:
row
-col
-- Returns:
-
getTMACoreList
List<TMACoreObject> getTMACoreList()Get an unmodifiable list of all TMA core objects.- Returns:
-