Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AtomindexColormaker

Color by atom index. The AtomProxy.index property is used for coloring. Each ModelProxy of a Structure is colored seperately. The params.domain parameter is ignored.

Name: atomindex

example

stage.loadFile( "rcsb://1crn" ).then( function( o ){ o.addRepresentation( "ball+stick", { colorScheme: "atomindex" } ); o.autoView(); } );

Hierarchy

Index

Constructors

constructor

Properties

Optional atomProxy

atomProxy: AtomProxy

parameters

scalePerModel

scalePerModel: {}

Type declaration

Methods

atomColor

atomColorToArray

bondColor

  • bondColor(bond: BondProxy, fromTo: boolean): number

bondColorToArray

colorToArray

generateColors

getScale

Optional monomerBondColor

monomerBondColorToArray

Optional monomerColor

monomerColorToArray

Optional positionColor

  • positionColor(position: Vector3): number

positionColorToArray

Optional volumeColor

  • volumeColor(index: number): number

volumeColorToArray

Generated using TypeDoc