org.primordion.cellontro.io.vrml
Class VrmlColorCell

java.lang.Object
  extended byorg.primordion.xholon.io.vrml.AbstractVrmlColor
      extended byorg.primordion.cellontro.io.vrml.VrmlColorCell
All Implemented Interfaces:
IVrmlColor

public class VrmlColorCell
extends AbstractVrmlColor
implements IVrmlColor

VRML VrmlColorCell.

Since:
0.1 (Created on Oct 27, 2005)
Author:
Ken Webb

Field Summary
static int SvTypeEnzyme
           
static int SvTypepHIndicator
           
static int SvTypeSmallMolecule
           
 
Fields inherited from interface org.primordion.xholon.io.vrml.IVrmlColor
MaxColorArraySize
 
Constructor Summary
VrmlColorCell()
           
 
Method Summary
 int fillColorArray(RGBTypeDouble[] colorArray, int numColors, int svType)
          Fill color array.
static void main(java.lang.String[] args)
          main - example of how to use this class
 
Methods inherited from class org.primordion.xholon.io.vrml.AbstractVrmlColor
convertHSVtoRGB, testVrmlColor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.primordion.xholon.io.vrml.IVrmlColor
convertHSVtoRGB
 

Field Detail

SvTypeSmallMolecule

public static final int SvTypeSmallMolecule
See Also:
Constant Field Values

SvTypeEnzyme

public static final int SvTypeEnzyme
See Also:
Constant Field Values

SvTypepHIndicator

public static final int SvTypepHIndicator
See Also:
Constant Field Values
Constructor Detail

VrmlColorCell

public VrmlColorCell()
Method Detail

fillColorArray

public int fillColorArray(RGBTypeDouble[] colorArray,
                          int numColors,
                          int svType)
Fill color array.

Specified by:
fillColorArray in interface IVrmlColor
Parameters:
colorArray - The array to be filled.
numColors - The number of colors to put in the array.
svType - The values placed in the array depend on whether is is for: small molecules, enzymes, or a pH indicator.
Returns:
0

main

public static void main(java.lang.String[] args)
main - example of how to use this class

Parameters:
args -