org.jmol.viewer
Class ColorManager
class
ColorManager
extends Object
private int[] altArgbsCpk
private int[] argbsCpk
short colixBackgroundContrast
short colixRubberband
private float[] colorData
private float colorHi
private float colorLo
private boolean isDefaultColorRasmol
private int palette
void clear()
private static void flushCaches()
static int getAmbientPercent()
short getColixAtomPalette(
Atom atom, byte pid)
short getColixForPropertyValue(float val)
int[] getColorSchemeArray(String colorScheme)
String getColorSchemeList(String colorScheme, boolean ifDefault)
float[] getCurrentColorRange()
boolean getDefaultColorRasmol()
static int getDiffusePercent()
private static int getJmolOrRasmolArgb(int id, int argb)
private short getPropertyColix(int iAtom)
static boolean getSpecular()
static int getSpecularPercent()
static String getState(StringBuffer sfunc)
void resetElementColors()
static void setAmbientPercent(int ambientPercent)
void setColixBackgroundContrast(int argb)
int setColorScheme(String colorScheme, boolean isOverloaded)
void setCurrentColorRange(float[] data, BitSet bs, String colorScheme)
void setCurrentColorRange(float min, float max)
void setDefaultColors(String colorScheme)
static void setDiffusePercent(int diffusePercent)
void setElementArgb(int id, int argb)
void setRubberbandArgb(int argb)
static void setSpecular(boolean specular)
static void setSpecularPercent(int specularPercent)
static void setSpecularPower(int specularPower)
static void setUserScale(int[] scale)