of3d
Class OFClassifierDCM3DNoGradient

java.lang.Object
  |
  +--VolumeJ.VJClassifier
        |
        +--of3d.OFClassifier
              |
              +--of3d.OFClassifierScintillans
                    |
                    +--of3d.OFClassifierScintillansNoStatic
                          |
                          +--of3d.OFClassifierDCM3DNoGradient
Direct Known Subclasses:
OFClassifierDCM2DNoGradient

public class OFClassifierDCM3DNoGradient
extends OFClassifierScintillansNoStatic

This class implements a classification function of 3D optical flows that sets the color of a voxel to the 3D DCM color of the corresponding 3D flow vector. This classifier shows the static underlying volume. Copyright (c) 1999-2002, Michael Abramoff. All rights reserved.


Fields inherited from class of3d.OFClassifierScintillans
axes, fraction, rho, staticPixel
 
Fields inherited from class VolumeJ.VJClassifier
description, GRAYSCALE, RGB, secondaryClassifier
 
Constructor Summary
OFClassifierDCM3DNoGradient()
           
 
Method Summary
 VJAlphaColor alphacolor(FlowJValue value, VJGradient g)
          Classify a flow based on the flow vector, and whether or not a static voxel is present, into a VJAlphaColor.
 boolean doesIndex()
          Tell renderer whether this classifier can process indices in the voxel value.
 java.lang.String toString()
          Return a String with information of this classifier.
 
Methods inherited from class of3d.OFClassifierScintillansNoStatic
doesStatic
 
Methods inherited from class of3d.OFClassifierScintillans
alphacolorFlow, does, hasLUT, isStatic, setAxes, setFraction, setRho, setup, visible
 
Methods inherited from class of3d.OFClassifier
alphacolor, getThreshold
 
Methods inherited from class VolumeJ.VJClassifier
alphacolor, doesCutouts, getSecondaryClassifier, setLUT, setSecondaryClassifier, toLongString, trace
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OFClassifierDCM3DNoGradient

public OFClassifierDCM3DNoGradient()
Method Detail

toString

public java.lang.String toString()
Description copied from class: VJClassifier
Return a String with information of this classifier.
Overrides:
toString in class OFClassifierScintillansNoStatic

doesIndex

public boolean doesIndex()
Description copied from class: VJClassifier
Tell renderer whether this classifier can process indices in the voxel value.
Overrides:
doesIndex in class OFClassifierScintillansNoStatic

alphacolor

public VJAlphaColor alphacolor(FlowJValue value,
                               VJGradient g)
Classify a flow based on the flow vector, and whether or not a static voxel is present, into a VJAlphaColor. The magnitude of the vector influences the opacity of the color: the larger, the more opaque.
Overrides:
alphacolor in class OFClassifierScintillansNoStatic
Parameters:
value - a FlowJValue containing the flow vector, the index and the voxel value, if any.
g - a VJGradient containing the static volume gradient for that flow vector.