- Preparing search index...
- The search index is not available
neuroglancer
Constructors
constructor
- new StateAPI(userUrl: string, stateUrl: string): StateAPI
-
Parameters
-
userUrl: string
-
stateUrl: string
Properties
Private
stateUrl
stateUrl: string
Private
userUrl
userUrl: string
Methods
getState
- getState(stateID: string | number): Promise<State>
-
Returns Promise<State>
getUser
- getUser(): Promise<User>
-
Returns Promise<User>
saveAnnotations
- saveAnnotations(stateId: string | number, layerName: string): Promise<any>
-
Parameters
-
stateId: string | number
-
layerName: string
Returns Promise<any>
saveState
- saveState(stateID: string | number, state: State): Promise<State>
-
Returns Promise<State>
segmentVolume
- segmentVolume(stateID: string | number, volumeId: string): Promise<Segmentation>
-
Parameters
-
stateID: string | number
-
volumeId: string
This class works with the REST API and interfaces with the Neuroglancer state.