Package qupath.lib.objects.hierarchy
Interface TMAGrid
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultTMAGrid
Interface defining a (rectangular) TMA grid.
-
Method Summary
Modifier and TypeMethodDescriptionintNumber of cores along the vertical axis of the grid.intNumber 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.intnCores()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:
-