org.jscience.chemistry.gui.extended.graphics3d
Class RenderTable

java.lang.Object
  extended by org.jscience.chemistry.gui.extended.graphics3d.RenderTable

public class RenderTable
extends java.lang.Object

DOCUMENT ME!


Field Summary
static float BALL_RADIUS
          The Radius of the balls int ball and stick mode
static float STICK_RADIUS
          The Radius of the sticks
 
Method Summary
 java.awt.Color getColor(Atom a)
          Get the (awt)color for atom a
 javax.media.j3d.Material getMaterial(Atom a)
          get the material for atom a
 float getRadius(Atom a)
          get the radius for atom a
 float[] getRGBFloats(Atom a)
          get the R,G,B values (between 0.0f and 1.0f) of the color for atom a
 javax.media.j3d.Node getSharedAtomGroup(Atom a)
          DOCUMENT ME!
 javax.media.j3d.Node getSharedBondGroup(Atom a)
          DOCUMENT ME!
 int getStyle()
          What is the current rendering style ?
static RenderTable getTable()
          the accessor method for rthe instance of the RenderTable
 void setStyle(int style)
          Set the current rendering style
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STICK_RADIUS

public static float STICK_RADIUS
The Radius of the sticks


BALL_RADIUS

public static float BALL_RADIUS
The Radius of the balls int ball and stick mode

Method Detail

getTable

public static RenderTable getTable()
the accessor method for rthe instance of the RenderTable

Returns:
DOCUMENT ME!

getRadius

public float getRadius(Atom a)
get the radius for atom a

Parameters:
a - DOCUMENT ME!
Returns:
DOCUMENT ME!

getColor

public java.awt.Color getColor(Atom a)
Get the (awt)color for atom a

Parameters:
a - DOCUMENT ME!
Returns:
DOCUMENT ME!

getRGBFloats

public float[] getRGBFloats(Atom a)
get the R,G,B values (between 0.0f and 1.0f) of the color for atom a

Parameters:
a - DOCUMENT ME!
Returns:
DOCUMENT ME!

getMaterial

public javax.media.j3d.Material getMaterial(Atom a)
get the material for atom a

Parameters:
a - DOCUMENT ME!
Returns:
DOCUMENT ME!

setStyle

public void setStyle(int style)
Set the current rendering style

Parameters:
style - DOCUMENT ME!

getStyle

public int getStyle()
What is the current rendering style ?

Returns:
DOCUMENT ME!

getSharedAtomGroup

public javax.media.j3d.Node getSharedAtomGroup(Atom a)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
Returns:
DOCUMENT ME!

getSharedBondGroup

public javax.media.j3d.Node getSharedBondGroup(Atom a)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
Returns:
DOCUMENT ME!