javax.media.j3d
Class TransparentRenderingInfo

java.lang.Object
  extended by javax.media.j3d.TransparentRenderingInfo
All Implemented Interfaces:
TransparencySortGeom

 class TransparentRenderingInfo
extends java.lang.Object
implements TransparencySortGeom


Field Summary
(package private)  GeometryAtom geometryAtom
           
(package private)  TransparentRenderingInfo next
           
(package private)  TransparentRenderingInfo prev
           
(package private)  RenderAtomListInfo rInfo
           
(package private)  RenderMolecule rm
           
(package private)  double zVal
           
 
Constructor Summary
TransparentRenderingInfo()
           
 
Method Summary
 double getDistanceSquared()
          Returns the distance squared of this object to the viewer.
 Geometry getGeometry()
          Returns the Geometry for this object.
 void getLocalToVWorld(Transform3D localToVW)
          Returns the LocalToVWorld transform for this object
 Shape3D getShape3D()
          Returns the Shape3D being rendered using this geometry.
(package private)  void render(Canvas3D cv)
           
(package private)  void sortRender(Canvas3D cv)
           
(package private)  boolean updateState(Canvas3D cv)
          update state before rendering transparent objects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rm

RenderMolecule rm

rInfo

RenderAtomListInfo rInfo

prev

TransparentRenderingInfo prev

next

TransparentRenderingInfo next

geometryAtom

GeometryAtom geometryAtom

zVal

double zVal
Constructor Detail

TransparentRenderingInfo

TransparentRenderingInfo()
Method Detail

updateState

boolean updateState(Canvas3D cv)
update state before rendering transparent objects


render

void render(Canvas3D cv)

sortRender

void sortRender(Canvas3D cv)

getDistanceSquared

public double getDistanceSquared()
Description copied from interface: TransparencySortGeom
Returns the distance squared of this object to the viewer.

Specified by:
getDistanceSquared in interface TransparencySortGeom
Returns:
distancesquared to viewer

getGeometry

public Geometry getGeometry()
Description copied from interface: TransparencySortGeom
Returns the Geometry for this object.

Specified by:
getGeometry in interface TransparencySortGeom
Returns:
geometry for this object

getLocalToVWorld

public void getLocalToVWorld(Transform3D localToVW)
Description copied from interface: TransparencySortGeom
Returns the LocalToVWorld transform for this object

Specified by:
getLocalToVWorld in interface TransparencySortGeom
Parameters:
localToVW - variable in which transform will be returned

getShape3D

public Shape3D getShape3D()
Description copied from interface: TransparencySortGeom
Returns the Shape3D being rendered using this geometry.

Specified by:
getShape3D in interface TransparencySortGeom
Returns:
the Shape3D being rendered using this geometry


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.