This class takes care of the buttons and inputs used by the user to load a specific Neuroglancer state.

Hierarchy

Constructors

Properties

disposedStacks: any
element: HTMLDivElement = ...
newButton: HTMLElement
refCount: number = 1
resetButton: HTMLElement
saveButton: HTMLElement
stateAPI: StateAPI
stateID: number
user: User
viewer: Viewer
wasDisposed: undefined | boolean

Methods

  • This is used when the user clicks the 'Save Annotations' button.

    Returns

    Nothing if there is an error.

    Parameters

    • layerName: string

      The name of the layer the user is saving.

    Returns void

  • This method is used for the segmentation volume. It calls the saveState method after preparing the segment volume for saving.

    Returns

    Nothing if there is no comments.

    Parameters

    • volumeId: string

      ID of the volume

    • successCallback: ((_: Segmentation) => void)

      method to determine if the method was successful.

    Returns void

Generated using TypeDoc