Class: NodeCollection
@cognite/reveal.NodeCollection
Abstract class for implementing a set of nodes to be styled.
Hierarchy
-
NodeCollection
↳
PropertyFilterNodeCollection
Accessors
classToken
• get
classToken(): string
Returns
string
Defined in
packages/cad-styling/src/NodeCollection.ts:23
isLoading
• Abstract
get
isLoading(): boolean
Returns
boolean
Defined in
packages/cad-styling/src/NodeCollection.ts:37
Methods
clear
▸ Abstract
clear(): void
Returns
void
Defined in
packages/cad-styling/src/NodeCollection.ts:45
getAreas
▸ Abstract
getAreas(): AreaCollection
Returns areas surrounding the nodes in the collection. The areas are boxes in "ThreeJS coordinates". Note that not all implementations supports this.
Returns
Defined in
packages/cad-styling/src/NodeCollection.ts:44
getIndexSet
▸ Abstract
getIndexSet(): IndexSet
Returns
Defined in
packages/cad-styling/src/NodeCollection.ts:38
off
▸ off(event
, listener
): void
Parameters
Name | Type |
---|---|
event | "changed" |
listener | () => void |
Returns
void
Defined in
packages/cad-styling/src/NodeCollection.ts:32
on
▸ on(event
, listener
): void
Parameters
Name | Type |
---|---|
event | "changed" |
listener | () => void |
Returns
void
Defined in
packages/cad-styling/src/NodeCollection.ts:27
serialize
▸ Abstract
serialize(): SerializedNodeCollection