org.jscience.medicine.volumetric
Class AxisRenderer

java.lang.Object
  extended by org.jscience.medicine.volumetric.Renderer
      extended by org.jscience.medicine.volumetric.AxisRenderer
All Implemented Interfaces:
VolRendConstants
Direct Known Subclasses:
Axis2DRenderer, Axis3DRenderer

public abstract class AxisRenderer
extends Renderer
implements VolRendConstants

DOCUMENT ME!


Field Summary
 
Fields inherited from interface org.jscience.medicine.volumetric.VolRendConstants
BACK, FRONT, MINUS_X, MINUS_Y, MINUS_Z, PLUS_X, PLUS_Y, PLUS_Z, X_AXIS, Y_AXIS, Z_AXIS
 
Constructor Summary
AxisRenderer(javax.media.j3d.View view, Context context, Volume vol)
          Creates a new AxisRenderer 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
protected  void clearData()
          DOCUMENT ME!
protected  void clearGroup(javax.media.j3d.Node node)
          DOCUMENT ME!
 void eyePtChanged()
          DOCUMENT ME!
protected  javax.media.j3d.OrderedGroup getOrderedGroup()
          DOCUMENT ME!
protected  void setCoordsX()
          DOCUMENT ME!
protected  void setCoordsY()
          DOCUMENT ME!
protected  void setCoordsZ()
          DOCUMENT ME!
protected  void setCurCoordX(int i)
          DOCUMENT ME!
protected  void setCurCoordY(int i)
          DOCUMENT ME!
protected  void setCurCoordZ(int i)
          DOCUMENT ME!
protected  void setWhichChild()
          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

AxisRenderer

public AxisRenderer(javax.media.j3d.View view,
                    Context context,
                    Volume vol)
Creates a new AxisRenderer 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!

clearData

protected void clearData()
DOCUMENT ME!


clearGroup

protected void clearGroup(javax.media.j3d.Node node)
DOCUMENT ME!

Parameters:
node - DOCUMENT ME!

setCurCoordX

protected void setCurCoordX(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!

setCurCoordY

protected void setCurCoordY(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!

setCurCoordZ

protected void setCurCoordZ(int i)
DOCUMENT ME!

Parameters:
i - DOCUMENT ME!

setCoordsX

protected void setCoordsX()
DOCUMENT ME!


setCoordsY

protected void setCoordsY()
DOCUMENT ME!


setCoordsZ

protected void setCoordsZ()
DOCUMENT ME!


getOrderedGroup

protected javax.media.j3d.OrderedGroup getOrderedGroup()
DOCUMENT ME!

Returns:
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!

setWhichChild

protected void setWhichChild()
DOCUMENT ME!