org.jscience.medicine.volumetric
Class SlicePlaneRenderer

java.lang.Object
  extended by org.jscience.medicine.volumetric.Renderer
      extended by org.jscience.medicine.volumetric.SlicePlaneRenderer
Direct Known Subclasses:
SlicePlane2DRenderer, SlicePlane3DRenderer

public abstract class SlicePlaneRenderer
extends Renderer

DOCUMENT ME!


Constructor Summary
SlicePlaneRenderer(javax.media.j3d.View view, Context context, Volume vol)
          Creates a new SlicePlaneRenderer object.
 
Method Summary
 void attach(javax.media.j3d.Group dynamicGroup, javax.media.j3d.Group staticGroup)
          DOCUMENT ME!
 double calcRenderSize(ScreenSizeCalculator screenSize, javax.media.j3d.Canvas3D canvas)
          Returns the number of pixels drawn in the current display
 void eyePtChanged()
          DOCUMENT ME!
abstract  void update()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.medicine.volumetric.Renderer
transformChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlicePlaneRenderer

public SlicePlaneRenderer(javax.media.j3d.View view,
                          Context context,
                          Volume vol)
Creates a new SlicePlaneRenderer object.

Parameters:
view - DOCUMENT ME!
context - DOCUMENT ME!
vol - DOCUMENT ME!
Method Detail

attach

public void attach(javax.media.j3d.Group dynamicGroup,
                   javax.media.j3d.Group staticGroup)
DOCUMENT ME!

Specified by:
attach in class Renderer
Parameters:
dynamicGroup - DOCUMENT ME!
staticGroup - DOCUMENT ME!

update

public abstract void update()
DOCUMENT ME!


eyePtChanged

public void eyePtChanged()
DOCUMENT ME!

Overrides:
eyePtChanged in class Renderer

calcRenderSize

public double calcRenderSize(ScreenSizeCalculator screenSize,
                             javax.media.j3d.Canvas3D canvas)
Returns the number of pixels drawn in the current display

Specified by:
calcRenderSize in class Renderer
Parameters:
screenSize - DOCUMENT ME!
canvas - DOCUMENT ME!
Returns:
DOCUMENT ME!