Skip to main content
Version: 4.x

Class: AxisViewTool

Base class for tools attaching to a Cognite3DViewer.

Extends

Constructors

new AxisViewTool()

new AxisViewTool(viewer, config?): AxisViewTool

Parameters

viewer: Cognite3DViewer

config?: AxisBoxConfig

Returns

AxisViewTool

Overrides

Cognite3DViewerToolBase . constructor

Defined in

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

Methods

dispose()

dispose(): void

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

Returns

void

Overrides

Cognite3DViewerToolBase . dispose

Defined in

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


off()

off(event, handler): void

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

Parameters

event: "disposed"

handler

Returns

void

Inherited from

Cognite3DViewerToolBase . off

Defined in

packages/tools/src/Cognite3DViewerToolBase.ts:38