TomoTiling refactoring
This MR splits and restructure the TomoTiling
component:
- The fetching of the information about the tilings is isolated in a
useTomovisTilingInfo
hook. - All the interaction components are handled in
TilingInteraction
(before it was spread betweenTomoTiling
andTiledHeatmapVis
). - There is a new
TilingVis
for the plot of a single "view" (front or side) to spare the duplication of code for both sides. -
TiledHeatmapVis
has been generalized in aLinearVisCanvas
(= empty plot) and the tiling is added to the plot inTilingVis
as all the rest of the plot content. - There is a thin
TilingMesh
around h5web'sTiledHeatmapMesh
to handle the coordinate transforms
There is possibly more restructuring to do:
- The axe synchronisation is done in
TomoTiling
and that would probably better to handle that somewhere else - The tiling info fetching is done in
TomoTiling
but could probably be moved toTilingVis
or even toTilingMesh