Abstract Class: CdfNodeCollectionBase
Defined in: packages/cad-styling/src/CdfNodeCollectionBase.ts:13
Abstract class for implementing a set of nodes to be styled.
Extends
Extended by
Constructors
Constructor
new CdfNodeCollectionBase(
classToken
,model
):CdfNodeCollectionBase
Defined in: packages/cad-styling/src/CdfNodeCollectionBase.ts:20
Parameters
classToken
string
model
CdfModelNodeCollectionDataProvider
Returns
CdfNodeCollectionBase
Overrides
NodeCollection.constructor
Accessors
classToken
Get Signature
get classToken():
string
Defined in: packages/cad-styling/src/NodeCollection.ts:23
Returns
string
Inherited from
isLoading
Get Signature
get isLoading():
boolean
Defined in: packages/cad-styling/src/CdfNodeCollectionBase.ts:25
Returns
boolean
Overrides
Methods
clear()
clear():
void
Defined in: packages/cad-styling/src/CdfNodeCollectionBase.ts:69
Clears the node collection and interrupts any ongoing operations.
Returns
void
Overrides
getAreas()
getAreas():
AreaCollection
Defined in: packages/cad-styling/src/CdfNodeCollectionBase.ts:81
Returns areas surrounding the nodes in the collection. The areas are boxes in "ThreeJS coordinates". Note that not all implementations supports this.
Returns
Overrides
getIndexSet()
getIndexSet():
IndexSet
Defined in: packages/cad-styling/src/CdfNodeCollectionBase.ts:77
Returns
Overrides
off()
off(
event
,listener
):void
Defined in: packages/cad-styling/src/NodeCollection.ts:32
Parameters
event
"changed"
listener
() => void
Returns
void
Inherited from
on()
on(
event
,listener
):void
Defined in: packages/cad-styling/src/NodeCollection.ts:27
Parameters
event
"changed"
listener
() => void
Returns
void
Inherited from
serialize()
abstract
serialize():SerializedNodeCollection
Defined in: packages/cad-styling/src/NodeCollection.ts:46