Skip to content

LayerPool

Thorben Kroeger edited this page Jul 24, 2011 · 1 revision

All graph operators could register output data with this class, which would act as a global pool of possible layers. These layers are meaningful false-color representation of data, like the probability maps for the individual labels, a segmentation layer, the raw data etc.

The LayerPool can be visualized with the LayerSelectionDialog (formerly OverlaySelectionDialog). As the current implementation of this dialog can show a hierarchical selection, maybe the layer pool needs to allow for the creation of hierarchies among layers as well.

Derives from QAbstractTreeModel.

public API:
  • functions
    • registerLayer(layer, layerGroup=None
    • (unregisterLayer)
    • createLayerGroup(string) we could use a simple path string as we have now
Clone this wiki locally