NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import DotRepresentation from 'ngl/src/representation/dot-representation.js'
public class | source

DotRepresentation

Extends:

Representation → DotRepresentation

Dot representation

Constructor Summary

Public Constructor
public

Create Dot 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

attach()

public

create()

public

init()

public
public

update()

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
public
public
public
public

init()

public

make()

public
public

Set the visibility of the representation

public

setVisibility(value: Boolean, noRenderRequest: Boolean): Representation

Set the visibility of the representation

public

update()

public

Public Constructors

public constructor(surface: Surface | Volume, viewer: Viewer, params: DotRepresentationParameters) source

Create Dot representation object

Override:

Representation#constructor

Params:

NameTypeAttributeDescription
surface Surface | Volume

the surface or volume to be represented

viewer Viewer

a viewer object

params DotRepresentationParameters

dot representation parameters

Public Members

public alphaTest source

public dotBuffer source

public dotType source

public edgeBleach source

public forceTransparent source

public parameters source

Override:

Representation#parameters

public pointSize source

public radius source

public scale source

public sizeAttenuation source

public sortParticles source

public surface source

public thresholdMax source

public thresholdMin source

public thresholdOut source

public thresholdType source

public type source

Override:

Representation#type

public useTexture source

public volume source

Public Methods

public attach() source

Override:

Representation#attach

public create() source

Override:

Representation#create

public init() source

Override:

Representation#init

public setParameters() source

Set the visibility of the representation

Override:

Representation#setParameters

public update() source

Override:

Representation#update