Class: abstract NodeCollection
Abstract class for implementing a set of nodes to be styled.
Extended by
CdfNodeCollectionBaseCombineNodeCollectionBaseTreeIndexNodeCollectionAssetNodeCollectionInvertedNodeCollection
Accessors
classToken
getclassToken():string
Returns
string
Defined in
packages/cad-styling/src/NodeCollection.ts:23
isLoading
getabstractisLoading():boolean
Returns
boolean
Defined in
packages/cad-styling/src/NodeCollection.ts:37
Methods
clear()
abstractclear():void
Returns
void
Defined in
packages/cad-styling/src/NodeCollection.ts:45
getAreas()
abstractgetAreas():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()
abstractgetIndexSet():IndexSet
Returns
Defined in
packages/cad-styling/src/NodeCollection.ts:38
off()
off(
event,listener):void
Parameters
• event: "changed"
• listener
Returns
void
Defined in
packages/cad-styling/src/NodeCollection.ts:32
on()
on(
event,listener):void
Parameters
• event: "changed"
• listener
Returns
void
Defined in
packages/cad-styling/src/NodeCollection.ts:27
serialize()
abstractserialize():SerializedNodeCollection