Skip to main content
Version: Next

Class: AxisViewTool

Defined in: packages/tools/src/AxisView/AxisViewTool.ts:20

Base class for tools attaching to a Cognite3DViewer.

Extends

Constructors

Constructor

new AxisViewTool(viewer, config?): AxisViewTool

Defined in: packages/tools/src/AxisView/AxisViewTool.ts:39

Parameters

viewer

Cognite3DViewer

config?

AxisBoxConfig

Returns

AxisViewTool

Overrides

Cognite3DViewerToolBase.constructor

Methods

dispose()

dispose(): void

Defined in: packages/tools/src/AxisView/AxisViewTool.ts:63

Disposes the element and triggeres the 'disposed' event before clearing the list of dipose-listeners.

Returns

void

Overrides

Cognite3DViewerToolBase.dispose


off()

off(event, handler): void

Defined in: packages/tools/src/Cognite3DViewerToolBase.ts:38

Unregisters an event handler for the 'disposed'-event.

Parameters

event

"disposed"

handler

() => void

Returns

void

Inherited from

Cognite3DViewerToolBase.off