of3d
Class OFClassifierDCM2DNoGradient
java.lang.Object
|
+--VolumeJ.VJClassifier
|
+--of3d.OFClassifier
|
+--of3d.OFClassifierScintillans
|
+--of3d.OFClassifierScintillansNoStatic
|
+--of3d.OFClassifierDCM3DNoGradient
|
+--of3d.OFClassifierDCM2DNoGradient
- public class OFClassifierDCM2DNoGradient
- extends OFClassifierDCM3DNoGradient
This class implements dynamic color mapping, a 2D classification function
of 3D optical flows, displaying iso-shear surfaces.
Copyright (c) 1999-2002, Michael Abramoff. All rights reserved.
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 java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OFClassifierDCM2DNoGradient
public OFClassifierDCM2DNoGradient()
toString
public java.lang.String toString()
- Description copied from class:
VJClassifier
- Return a String with information of this classifier.
- Overrides:
toString
in class OFClassifierDCM3DNoGradient
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 OFClassifierDCM3DNoGradient
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 OFClassifierDCM3DNoGradient
- 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.
Submit a bug or feature
Copyright (c) 1997-2003 Michael Abramoff
Licensing available. All Rights Reserved.