Class: ExplodedViewTool
@cognite/reveal/tools.ExplodedViewTool
Hierarchy
-
↳
ExplodedViewTool
Constructors
constructor
• new ExplodedViewTool(treeIndex
, cadModel
)
Parameters
Name | Type |
---|---|
treeIndex | number |
cadModel | Cognite3DModel |
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
Name | Type |
---|---|
expandRadius | number |
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
Name | Type |
---|---|
event | "disposed" |
handler | () => void |
Returns
void
Inherited from
Defined in
packages/tools/src/Cognite3DViewerToolBase.ts:37
reset
▸ reset(): void
Returns
void