VolumeJ
Class VJOutlineShader

java.lang.Object
  |
  +--VolumeJ.VJShader
        |
        +--VolumeJ.VJOutlineShader

public class VJOutlineShader
extends VJShader

VJOutlineShader implements outline shading. See: Thevenaz, P, Unser, M, High-quality isosurface rendering with exact gradient. Copyright (c) 2001-2002, Transatlantic. All rights reserved.


Field Summary
protected  double no
          The outline exponent.
 
Fields inherited from class VolumeJ.VJShader
doBackface, light
 
Constructor Summary
VJOutlineShader()
          Create a new outline shader.
 
Method Summary
 VJShade getBackground()
           
 VJShade shade(VJGradient g)
          Outline shading method uses *normalized* gradient g.
 java.lang.String toString()
           
 
Methods inherited from class VolumeJ.VJShader
getLight, setBackface
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

no

protected double no
The outline exponent.
Constructor Detail

VJOutlineShader

public VJOutlineShader()
Create a new outline shader.
Method Detail

shade

public VJShade shade(VJGradient g)
Outline shading method uses *normalized* gradient g.
Overrides:
shade in class VJShader
Parameters:
g - the VJGradient containing the normalized gradients in x, y, and z dimensions.
Returns:
a VJShade containing the shade.

getBackground

public VJShade getBackground()
Overrides:
getBackground in class VJShader

toString

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