Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Surface

Surface

Hierarchy

  • Surface

Index

Constructors

constructor

  • new Surface(name: string, path: string, data: object): Surface

Accessors

type

  • get type(): string

Methods

dispose

  • dispose(): void

fromGeometry

  • fromGeometry(geometry: any): void

getAtomindex

  • getAtomindex(): undefined | Int32Array

getColor

  • getColor(params: any): Float32Array

getFilteredIndex

  • getFilteredIndex(sele: any, structure: any): undefined | Uint16Array | Uint32Array

getIndex

  • getIndex(): undefined | Uint16Array | Uint32Array

getNormal

  • getNormal(): undefined | Float32Array

getPicking

getPosition

  • getPosition(): undefined | Float32Array

getSize

  • getSize(size: any, scale: any): number[] | Uint8Array | Int8Array | Int16Array | Int32Array | Uint16Array | Uint32Array | Float32Array | Uint8ClampedArray | Float64Array
  • Parameters

    • size: any
    • scale: any

    Returns number[] | Uint8Array | Int8Array | Int16Array | Int32Array | Uint16Array | Uint32Array | Float32Array | Uint8ClampedArray | Float64Array

set

  • set(position: Float32Array, index: Int32Array, normal: Float32Array, color: Float32Array, atomindex: Int32Array, contour: boolean): undefined
  • set surface data

    Parameters

    • position: Float32Array

      surface positions

    • index: Int32Array

      surface indices

    • normal: Float32Array

      surface normals

    • color: Float32Array

      surface colors

    • atomindex: Int32Array

      atom indices

    • contour: boolean

      contour mode flag

    Returns undefined

Generated using TypeDoc