VolumeJ
Class VJValueHSB

java.lang.Object
  |
  +--VolumeJ.VJValue
        |
        +--VolumeJ.VJValueHSB

public class VJValueHSB
extends VJValue

Contains an RGB volume voxel value in HSB format. Copyright (c) 2001-2002, Michael Abramoff. All rights reserved.


Field Summary
 float[] hsb
           
 
Fields inherited from class VolumeJ.VJValue
floatvalue, index, intvalue, k
 
Constructor Summary
VJValueHSB()
          Create a new VJValueHSB.
VJValueHSB(float hue, float saturation, float brightness)
          Create a new VJValueHSB with hue, saturation and brightness set.
 
Method Summary
 float getHue()
           
 float getSaturation()
           
 
Methods inherited from class VolumeJ.VJValue
get, getIndex, getIntValue, setIndex, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

hsb

public float[] hsb
Constructor Detail

VJValueHSB

public VJValueHSB()
Create a new VJValueHSB.

VJValueHSB

public VJValueHSB(float hue,
                  float saturation,
                  float brightness)
Create a new VJValueHSB with hue, saturation and brightness set.
Parameters:
hue - a float [0-1]
saturation - a float [0-1]
brightness - a float 0-255.
Method Detail

getHue

public float getHue()

getSaturation

public float getSaturation()