Skip to main content
Version: 3.x

Class: ExplodedViewTool

@cognite/reveal/tools.ExplodedViewTool

Hierarchy

Constructors

constructor

new ExplodedViewTool(treeIndex, cadModel)

Parameters

NameType
treeIndexnumber
cadModelCognite3DModel

Overrides

Cognite3DViewerToolBase.constructor

Defined in

packages/tools/src/ExplodedViewTool.ts:18

Accessors

readyPromise

get readyPromise(): Promise<void>

Returns

Promise<void>

Defined in

packages/tools/src/ExplodedViewTool.ts:14

Methods

dispose

dispose(): void

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

Returns

void

Inherited from

Cognite3DViewerToolBase.dispose

Defined in

packages/tools/src/Cognite3DViewerToolBase.ts:52


expand

expand(expandRadius): Promise<void>

Parameters

NameType
expandRadiusnumber

Returns

Promise<void>

Defined in

packages/tools/src/ExplodedViewTool.ts:29


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


reset

reset(): void

Returns

void

Defined in

packages/tools/src/ExplodedViewTool.ts:46