VolumeJ
Class VJClassifierLNoIndex

java.lang.Object
  |
  +--VolumeJ.VJClassifier
        |
        +--VolumeJ.VJClassifierLevoy
              |
              +--VolumeJ.VJClassifierLNoIndex

public class VJClassifierLNoIndex
extends VJClassifierLevoy

This class implements the Levoy tent classification function without indexing. Copyright (c) 1999-2002, Michael Abramoff. All rights reserved.


Fields inherited from class VolumeJ.VJClassifierLevoy
fractionMagnitude, lut, maskIndex, maskIntensity, maskMagnitude, maxIntensity, nrIndexBits, nrIntensityBits, nrMagnitudeBits, opacityTable, threshold, width
 
Fields inherited from class VolumeJ.VJClassifier
description, GRAYSCALE, RGB, secondaryClassifier
 
Constructor Summary
VJClassifierLNoIndex()
           
 
Method Summary
 VJAlphaColor alphacolor(VJValue v, VJGradient g)
          Classify the (interpolated) voxel value and gradient magnitude into a alpha and rgb-value.
 int does()
          Tell calling program that this classifier will return RGB values.
 boolean doesIndex()
          Tells renderer this classifier can process indices in the voxel values.
 java.lang.String toLongString()
          This method can be overloaded as necessary
 
Methods inherited from class VolumeJ.VJClassifierLevoy
alphacolor, defaultLUT, doesCutouts, getThreshold, hasLUT, opacityCompute, setLUT, setThreshold, setupOpacities, setWidth, toString, visible
 
Methods inherited from class VolumeJ.VJClassifier
getSecondaryClassifier, setSecondaryClassifier, trace
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VJClassifierLNoIndex

public VJClassifierLNoIndex()
Method Detail

does

public int does()
Description copied from class: VJClassifierLevoy
Tell calling program that this classifier will return RGB values.
Overrides:
does in class VJClassifierLevoy

doesIndex

public boolean doesIndex()
Description copied from class: VJClassifierLevoy
Tells renderer this classifier can process indices in the voxel values.
Overrides:
doesIndex in class VJClassifierLevoy

toLongString

public java.lang.String toLongString()
Description copied from class: VJClassifier
This method can be overloaded as necessary
Overrides:
toLongString in class VJClassifierLevoy

alphacolor

public VJAlphaColor alphacolor(VJValue v,
                               VJGradient g)
Description copied from class: VJClassifierLevoy
Classify the (interpolated) voxel value and gradient magnitude into a alpha and rgb-value. If the voxel is RGB, use the hue and saturation of the voxel, and set the opacity from the opacity table.
Overrides:
alphacolor in class VJClassifierLevoy
Following copied from class: VolumeJ.VJClassifierLevoy
Parameters:
v - the VJValue, the interpolated value at this location.
g - the gradient at this location