Class: abstract
CdfNodeCollectionBase
Abstract class for implementing a set of nodes to be styled.
Extends
Extended by
Constructors
new CdfNodeCollectionBase()
new CdfNodeCollectionBase(
classToken
,model
):CdfNodeCollectionBase
Parameters
• classToken: string
• model: CdfModelNodeCollectionDataProvider
Returns
Overrides
NodeCollection.constructor
Defined in
packages/cad-styling/src/CdfNodeCollectionBase.ts:20
Accessors
classToken
Get Signature
get classToken():
string
Returns
string
Inherited from
Defined in
packages/cad-styling/src/NodeCollection.ts:23
isLoading
Get Signature
get isLoading():
boolean
Returns
boolean
Overrides
Defined in
packages/cad-styling/src/CdfNodeCollectionBase.ts:25
Methods
clear()
clear():
void
Clears the node collection and interrupts any ongoing operations.
Returns
void
Overrides
Defined in
packages/cad-styling/src/CdfNodeCollectionBase.ts:69
getAreas()
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
Overrides
Defined in
packages/cad-styling/src/CdfNodeCollectionBase.ts:81
getIndexSet()
getIndexSet():
IndexSet
Returns
Overrides
Defined in
packages/cad-styling/src/CdfNodeCollectionBase.ts:77
off()
off(
event
,listener
):void
Parameters
• event: "changed"
• listener
Returns
void
Inherited from
Defined in
packages/cad-styling/src/NodeCollection.ts:32
on()
on(
event
,listener
):void
Parameters
• event: "changed"
• listener
Returns
void
Inherited from
Defined in
packages/cad-styling/src/NodeCollection.ts:27
serialize()
abstract
serialize():SerializedNodeCollection