annotations.ts
module in neuroglancer/ui
directory supports multiple operations for annotations across neuroglancer for drawing UI elements. Currently neuroglancer supports the below annotations:annotations.ts
module supports the below common functionality for all annotations:Tool
class, each annotation has a separate tool class which inherits the base class Tool
. For eg: PlacePolygonTool
is the class used to draw polygons.AnnotationLayerView
is used to implement this.PolygonToolMode
which takes values: DRAW
, EDIT
and VIEW
indicating different modes in which the tool operates.Generated using TypeDoc