VolumeJ
Class VJValue

java.lang.Object
  |
  +--VolumeJ.VJValue
Direct Known Subclasses:
FlowJValue, VJrgbValue, VJValueHSB

public class VJValue
extends java.lang.Object

VJValue. Contains a voxel value intended to be rendered, which may be int, float or vector etc. This is a more polymorphic way of passing interpolated voxel values around than &-ing them into an int or using ad hoc float vectors. Copyright (c) 2001-2002, Michael Abramoff. All rights reserved.


Field Summary
 float floatvalue
           
 int index
           
 int intvalue
           
 int k
           
 
Constructor Summary
VJValue()
           
VJValue(float fl)
           
VJValue(VJValue value)
           
 
Method Summary
 float get()
           
 int getIndex()
           
 int getIntValue()
           
 void setIndex(int index)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

intvalue

public int intvalue

floatvalue

public float floatvalue

index

public int index

k

public int k
Constructor Detail

VJValue

public VJValue()

VJValue

public VJValue(VJValue value)

VJValue

public VJValue(float fl)
Method Detail

setIndex

public void setIndex(int index)

getIndex

public int getIndex()

getIntValue

public int getIntValue()

get

public float get()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object