VolumeJ
Class VJClassifierValue

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

public class VJClassifierValue
extends VJClassifierLevoy

This class implements a classification function on the voxel value only. 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
VJClassifierValue()
           
 
Method Summary
 VJAlphaColor alphacolor(VJValue v, VJGradient g)
          Classify the interpolated voxel value into a VJAlphaColor.
 boolean doesIndex()
          Tells renderer this classifier can process indices in the voxel values.
protected  double opacityCompute(double dfxi, double intensity, double threshold, double width)
          Compute opacity from intensity only.
 java.lang.String toLongString()
          This method can be overloaded as necessary
 
Methods inherited from class VolumeJ.VJClassifierLevoy
alphacolor, defaultLUT, does, 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

VJClassifierValue

public VJClassifierValue()
Method Detail

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

alphacolor

public VJAlphaColor alphacolor(VJValue v,
                               VJGradient g)
Classify the interpolated voxel value into a VJAlphaColor. Only the value is used.
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

toLongString

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

opacityCompute

protected double opacityCompute(double dfxi,
                                double intensity,
                                double threshold,
                                double width)
Compute opacity from intensity only.