|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.primordion.xholon.io.vrml.AbstractVrmlColor
VRML VrmlColor.
ColorSpace downloaded Dec 31, 2002 from: http://www.codeguru.com/dialog/ColorSpace.shtml
Author of convert routine: "This article was contributed by Rajiv Ramachandran."
The rest of this file is my code (KSW). Converted Oct 2005 from C++ to Java (KSW).
Converts RGB values to numbers between 0.0 and 1.0, for example:
White: 255 255 255 = 1.0 1.0 1.0
Black: 0 0 0 = 0.0 0.0 0.0
Field Summary |
Fields inherited from interface org.primordion.xholon.io.vrml.IVrmlColor |
MaxColorArraySize |
Constructor Summary | |
AbstractVrmlColor()
|
Method Summary | |
RGBTypeInt |
convertHSVtoRGB(HSVType hsv)
Convert from HSV to RGB color model. |
void |
testVrmlColor()
Test VrmlColor. |
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 |
fillColorArray |
Constructor Detail |
public AbstractVrmlColor()
Method Detail |
public RGBTypeInt convertHSVtoRGB(HSVType hsv)
convertHSVtoRGB
in interface IVrmlColor
hsv
- HSV colors.
public void testVrmlColor()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |