import LabelRepresentation from 'ngl/src/representation/label-representation.js'
LabelRepresentation
Extends:
Label representation
Constructor Summary
Public Constructor | ||
public |
constructor(structure: Structure, viewer: Viewer, params: LabelRepresentationParameters) Create Label representation object |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
|
|
public |
init() |
|
public |
|
Inherited Summary
From class Representation | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
Counter that keeps track of tasks related to the creation of the representation, including surface calculations. |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
private |
|
|
private |
|
|
public |
attach() |
|
public |
build() |
|
public |
clear() |
|
public |
create() |
|
public |
dispose() |
|
public |
|
|
public |
|
|
public |
|
|
public |
init() |
|
public |
make() |
|
public |
setColor() |
|
public |
setParameters(params: RepresentationParameters, what: Object, rebuild: Boolean): Representation Set the visibility of the representation |
|
public |
setVisibility(value: Boolean, noRenderRequest: Boolean): Representation Set the visibility of the representation |
|
public |
update() |
|
public |
|
From class StructureRepresentation | ||
public get |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
private |
|
|
private |
|
|
public |
attach() |
|
public |
clear() |
|
public |
create() |
|
public |
|
|
public |
dispose() |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
init() |
|
public |
setParameters(params: StructureRepresentationParameters, what: Object, rebuild: Boolean): StructureRepresentation Set representation parameters |
|
public |
setSelection(string: String, silent: Boolean): StructureRepresentation Set representation parameters |
|
public |
update() |
|
public |
|
Public Constructors
public constructor(structure: Structure, viewer: Viewer, params: LabelRepresentationParameters) source
Create Label representation object
Override:
StructureRepresentation#constructorParams:
Name | Type | Attribute | Description |
structure | Structure | the structure to be represented |
|
viewer | Viewer | a viewer object |
|
params | LabelRepresentationParameters | label representation parameters |