VolumeJ
Class VJrgbValue

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

public class VJrgbValue
extends VJValue

VJrgbValue. Contains a rgb value plus an index. This is a more object oriented way of passing interpolated voxel values around than &-ing them into an int. Copyright (c) 2001-2002, Michael Abramoff. All rights reserved.


Field Summary
 int b
           
 int g
           
 int r
           
 
Fields inherited from class VolumeJ.VJValue
floatvalue, index, intvalue, k
 
Constructor Summary
VJrgbValue()
           
VJrgbValue(int r, int g, int b, int index)
          Create a new VJrgbValue.
 
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

r

public int r

g

public int g

b

public int b
Constructor Detail

VJrgbValue

public VJrgbValue()

VJrgbValue

public VJrgbValue(int r,
                  int g,
                  int b,
                  int index)
Create a new VJrgbValue.
Parameters:
r,g,b - int for R,G and B
index - an int serving as the index value.