Skip to main content
Version: 3.x

Class: DebugLoadedSectorsTool

@cognite/reveal/tools.DebugLoadedSectorsTool

Hierarchy

Constructors

constructor

new DebugLoadedSectorsTool(viewer, options?)

Parameters

NameType
viewerCognite3DViewer
optionsDebugLoadedSectorsToolOptions

Overrides

Cognite3DViewerToolBase.constructor

Defined in

packages/tools/src/DebugLoadedSectorsTool.ts:28

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/DebugLoadedSectorsTool.ts:48


off

off(event, handler): void

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

Parameters

NameType
event"disposed"
handler() => void

Returns

void

Inherited from

Cognite3DViewerToolBase.off

Defined in

packages/tools/src/Cognite3DViewerToolBase.ts:37


setOptions

setOptions(options): void

Parameters

NameType
optionsDebugLoadedSectorsToolOptions

Returns

void

Defined in

packages/tools/src/DebugLoadedSectorsTool.ts:36


showSectorBoundingBoxes

showSectorBoundingBoxes(model): void

Parameters

NameType
modelCognite3DModel

Returns

void

Defined in

packages/tools/src/DebugLoadedSectorsTool.ts:52