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
CdfNodeCollectionBase
CombineNodeCollectionBase
TreeIndexNodeCollection
AssetNodeCollection
InvertedNodeCollection
Accessors
classToken
Get Signature
get classToken():
string
Defined in: packages/cad-styling/src/NodeCollection.ts:23
Returns
string
isLoading
Get Signature
get
abstract
isLoading():boolean
Defined in: packages/cad-styling/src/NodeCollection.ts:37
Returns
boolean
Methods
clear()
abstract
clear():void
Defined in: packages/cad-styling/src/NodeCollection.ts:45
Returns
void
getAreas()
abstract
getAreas():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()
abstract
getIndexSet():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()
abstract
serialize():SerializedNodeCollection
Defined in: packages/cad-styling/src/NodeCollection.ts:46