org.xith3d.render.preprocessing
Class ShapeAtom

java.lang.Object
  extended by org.xith3d.render.states.StateSortable
      extended by org.xith3d.render.preprocessing.RenderAtom<Node>
          extended by org.xith3d.render.preprocessing.ShadowAtom
              extended by org.xith3d.render.preprocessing.ShapeAtom

public class ShapeAtom
extends ShadowAtom

Atom for rendering a single Shape3D along with its geometry arrays.


Field Summary
static Appearance DEFAULT_APPEARANCE
           
 int lastComputedPolysCount
           
static int STATE_TYPE
           
 
Fields inherited from class org.xith3d.render.preprocessing.RenderAtom
translucent
 
Constructor Summary
ShapeAtom(Shape3D shape, OpenGLCapabilities glCaps)
           
 
Method Summary
 void updateStateUnits(Appearance app, OpenGLCapabilities glCaps)
           
 
Methods inherited from class org.xith3d.render.preprocessing.ShadowAtom
getPosition, updateLightsAndFogs
 
Methods inherited from class org.xith3d.render.preprocessing.RenderAtom
clearStateUnits, getClassification, getClipper, getCustomComparable, getDistanceToView, getNode, getNumStateUnits, getOrderedState, getScissorRect, getSortableStates, getSquaredDistanceToView, getStateId, getStateUnit, getStateUnits, getZValue, isTranslucent, setClassification, setCompareIndicators, updateStateMap, updateStateUnit
 
Methods inherited from class org.xith3d.render.states.StateSortable
getCachedStateId, getStateType, updateCachedStateId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_TYPE

public static final int STATE_TYPE
See Also:
Constant Field Values

DEFAULT_APPEARANCE

public static final Appearance DEFAULT_APPEARANCE

lastComputedPolysCount

public int lastComputedPolysCount
Constructor Detail

ShapeAtom

public ShapeAtom(Shape3D shape,
                 OpenGLCapabilities glCaps)
Parameters:
shape -
glCaps -
Method Detail

updateStateUnits

public void updateStateUnits(Appearance app,
                             OpenGLCapabilities glCaps)
Parameters:
app -
glCaps -