Constructors
constructor
- new Representation(object: any, viewer: any, params: any): Representation
-
Parameters
-
object: any
-
viewer: any
-
params: any
Methods
attach
- attach(callback: any): void
build
- build(updateWhat: any): void
getBufferParams
- getBufferParams(p: any): any
getColorParams
- getColorParams(p: any): any
getParameters
-
Returns object
-
lazy: any
-
quality: any
-
visible: any
make
- make(updateWhat: any, callback: any): void
-
Parameters
-
updateWhat: any
-
callback: any
Returns void
setColor
- setColor(value: any, p: any): this
setParameters
- setParameters(params: object, what?: object, rebuild?: boolean): Representation
-
Parameters
-
params: object
-
Default value what: object = {}
-
Default value rebuild: boolean = false
this object
setVisibility
- setVisibility(value: boolean, noRenderRequest: boolean): Representation
-
Parameters
-
value: boolean
-
noRenderRequest: boolean
this object
updateParameters
- updateParameters(bufferParams?: object, what: any): void
-
Parameters
-
Default value bufferParams: object = {}
-
what: any
Returns void
Representation object
the object to be represented
a viewer object
representation parameters