cct.j3d
Class ChemicalElementsColors

java.lang.Object
  extended by cct.modelling.ChemicalElements
      extended by cct.j3d.ChemicalElementsColors

public class ChemicalElementsColors
extends ChemicalElements

Title:

Description:

Copyright: Copyright (c) 2004

Company: ANU


Field Summary
(package private) static java.lang.String ATOM_COLOR_SCHEME_2
           
(package private) static java.lang.String ATOM_COLOR_SCHEME_JMOL
           
(package private) static java.lang.String ATOM_COLOR_SCHEME_RASMOL
           
(package private) static java.lang.String ATOM_COLOR_SCHEME_RASMOL_NEW
           
(package private) static java.util.TreeMap atomColours
           
(package private) static java.util.LinkedHashMap colorScheme
           
(package private) static java.lang.String DEFAULT_ATOM_COLOR_SCHEME
           
(package private) static java.util.ArrayList elementColors
           
(package private) static java.util.ArrayList elementMaterial
           
(package private) static java.util.ArrayList gaussianElementColors
           
(package private) static javax.vecmath.Color3f highlightColor
           
(package private) static javax.media.j3d.Material highlightMaterial
           
(package private) static java.util.ArrayList jmolElementColors
           
(package private) static java.util.ArrayList rasmolElementColors
           
(package private) static java.util.ArrayList rasmolNewElementColors
           
 
Constructor Summary
ChemicalElementsColors()
           
 
Method Summary
static javax.media.j3d.Material createMaterial(javax.vecmath.Color3f color)
           
static java.lang.String[] getAtomColorSchemeNames()
           
static int getAtomColorSchemeNumber()
          Returns number of available atom color schemes
static java.lang.String getCurrentAtomColorScheme()
           
static javax.vecmath.Color3f getElementColor(int atomNumber)
           
static javax.media.j3d.Material getElementMaterial(int atomNumber)
           
static javax.vecmath.Color3f getHighlightColor3f()
           
static javax.media.j3d.Material getHighlightMaterial()
           
static void retrieveAtomColorSchemePrefs(java.lang.Class c)
           
static void saveAtomColorSchemePrefs(java.lang.Class c)
           
static void setCurrentAtomColorScheme(java.lang.String scheme)
           
 
Methods inherited from class cct.modelling.ChemicalElements
checkAtomicSymbol, getAllElements, getAtomicNumber, getAtomicWeight, getAtomicWeight, getCovalentRadius, getCovalentRadius, getElementName, getElementSymbol, getNumberOfElements, getUFFDistance, getUFFWellDepth, getVanDerWaalsRadius, getVanDerWaalsRadius, getVDWWellDepth, guessCovalentBondLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ATOM_COLOR_SCHEME

static final java.lang.String DEFAULT_ATOM_COLOR_SCHEME
See Also:
Constant Field Values

ATOM_COLOR_SCHEME_2

static final java.lang.String ATOM_COLOR_SCHEME_2
See Also:
Constant Field Values

ATOM_COLOR_SCHEME_JMOL

static final java.lang.String ATOM_COLOR_SCHEME_JMOL
See Also:
Constant Field Values

ATOM_COLOR_SCHEME_RASMOL

static final java.lang.String ATOM_COLOR_SCHEME_RASMOL
See Also:
Constant Field Values

ATOM_COLOR_SCHEME_RASMOL_NEW

static final java.lang.String ATOM_COLOR_SCHEME_RASMOL_NEW
See Also:
Constant Field Values

atomColours

static java.util.TreeMap atomColours

elementMaterial

static java.util.ArrayList elementMaterial

elementColors

static java.util.ArrayList elementColors

gaussianElementColors

static java.util.ArrayList gaussianElementColors

rasmolElementColors

static java.util.ArrayList rasmolElementColors

rasmolNewElementColors

static java.util.ArrayList rasmolNewElementColors

jmolElementColors

static java.util.ArrayList jmolElementColors

colorScheme

static java.util.LinkedHashMap colorScheme

highlightMaterial

static javax.media.j3d.Material highlightMaterial

highlightColor

static javax.vecmath.Color3f highlightColor
Constructor Detail

ChemicalElementsColors

public ChemicalElementsColors()
Method Detail

getElementColor

public static javax.vecmath.Color3f getElementColor(int atomNumber)

createMaterial

public static javax.media.j3d.Material createMaterial(javax.vecmath.Color3f color)

getElementMaterial

public static javax.media.j3d.Material getElementMaterial(int atomNumber)

getAtomColorSchemeNumber

public static int getAtomColorSchemeNumber()
Returns number of available atom color schemes

Returns:
int

getCurrentAtomColorScheme

public static java.lang.String getCurrentAtomColorScheme()

setCurrentAtomColorScheme

public static void setCurrentAtomColorScheme(java.lang.String scheme)

getAtomColorSchemeNames

public static java.lang.String[] getAtomColorSchemeNames()

retrieveAtomColorSchemePrefs

public static void retrieveAtomColorSchemePrefs(java.lang.Class c)

saveAtomColorSchemePrefs

public static void saveAtomColorSchemePrefs(java.lang.Class c)

getHighlightMaterial

public static javax.media.j3d.Material getHighlightMaterial()

getHighlightColor3f

public static javax.vecmath.Color3f getHighlightColor3f()