Abstract Class: NodeCollection
Defined in: packages/cad-styling/src/NodeCollection.ts:15
Abstract class for implementing a set of nodes to be styled.
Extended by
CdfNodeCollectionBaseCombineNodeCollectionBaseTreeIndexNodeCollectionAssetNodeCollectionInvertedNodeCollection
Accessors
classToken
Get Signature
get classToken():
string
Defined in: packages/cad-styling/src/NodeCollection.ts:23
Returns
string
isLoading
Get Signature
get
abstractisLoading():boolean
Defined in: packages/cad-styling/src/NodeCollection.ts:37
Returns
boolean
Methods
clear()
abstractclear():void
Defined in: packages/cad-styling/src/NodeCollection.ts:45
Returns
void
getAreas()
abstractgetAreas():AreaCollection
Defined in: packages/cad-styling/src/NodeCollection.ts:44
Returns areas surrounding the nodes in the collection. The areas are boxes in "ThreeJS coordinates". Note that not all implementations supports this.
Returns
getIndexSet()
abstractgetIndexSet():IndexSet
Defined in: packages/cad-styling/src/NodeCollection.ts:38
Returns
off()
off(
event,listener):void
Defined in: packages/cad-styling/src/NodeCollection.ts:32
Parameters
event
"changed"
listener
() => void
Returns
void
on()
on(
event,listener):void
Defined in: packages/cad-styling/src/NodeCollection.ts:27
Parameters
event
"changed"
listener
() => void
Returns
void
serialize()
abstractserialize():SerializedNodeCollection
Defined in: packages/cad-styling/src/NodeCollection.ts:46